Page 1 of 1

Upgrade-instructions makes me wonder

Posted: Tue May 20, 2014 8:16 am
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.

Re: Upgrade-instructions makes me wonder

Posted: Tue May 20, 2014 8:36 am
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).

Re: Upgrade-instructions makes me wonder

Posted: Tue May 20, 2014 9:22 am
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?

Re: Upgrade-instructions makes me wonder

Posted: Tue May 20, 2014 10:33 am
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

Re: Upgrade-instructions makes me wonder

Posted: Fri May 23, 2014 3:05 pm
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.