I have 2.2.15 Advanced (in order to put Core outside the web root, as suggested for security reasons).
My webspace provider is nagging me to upgrade to 2.4.3. They now provide Installatron, which will do automatic updates - but AFAICT only against the Standard distribution.
I would like to switch to Standard in order to take advantage of this (I would then protect Core using access restrictions instead of hiding it outside web root).
Can I just install a Standard distribution over the top of the existing Advanced one?
Are there any gotchas?
Which would be better/safer/easier: install 2.2.15 Standard and then upgrade to 2.4.3, or upgrade to 2.4.3 Advanced and then go over to Standard?
-
☆ A M B ☆
- 24,524 Posts
Install BobRay's UpgradeMODX. It will upgrade advanced installations. No need to sacrifice security for the sake of convenience.
http://bobsguides.com/upgrade-modx-package.html
-
☆ A M B ☆
- 24,524 Posts
However, to answer your question, no. You would lose all of your installed extras, the core/components and the core/packages folders, and your database may have some inconsistencies.
If you really wanted to do so, you would need to move the core folder back to the web root, then edit the three config.core.php files and the core/config/config.inc.php file, then delete the entire core/cache/ folder.
Thanks for this. I've successfully tested UpgradeMODX on my test installation. Now to find a suitable quiet time to backup the live site and do an upgrade ...