2.2.16 update after migrating new host

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
pierrepercee
Forum Members
Forum Members
Posts: 164
Joined: Thu Jan 10, 2013 8:02 am

2.2.16 update after migrating new host

Post by pierrepercee »

Hello,

I migrate a site to a new host without any difficulty. After migrating i want to update to 2.2.16. (from 2.2.15)
unfortunately during the migration process I indicate the folder in which cmsms is installed but it tells me that it cannot find a cmsms installation. On the other hand, it shows me some files contained in this directory.
I checked the system info, everything seems ok.
I tried a very minimalistic htaccess...
I entered root_url, root_path in my config.php file
I obviously cleared the cache several times and tried with the expanded version....
Note with the classic installer, the style sheet of the installer is not loaded whereas it is with the expanded versions
So I tested the update on my first hosting. It works perfectly. The problem is that I updated a lot of data on the new hosting :-\ (about 7 hours of work)...
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1800
Joined: Wed Feb 25, 2009 4:25 am

Re: 2.2.16 update after migrating new host

Post by DIGI3 »

It's hard to tell with so little information, but here's a few ideas:
-check the PHP version, and perhaps try a different one (e.g. if it's 8.0, try 7.4)
-make sure mod_security is disabled (you may have to ask the host if it's not on your control panel)
-try a freshen install with the 2.2.15 installer first
-temporarily disable any antivirus software on the server
-check ownership and permissions for all files
-make sure the cache is actually clear (delete files in the file system, rather than just the admin cache clear)
Not getting the answer you need? CMSMS support options
pierrepercee
Forum Members
Forum Members
Posts: 164
Joined: Thu Jan 10, 2013 8:02 am

Re: 2.2.16 update after migrating new host

Post by pierrepercee »

Hello Digi3,

Thanks.
No mode security...
PHP 7.4 on 2 host
I always clean cache via ftp...

Make a research in database and find absolut path in my template reffering old host : corrected

Do you know how the install directory is tested to know if it contains an old cmsms install ?
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1800
Joined: Wed Feb 25, 2009 4:25 am

Re: 2.2.16 update after migrating new host

Post by DIGI3 »

I think it's looking in /lib/version.php but I'm not 100% sure. I've asked JoMorg, will update if he advises otherwise.

Did the 2.2.15 freshen succeed, or same issue?
Not getting the answer you need? CMSMS support options
pierrepercee
Forum Members
Forum Members
Posts: 164
Joined: Thu Jan 10, 2013 8:02 am

Re: 2.2.16 update after migrating new host

Post by pierrepercee »

Many thanks,

OK, I found it!
In step 2 of the installation the folders / files searched to find an old installation are:
moduless
version.php
include.php
config.php
moduleinterface.php
moduleinterface.php was missing.

It's nice to finish a migration at 2:00 a.m., but, maybe...

Sorry for my poor brain...

Thanks again Digi3
Post Reply

Return to “CMSMS Core”