Page 1 of 2

Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Wed Jun 04, 2014 8:39 am
by naturelab
I need to upgrade a site from CMSMS 1.9.4.3 > 10.1.

I am extremely nervous about this and could really use some 'hand-holding' / Idiot-proof step by step guide.

I have read the instructions here ( http://www.cmsmadesimple.org/2011/10/An ... mple-1-10/ )

BUT

I still have a few unresolved issues.

1) Step c, in the instructions above - " c: Upgrade all modules to the latest available version."

I CAN'T do this, because the module manager is broken ( which is the reason for upgrade -
I get

Code: Select all

SOAP Problem (http://modules.cmsmadesimple.org/soap.php?module=ModuleRepository): Response not of type text/xml
)

2) The file structure in 1.10 is different to 1.9.4.3 ( see screenshot ). In particular, the images folder location.

I have backed up the current site locally.
Should I completely delete all the files on the server, then upload all the 1.10 files ?
Then add my images to the correct directory ?
Then add my third party modules via FTP ?

Surely this is going to break horribly !

Thanks

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Wed Jun 04, 2014 8:53 am
by Jo Morg
Follow the steps listed here: http://docs.cmsmadesimple.org/upgrading/old-versions
Don't delete any files or folders at this point.
Make sure you have also a database backup!
Upload the CMSMS 1.10.3 files, not 1.10.1.
Check if all is working before upgrading to the latest 1.11 release.

Note: usually this should be done on a site duplicate, which would be moved back in place after a successful upgrade.

HTH

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Wed Jun 04, 2014 9:04 am
by naturelab
Thanks for the quick reply Jo.

I am still not getting it ! feel like I am going round in circles here.
On this page ( http://docs.cmsmadesimple.org/upgrading/old-versions )...

The first instruction is :-
Upgrade CMSMS to 1.10.3

Upgrade all third party modules through the Module Manager in the CMSMS Admin panel

Necessary follow-up actions and known issues

Some Admin themes (including the "default" theme) no longer work in CMSMS 1.11+, before upgrading change your admin theme to NCleanGrey
Before proceeding to upgrade to 1.11 read this post from Calguy.
His modules require PHP5.3+!
1) I CANT upgrade through the module manager, because it doesn't work !
2) I have set the admin theme to NCleanGrey
3) What next ?

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Wed Jun 04, 2014 9:12 am
by Jo Morg
Did you upgrade to 1.10.3 already?
naturelab wrote:1) I CANT upgrade through the module manager, because it doesn't work !
You should be able to upgrade the modules AFTER the CMSMS upgrade , but even if for some reason you still can't use Module Manager, you can always upload them manually, after getting the latest version of each from the forge. I don't think you will need to though, not after the 1.10.3 upgrade.

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Wed Jun 04, 2014 9:17 am
by naturelab
NO, haven't upgraded.

I have my existing site files on the server ( 1.9.4.3 ) and
my 1.10.3 files ( downloaded from the forge sitting locally on my mac )

What is the next step ? This is what I am unsure of

Upload and overwrite ?
Delete remote files and upload the new files ?
Something else ?

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Wed Jun 04, 2014 9:21 am
by Jo Morg
If you have a backup of both files and database already: upload and overwrite!
Point your browser to <cmsmadesimple folder>/install/upgrade.php and fire up the upgrade.

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Wed Jun 04, 2014 9:37 am
by naturelab
Thanks for your patience Jo! I will have a go later tonight.

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Wed Jun 04, 2014 11:39 am
by naturelab
One last thing ( sorry ) this might sound idiotic to you.

When I upload and overwrite, surely

Code: Select all

 uploads/images
on my existing site will be overwritten. At present, I have the gallery module installed, so

Code: Select all

 uploads/images/Gallery
will get overwritten.

Do I simply copy again this after I have uploaded he 1.10.3 files ?

Also, 1.10.3 does not have a

Code: Select all

 /images
folder.

Does that make sense ?

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Wed Jun 04, 2014 11:47 am
by Jo Morg
If there are two matching file/directory names, the uploaded one will overwrite the existing one, all else will be left untouched. There is no risk of disappearing files or folders that are not part of the upgrade process. That is why I told you to NOT delete the existing files. This is the same behavior as in any file copying process, in almost every Operating System I know of.

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Wed Jun 04, 2014 10:15 pm
by naturelab
OK, I tried it, but it didn't work.
I copied all the files up.

Went through the upgrade process, got to step 6 ( screenshot attached ) but I couldn't get to step 7.

When I looked at the site, I had nothing. Completely Blank screen.

I quit the browser / emptied browser cache. Refreshed / restarted.

Still a blank screen. No HTML at all.
Same with /admin.

Any ideas ?

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Thu Jun 05, 2014 11:19 am
by Jo Morg
Ok. You'll have to reverse the site to the backup (as you said you had done one). Post here your system info (which actually should have been the 1st thing I should have asked for).

Besides that:
  • - Never do the upgrades on the production site (as I hinted on a previous post);
  • - I seem to remember that I told you at some point (it seems like you had another thread about this problem) you could upgrade the modules manually, by uploading them and overwriting the original files (previous to the CMSMS upgrade). That might also work;
  • - Avoid if possible uploading files by ftp. Use an alternative method if possible;
  • - If that doesn't help you need to do some debugging;
  • - Additionally you may need to rename the folders of non core modules (by appending an underscore to the original name for instance), one at the time, and test if the error disappears each time (meaning there could be a misbehaving module);
  • - There is no foolproof process to upgrading (there are too many variables involved...);
