Problems using module manager after core upgrade

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.
Locked
naturelab
Forum Members
Forum Members
Posts: 169
Joined: Thu Oct 15, 2009 11:11 am

Problems using module manager after core upgrade

Post by naturelab »

Hi :-

I just upgraded the core from 2.2.5 > 2.2.9

I went to upgrade the individual modules and I get "The CMSMS core must be upgraded before this operation can succeed"

I cleared the cache

Same thing happened

I rolled back the core upgrade and did an incremental upgrade

Upgraded from 2.2.5 > 2.2.6

Same problem with the module manager

I have run out of ideas

Has anyone experienced this ?
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Problems using module manager after core upgrade

Post by DIGI3 »

Was this originally a 1.x site? I've had something similar happen in the past and it turned out to be an old version.php file lingering around.
Not getting the answer you need? CMSMS support options
naturelab
Forum Members
Forum Members
Posts: 169
Joined: Thu Oct 15, 2009 11:11 am

Re: Problems using module manager after core upgrade

Post by naturelab »

I can't see one.
Would it be in the top level directory ?
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Problems using module manager after core upgrade

Post by DIGI3 »

I think so, but you may want to scan for it.

Are all modules, including core, saying they need to be upgraded? Or just some third-party ones? If it's the former, it means the upgrade didn't complete properly for some reason - possibly a bad third party module. If it's the latter, try deleting the moduleinfo.ini file in each module's folder.
Not getting the answer you need? CMSMS support options
naturelab
Forum Members
Forum Members
Posts: 169
Joined: Thu Oct 15, 2009 11:11 am

Re: Problems using module manager after core upgrade

Post by naturelab »

Hi :-
Thanks for getting back to me.

No, it is ALL modules.

I tried upgrading stuff like CGExtensions first, stuff that everything else depends upon, but it didn't work.

FYI, They are ALL CG Modules apart from Gallery, but they all give the same error message when I try and upgrade

I think the Core upgrade was OK. I used the checksum and the only things missing was language files.
naturelab
Forum Members
Forum Members
Posts: 169
Joined: Thu Oct 15, 2009 11:11 am

Re: Problems using module manager after core upgrade

Post by naturelab »

In ref to previous point.
I think I first installed at the end of 2015.
Would this make it a v.1 site ? Not sure
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Problems using module manager after core upgrade

Post by DIGI3 »

I do remember this happening around the time of 2.2.5, and I don't think there was a way to fix it post-upgrade. Reinstalling the modules won't help.

You might have to do some forum searching unless someone with a better memory than me can remember the fix. I seem to recall it was doing an incremental upgrade but from before 2.2.5, which may not be much help to you. There may be other options but not that I'm remembering.
Not getting the answer you need? CMSMS support options
naturelab
Forum Members
Forum Members
Posts: 169
Joined: Thu Oct 15, 2009 11:11 am

Re: Problems using module manager after core upgrade

Post by naturelab »

oh no ! That sounds pretty serious / drastic

Really disheartening.

What I thought was a 10 minute job to update some modules looks like a major issue.

Not really sure where to go from here
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Problems using module manager after core upgrade

Post by DIGI3 »

Wait, you said it's all CG modules, but originally said it was all modules. Are the CORE modules showing this symptom too? (Like AdminSearch, DesignManager, etc?)
Not getting the answer you need? CMSMS support options
naturelab
Forum Members
Forum Members
Posts: 169
Joined: Thu Oct 15, 2009 11:11 am

Re: Problems using module manager after core upgrade

Post by naturelab »

Screen Shot 2019-02-01 at 09.00.32.png
Yes, It is ALL modules.
What I was trying to say, is that I have only additionally installed CG Modules.

Screen attached
naturelab
Forum Members
Forum Members
Posts: 169
Joined: Thu Oct 15, 2009 11:11 am

Re: Problems using module manager after core upgrade

Post by naturelab »

UPDATE :-

I HAVE been able to update the modules now, but the module manager still shows INCORRECT information.

I was only able to update modules by going into the A-Z list of available modules and clicking 'Upgrade' from there.

The module manager info didn't change, although it now clearly states "0 Upgrades available"

If I click 'About' next to each module, it displays the correct version number ( see pic )

If I now click "upgrade' I get a "Nothing to do" message ( see pic )
Attachments
Screen Shot 2019-02-01 at 11.47.04.png
Screen Shot 2019-02-01 at 11.31.20.png
Screen Shot 2019-02-01 at 11.43.55.png
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Problems using module manager after core upgrade

Post by DIGI3 »

You can try deleting the moduleinfo.ini file within each module's folder, and perhaps doing a freshen install. I'm pretty sure this isn't solvable without going back to a known-good version then finding what's causing it during the upgrade though.
Not getting the answer you need? CMSMS support options
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm
Location: Nimbin, Australia

Re: Problems using module manager after core upgrade

Post by rotezecke »

if you have direct access to database, maybe check the [prefix]_version table. the one and only field reads: 202 for my 2.2.9 installation. Should you be game enough to change this number in database, you also must clear cache. (sort your tmp/cache files by size, and one of the smallest files will be the same version number - me thinks).
Also, the file lib/version.php should show the same number for CMS_SCHEMA_VERSION.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Problems using module manager after core upgrade

Post by DIGI3 »

I was upgrading a bunch of old sites over the past few days and ran into the same symptoms on some of them. There were a few different reasons, but ultimately it was the upgrade database step encountering an error, even though it allowed me to continue and seemed to finish fine.

I think you're going to need to go to your backup from before the upgrade and see if you can find out if something is not going right during the upgrade. Watch all of the messages, use debug mode, check logs, etc.
Not getting the answer you need? CMSMS support options
Locked

Return to “CMSMS Core”