forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 upgrading => Topic started by: bibendum on September 23, 2021, 07:14:51 pm

Title: How to Upgrade from 1.4.21 to 1.6.3
Post by: bibendum on September 23, 2021, 07:14:51 pm
Hi
I would like to upgrade my coppermine gallery.
I just need to tranfert all files from archive to my server directory ?
What will happen with all my albums from members in the directory ?
What files must i keep ?
It will update SQL automaticly ?
My gallery was running with php 4.4 server, now the php server is at 7.2 version
Thanks for your help
Laurent


 
Title: Re: How to Upgrade from 1.4.21 to 1.6.3
Post by: phill104 on September 23, 2021, 07:38:59 pm
You have a bit of a challenge on your hands.

First you need to take a backup of both your sql database and your gallery files. That should be the easy part.

You then have to update in steps from your current version  via 5.x to the latest version. That is where the challenge begins as you are now on a late version of PHP. So somehow you need to be able to run an earlier version to do the upgrade. That can be done locally using WAMP or similar, working on your backup rather than your live data to do so. If you are totally struggling to do this then I will see if I can help.
Title: Re: How to Upgrade from 1.4.21 to 1.6.3
Post by: bibendum on September 23, 2021, 08:05:22 pm
Hi
I can change the PHP versions on my server.
You mean i must put php ver 5.x and update to 1.6.3 ?
i can update copermine 1.4.21 to 1.6.3 directly or must i use differente version before ?
Thanks

Title: Re: How to Upgrade from 1.4.21 to 1.6.3
Post by: phill104 on September 23, 2021, 09:12:44 pm
You must go via 1.5.x first
Title: Re: How to Upgrade from 1.4.21 to 1.6.3
Post by: bibendum on September 24, 2021, 06:26:23 am
Hi
So at the first 1.4.x to 1.5.x than 1.5 to 1.6. ?
For PhP, wich version must i use for the first update and for the second ?
Thanks
Title: Re: How to Upgrade from 1.4.21 to 1.6.3
Post by: bibendum on September 24, 2021, 05:20:04 pm
Hi

I've tried 1.4.21 to 1.5.x, the installer don't want to use my old sql database, so how can i get my old data from sql database ???

Thanks
Title: Re: How to Upgrade from 1.4.21 to 1.6.3
Post by: ron4mac on September 24, 2021, 07:06:10 pm
You don't use the installer...

https://coppermine-gallery.net/demo/cpg15x/docs/fr/upgrading.htm#upgrade_any
https://coppermine-gallery.net/demo/cpg15x/docs/fr/upgrading.htm#upgrade_14
Title: Re: How to Upgrade from 1.4.21 to 1.6.3
Post by: bibendum on September 24, 2021, 07:40:06 pm
The update.php ?
Yes i've done it.
I'd needed to put php in 5.5 to execute the script
Now i've this error message : Coppermine critical error:
The group table does not contain the Anonymous group !
So
 
Title: Re: How to Upgrade from 1.4.21 to 1.6.3
Post by: ron4mac on September 25, 2021, 02:04:07 pm
Is the gallery on your own server or in a hosting account?

If you will send me a private message (PM) with the information and credentials I would need to access your gallery server, I will try to help you upgrade to the latest CPG (1.6.13).
Title: Re: How to Upgrade from 1.4.21 to 1.6.3
Post by: bibendum on September 25, 2021, 02:12:58 pm
It's on hosting server !!!