Upgrade-instructions makes me wonder

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
hejamartin
New Member
New Member
Posts: 6
Joined: Mon May 19, 2014 3:20 pm

Upgrade-instructions makes me wonder

Post by hejamartin »

Hi everyone.

I have stumpled upon a new client that uses CMSMS 1.8.2, and of course I am eager to upgrade.

I have downloaded the latest, but it says I should REPLACE all folders on my FTP, and then go to /install/upgrade.php

This is fine, BUT. I can see that in my clients "upload"-folder there are tons of media files.

Is it so that I should "merge" the upload folder? Or how is it supposed to be?

Thanks.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Upgrade-instructions makes me wonder

Post by velden »

Don't worry.

Though make backup of files AND database before upgrade!

During the copy of the new files it will - of course - only overwrite (replace) files that are in the CMSMS install by default and on your webserver.

It will NOT remove the files clients have uploaded, you used for templating etc. etc.

However, you should not have modified any 'core' files or files of third party modules (mainly .php files). That would be bad practice anyway and is not supported (of course).
hejamartin
New Member
New Member
Posts: 6
Joined: Mon May 19, 2014 3:20 pm

Re: Upgrade-instructions makes me wonder

Post by hejamartin »

I got the backup of all files and database. I have reverted once already since I made my upgrade through "/install/" instead of "/install/upgrade.php". Love a good backup ;)

I believe that my application, Transmit FTP asks me if I want to "Merge" or "Overwrite" files.

In my case, choosing overwrite, the "uploads" folder is replacing all my existing files inside that folder.

I know that Windows and Mac does different things when overwrwiting as well.

My fear would be that my previous install of 1.8.2 would leave alot of deprecated files if just making the "merge" option in my FTP.

Is it only the "uploads" folder that can usually contain client-specific files, rest of the folders are core and modules, which does not hold any client specific files?

I was looking alot for the template files for the custom frontend theme for my client. But that seems only to be existing in the admin/database?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Upgrade-instructions makes me wonder

Post by Jo Morg »

hejamartin wrote:In my case, choosing overwrite, the "uploads" folder is replacing all my existing files inside that folder.
Overwrite should be the correct procedure. It shouldn't delete any files not existing in the upgrade list of files, and completely replace the old ones with the original ones. As long as you have backed up both files and database, you should be fine.
hejamartin wrote:I was looking alot for the template files for the custom frontend theme for my client. But that seems only to be existing in the admin/database?
That's correct but the upgrade process won't delete database contents. In any case a backup would give you some safe harbor in case anything goes wrong.
http://docs.cmsmadesimple.org/upgrading ... nformation
http://docs.cmsmadesimple.org/upgrading/old-versions
HTH
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Upgrade-instructions makes me wonder

Post by paulbaker »

hejamartin wrote:I got the backup of all files and database. I have reverted once already since I made my upgrade through "/install/" instead of "/install/upgrade.php". Love a good backup ;)
Been there. Done that. ;)

CMSMS 2.0 (in Beta test now) won't let us make that mistake again.

Upgrading from your very old version to the latest (1.11.10) is a long job. If your site is very simple with only a small handful of pages and no modules, consider just creating a new website (fresh install of CMSMS) and copying over the contents of the pages.
Locked

Return to “[locked] Installation, Setup and Upgrade”