Skip Navigation

[Resuelto] wp-cli does not know about updates for Types

This support ticket is created hace 5 años, 11 meses. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Etiquetado: 

Este tema contiene 9 respuestas, tiene 4 mensajes.

Última actualización por Nigel hace 5 años, 9 meses.

Asistido por: Nigel.

Autor
Mensajes
#1171234

DM

I am trying to:
Use wp-cli to manage my WordPress websites, including detecting and installing updates.

Link to a page where the issue can be seen:
None.

I expected to see:
When I run this: wp plugin list

I expect to see an update available for types (3.1.2 => 3.2.3).

Instead, I got:
It showed that types was installed, but no update available. I do have this install registered and if I go into the commercial tab for plugins I can see an update available, but I need to automate this across all my sites.

wp plugin list
+--------------------------------+----------+-----------+---------+
| name                           | status   | update    | version |
+--------------------------------+----------+-----------+---------+
| akismet                        | inactive | none      | 4.1     |
| classic-editor                 | active   | none      | 1.3     |
| duo-wordpress                  | active   | none      | 2.5.4   |
| types                          | active   | none      | 3.1.2   |
| wp-mail-smtp                   | active   | none      | 1.4.1   |
| wp-migrate-db-pro              | active   | none      | 1.9.2   |
| wp-migrate-db-pro-cli          | active   | none      | 1.3.4   |
| wp-migrate-db-pro-media-files  | active   | none      | 1.4.12  |
| wordpress-seo                  | active   | none      | 9.3     |
+--------------------------------+----------+-----------+---------+
#1171240

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Hi Damon

This is known to us, we have an internal ticket about it.

It has been dormant for some time, but was updated (though not solved) just a week ago, so it may get some attention.

I'm commenting on it now to add this thread to demonstrate that it is requested by clients (it was initially reported internally).

I can't say as to when support might be added, but I'll leave this thread escalated and update you if there is news.

#1171242

DM

Thanks Nigel, having wp-cli support would be a huge help as every other plugin I have supports it. This makes it so much easier to manage my 20 sites. Having one plugin that doesn't support it throws a kink into the whole process...I'll keep my fingers crossed.

#1186693

DM

Just checking in to see if there were any updates on this one. I'm about to build a new website and I have to decide on whether to use Types or just add the custom post types by hand, this one is kind of a deal breaker.

#1186726

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

The issue has been fixed in the installer code, so it will become available with the next Types update (which I think is likely the week after next, when there will be updates for several plugins at once).

You will still need to manually install and register the plugins initially, but once you have you should be able to use wp-cli to update them.

#1186730

DM

That's awesome, can't wait!

#1189945

I'm looking forward to it as well. I reported the issue myself in the community forum back in 2017:

https://toolset.com/forums/topic/update-registered-plugins-via-wp-cli/

Thanks for addressing it.

#1197203
No WP-CLI maps forms and access.PNG

Hi, have just had to update Access, Maps and Forms manually (via wp-admin/plugins.php, they were not recognised by WP-CLI ) are they scheduled to get the new installer?

Thanks,

D

#1197209

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Installer is part of Types, and with the next Types release the installer update should mean you can update Toolset plugins (on registered sites) using wp-cli.

There will be a joint release of Types, Views and Forms when QA testing on Forms completes. I'm hopeful that will be next week.

When it does you might want to update only Types first, to get the new installer, and then see if you can update Forms and Views via wp-cli.

#1206071

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Just a quick update to say that this should be working in the most recent update of Types.

If you find any problems, let me know.