Upgrade from Mindst...
 
Notifications
Clear all

[Sticky] Upgrade from Mindstellar 5.x to OsclassPoint 8.x

14 Posts
4 Users
7 Reactions
284 Views
Maximus
(@maximus)
Posts: 57
Reputable Member
Topic starter
 

@johannes-de-sacrobosco Hi, we were able to upgrade fully from 5 to 8.

Not an easy task, the issue seems NOT to be in the database but in the upgrade code. We could probably create a new topic or even a forum about all that, i mean Osclasspoint releases.

A lot of people are using that release these days ....

 
Posted : October 7, 2022 11:41
Editor reacted
Editor
(@editor)
Posts: 553
Honorable Member Admin
 

@maximus Not sure a new forum about Osclasspoint is needed BUT i have added your account to the webmasters of this site private forum to discuss about it.

 
Posted : October 7, 2022 13:49
Editor
(@editor)
Posts: 553
Honorable Member Admin
 
Posted by: @maximus

@johannes-de-sacrobosco Hi, we were able to upgrade fully from 5 to 8.

Not an easy task, the issue seems NOT to be in the database but in the upgrade code.

This is good news, we are of cource interested since a lot of people ask for that.

 
Posted : October 7, 2022 13:51
dev666
(@dev666)
Posts: 16
Active Member
 
Posted by: @maximus

@johannes-de-sacrobosco Hi, we were able to upgrade fully from 5 to 8.

Not an easy task, the issue seems NOT to be in the database but in the upgrade code. We could probably create a new topic or even a forum about all that, i mean Osclasspoint releases.

A lot of people are using that release these days ....

So, can you please share what you did?

 
Posted : October 17, 2022 17:04
Maximus
(@maximus)
Posts: 57
Reputable Member
Topic starter
 

First  make a full backup, DB and all files, to an external site and your pc.

Download Osclasspoint version 4.2 and 8.x from

https://sourceforge.net/projects/osclass-by-osclasspoint/files/

and keep them unzipped.

Enabled Osclass DEBUG TO A LOG. Very Important, to see and fix any issues. Put this code in your Osclass config.php.

define('OSC_DEBUG', true) ;
define('OSC_DEBUG_LOG', true

Used Cpanel phpMyAdmin and edit the database directly to change the ADMIN THEME from "modern" to "omega".

table=oc_t_preference, admin_theme.

Switch Osclass 5 to Maintenance mode.

Use ftp to upload the Osclasspoint 4.2 version, overwriting files when needed.

Visit as admin the dashboard.

Check the LOCATIONS if ok, or empty.

IMPORTANT: MANUALLY browse as admin the following url:

www . yoursite . xx  /oc-admin/index.php?page=upgrade&action=upgrade-funcs

and WAIT UNTIL FINISHED.

Check the DEBUG.LOG for errors. There maybe some fatal or other. Depending on those you must act accordingly. No standard pattern.

Check again the LOCATIONS and their sub categories. Are they OK?

If so, go to Tools / Upgrade and update to 8.x

Check if the LOCATIONS are ok.

If not run again

www . yoursite . xx  /oc-admin/index.php?page=upgrade&action=upgrade-funcs

IF AT ANY STAGE YOU SEE FATAL ERROR IN DEBUG LOG (OR SOMETHING IS WRONG)

PHP Warning: require_once(/home/oc-admin/upgrade.php): failed to open stream: No such file or directory in /home/oc-admin/index.php on line ?147?

check if

oc-admin/upgrade.php

file exist. If not, upload the file from 4.2 or 8.x archive, depending on what stage you are in (at 4.2 or 8.x).

And run again

www . yoursite . xx  /oc-admin/index.php?page=upgrade&action=upgrade-funcs

At the end check again if LOCATIONS are ok. Because this is the only issue you may have. If you see NO locations, check debug.log and post in this forum the errors.

When finished and all are ok, delete via ftp /oc-admin and /oc-include folder and REUPLOAD them from the Osclass 8.x archive. That will remove old files and folders not needed from the 5.x version.

Disable maintenace mode. Check the debug log for 2-3 days and then DISABLE debug mode from Osclass and delete the debug.log file.

(edited by Editor, fixed some typos and some paths)

 
Posted : October 17, 2022 23:52
dev666 and Editor reacted
Maximus
(@maximus)
Posts: 57
Reputable Member
Topic starter
 

Some more information, since i was a bit in a hurry yesterday.

We had to do the whole procedure 2 times. I have no idea why the first time failed, no matter what. We were forced to restore the full backup and try again. The second time worked right.

Also after the update, we had to restore some plugins to their original files, since we did changed some in order to work with version 5.

Finally for 3 weeks now, we didn't have a single issue and also the debug log is empty. No errors at all.

The only thing i could mention is that Osclasspoint version is slightly slower that Mindstellar 5 version. A tiny bit.

 
Posted : October 18, 2022 14:23
dev666
(@dev666)
Posts: 16
Active Member
 

@maximus thanks for the information. I will try all that in my site, during the next weekend.

 
Posted : October 19, 2022 16:56
Page 1 / 2