revolution icon indicating copy to clipboard operation
revolution copied to clipboard

In-manager core updates

Open xxxmicrobexxx opened this issue 13 years ago • 10 comments

xxxmicrobexxx created Redmine issue ID 7616

While the update process is fairly painless, to have to do it on every modx site I have built would be a +major+ chore.

How about some sort of wordpress-like update option from within the admin area?

xxxmicrobexxx avatar Apr 16 '12 08:04 xxxmicrobexxx

while not part of the core, one was demoed at MODXpo

also, i believe /latest support is being added to the API, making it easier to write automatic update scripts

jpdevries avatar Feb 05 '14 06:02 jpdevries

I agree this would be an invaluable feature for the core.

Related to #7789

adamwintle avatar May 19 '14 17:05 adamwintle

+1 for this very old feature request!

gadgetto avatar Jul 30 '14 14:07 gadgetto

Is it still actual according to already existing extras for upgrade MODX?

alroniks avatar Feb 09 '17 20:02 alroniks

BobRay's Updater dashboard widget does a great job on the vast majority of sites, but every now and then some server/PHP/database variation causes problems.

ghost avatar Feb 09 '17 20:02 ghost

Hi @BobRay I've read your message and I am asking if it possible to collaborate with you and integrate your package (maybe with some modifications) into the core of MODX 3? :)

alroniks avatar Jul 26 '18 14:07 alroniks

Hi @Alronics,

Absolutely -- thanks for asking.

I'm working on a new version that operates entirely within the Manager until it's time to launch setup. It should be quite easy to integrate it into the core for MODX 3, since it's just another widget. We should probably find somewhere else to discuss this.

Two quick questions:

  1. I was told at one time that the list of MODX versions, with download links for them at AWS, would be available via SOAP or a Rest service. Has this been implemented? It would be really nice not to have to get them from the tag list at GitHub where users can be shut off by the rate limit.

  2. Is it really necessary to log out users before running setup? If not, it might be possible to run Setup from inside the Manager as well. I don't thing there's be a need to answer Setup's questions for an upgrade.

BobRay avatar Jul 27 '18 03:07 BobRay

About 1 - yes, GitHub limits may block upgrade process in this case, but it was the first my idea where to get a list of releases :) But, in gitify I used fetching of modx.com website to get the latest version. It spends time for connecting and redirects, but works. But REST-endpoint would the best solution.

2 - I've never logged out users during the upgrade, so I think it can be safely done from the manager.

alroniks avatar Jul 27 '18 06:07 alroniks

It should be checked, that all files could be overwritten before starting the update. I had some issues with not updated script files lately for whatever reason.

Jako avatar Jul 27 '18 06:07 Jako

I vaguely remember seeing a strongly worded post from OpenGeek somewhere saying that it was very important to log out the Admin before running Setup, so you might want to check with him. I'm pretty sure I've forgotten to do that a few times without it causing trouble, though.

The REST endpoint would be great, especially if it sorted with versionCompare() before sending the list (I think there is code for that in UpgradeMODX if you need it).

Also, UGM presents a version list so people can select the version to upgrade to.

BobRay avatar Jul 28 '18 23:07 BobRay