If you lack the experience to do the upgrade yourself, you may consider asking for professional help, on the commercial help forum.
Usually an upgrade is relatively easy and straightforward, but there are exceptions...

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Fri Jun 06, 2014 8:33 am
by naturelab
Sorry for late reply.
Thanks for your continued to support on this.

I restored the database & site files to a previous backup, thing running as they were.

I did read your post ( re: not working on a production site ), but I don't know how to make a viable working clone of the site. I will ask my hosting company for help with that.

In terms of downloading the individual modules from the forge - Where would I download just the "Module manager" for CMSMS 1.9.4.3, apart from just downloading the core files and extracting from there ?


Renaming folders > Yeah I read about this method. I would definitely need to work on a backup for this, because the likely culprit is probably the AdvancedContent module ( and all of the pages use this )

Thanks

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Fri Jun 06, 2014 9:53 am
by Jo Morg
Jo Morg wrote:- I seem to remember that I told you at some point (it seems like you had another thread about this problem) you could upgrade the modules manually, by uploading them and overwriting the original files (previous to the CMSMS upgrade). That might also work;
Here: http://forum.cmsmadesimple.org/viewtopi ... =3&t=70344
Jo Morg wrote:Post here your system info (which actually should have been the 1st thing I should have asked for).
naturelab wrote:In terms of downloading the individual modules from the forge - Where would I download just the "Module manager" for CMSMS 1.9.4.3, apart from just downloading the core files and extracting from there ?
Unless specifically told to do so, DON'T UPGRADE CORE MODULES SEPARATELY: you may create a bigger problem than the one you are trying to solve. It doesn't even make sense, if you think that «the likely culprit is probably the AdvancedContent module», that is the module you should start to upgrade, not Module Manager.
Again, post System Info please.

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Fri Jun 06, 2014 10:00 am
by naturelab
Sorry ( again ) Jo.

I understand now. Upload the AdvancedContent module manualy separately first, then do full upgrade of CMSMS.

I thought you were talking about uploading core modules separately. ( my mistake )

My system info :-

Code: Select all


----------------------------------------------

Cms Version: [b]1.9.4.1[/b]

Installed Modules:

    CMSMailer: [b]2.0.1[/b]
    FileManager: [b]1.1.0[/b]
    MenuManager: [b]1.7.6[/b]
    ModuleManager: [b]1.4.2[/b]
    News: [b]2.11.2[/b]
    nuSOAP: [b]1.0.2[/b]
    Printing: [b]1.1.2[/b]
    Search: [b]1.6.10[/b]
    ThemeManager: [b]1.1.4[/b]
    TinyMCE: [b]2.8.4[/b]
    CGExtensions: [b]1.24.1[/b]
    CGSimpleSmarty: [b]1.4.8[/b]
    FormBuilder: [b]0.7[/b]
    Gallery: [b]1.4.4[/b]
    GBFilePicker: [b]1.3[/b]
    AdvancedContent: [b]0.7.2[/b]
    CGBlog: [b]1.7.2[/b]
    CGFeedMaker: [b]1.0.13[/b]


Config Information:

    php_memory_limit: [b][/b]
    process_whole_template: [b]false[/b]
    output_compression: [b]false[/b]
    max_upload_size: [b]10000000[/b]
    default_upload_permission: [b]664[/b]
    url_rewriting: [b]mod_rewrite[/b]
    page_extension: [b][/b]
    query_var: [b]page[/b]
    image_manipulation_prog: [b]GD[/b]
    auto_alias_content: [b]true[/b]
    locale: [b][/b]
    default_encoding: [b]utf-8[/b]
    admin_encoding: [b]utf-8[/b]
    set_names: [b]true[/b]


Php Information:

    phpversion: [b]5.3.28[/b]
    md5_function: [b]On[/b] (True)
    gd_version: [b]2[/b]
    tempnam_function: [b]On[/b] (True)
    magic_quotes_runtime: [b]Off[/b] (False)
    E_STRICT: [b]0[/b]
    E_DEPRECATED: [b]0[/b]
    memory_limit: [b]512M[/b]
    max_execution_time: [b]30[/b]
    output_buffering: [b]On[/b]
    safe_mode: [b]Off[/b] (False)
    file_uploads: [b]On[/b] (True)
    post_max_size: [b]8M[/b]
    upload_max_filesize: [b]20M[/b]
    session_save_path: [b]/tmp[/b] (1777)
    session_use_cookies: [b]On[/b] (True)
    xml_function: [b]On[/b] (True)


Server Information:

    Server Api: [b]cgi-fcgi[/b]
    Server Db Type: [b]MySQL (mysql)[/b]
    Server Db Version: [b]5.1.73[/b]


----------------------------------------------

Re: Help needed with FULL UPGRADE from CMSMS 1.9.4.3 > 10.1

Posted: Fri Jun 06, 2014 10:18 am
by Jo Morg
Ok, try to upgrade AdvancedContent separately then. All 3rd party modules have recent versions (and you have PHP 5.3.28 which is good)... except for nuSOAP, which after upgrading the core, shouldn't be needed no more, but shouldn't cause any difficulty either, afaik.