revolution
revolution copied to clipboard
In-manager core updates
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?
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
I agree this would be an invaluable feature for the core.
Related to #7789
+1 for this very old feature request!
Is it still actual according to already existing extras for upgrade MODX?
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.
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? :)
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:
-
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.
-
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.
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.
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.
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.