[Solved]: Upgrade without loss [Solved]: Upgrade without loss
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Upgrade without loss

Started by Zerg, August 13, 2004, 08:04:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zerg

Hello.

I want to upgrade my Coppermine 1.1.1 Devel (intergrated with Invision Power Board 1.2 Final and with 'Hardwired' theme) to 1.3.1. Is this possible without losing any user albums, photos, member groups? If yes, how do I do this? What steps do I take?

p.s.
i've read the 1.3.1 manual - 3.2 Upgrading from releases of version 1.1 - but there isn't much.

Casper

the fact that yours is a devel version (that is pre-release) is the only thing that causes worry.

Make a database dump, and a backup copy of all your current files.  Edit the new bridge file and include/init.inc.php.

Then overwrite the files on your install, with the new ones.  Make sure your include/config.inc.php and install.lock is still there.

One thing the docs do miss with the 1.1 upgrade, you must now create a new folder inside the albums folder, named 'edit', and chmodd to the same.

Now browse to yoursite.com/upgrade.php.  That should be it, no loss of anything.

BUT, as yours is a devel version, I cannot be 100%, so if it does go wrong, restore your old files and use the dump to return the database to original.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Zerg

#2
QuoteNow browse to yoursite.com/upgrade.php
you mean, "update.php"..

and, i take it i won't have to (re-)apply my own theme to the gallery again.. or will i?

Joachim Müller

Yes, Casper meant "update.php".
Themes designed for cpg1.1.x will not work with cpg1.3.x, but you can ugrade your theme as well. Take a look into the docs folder that comes with the cpg1.3.1 package, there's a file "theme.htm" in it that explains how to convert your custom theme to make it work with cpg1.3.x

GauGau

Zerg

well, i use modified hardwired theme and i noticed it in 1.3.1 archive package as well. so i guess i'll be able to apply it to my gallery again.

and don't close this topic just yet!.. i'm still figuring out how to make that "database dump".. ;D when/if i reach some result, i'll post a message here.

Joachim Müller


Zerg

thanks for the docs link.

i can't seem to find "install.lock". is it vital?

kegobeer

install.lock isn't in the distro.  It's created after you install/upgrade Coppermine.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Zerg

#8
that's why i'm asking if it's vital (to update gallery without it being present). i dont seem to have it. must have deleted it after install..

kegobeer

I don't think 1.1x versions used install.lock.  You won't have any problems.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Zerg

done everything like said here. help?..

QuoteNotice: Undefined index: upload_form_config in /home/domains/####/www/htdocs/gallery/bridge/invisionboard.inc.php on line 143

Notice: Undefined index: custom_user_upload in /home/domains/####/www/htdocs/gallery/bridge/invisionboard.inc.php on line 144

Notice: Undefined index: num_file_upload in /home/domains/####/www/htdocs/gallery/bridge/invisionboard.inc.php on line 145

Notice: Undefined index: num_URI_upload in /home/domains/####/www/htdocs/gallery/bridge/invisionboard.inc.php on line 146

Joachim Müller

did you replace your bridge file as well? You have to replace all older files with those from the package. Back up your old stuff first.
If you don't have a file install.lock, delete the file install.php from the coppermine root dir to make sure nobody runs the install script again and messes up your coppermine install.

GauGau

Zerg

yes, i replaced new and updated with my access parameters bridge file as well. i replaced all older files as well.
i dont have install.lock and i deleted install.php right away after the update. and after all that i received what i quoted earlier..

update process went successfuly though. i that error stuff appeared afterwards.

hmm.. guess there's no help available for this.

how exactly do i restore my database with phpmyadmin (2.5.1)?

Joachim Müller

did you switch debug_mode off in coppermine config? The notices should go away then.
Don't give up yet with the upgrade process!
Help for phpMyAdmin can be obtained from the phpMyAdmin manual that comes with the distro, or take a look at the FAQ: http://www.phpmyadmin.net/documentation/#faqusing .

GauGau

Zerg

Quote from: GauGau on August 16, 2004, 08:04:41 AM
did you switch debug_mode off in coppermine config? The notices should go away then.
Don't give up yet with the upgrade process!
before or after the upgrade? either way i didn't switch that.. and it was OFF before the upgrade.
and when i logged out of admin mode it kept only showing me "there was error processing database query" or smth, with big letters.

if you're interested, i'm willing to provide you with login and password of my domain as well as mySQL parametres so you could look/try for yourself (carefully not deleting anything though). i'd be grateful if you succeed upgrading it..

Joachim Müller

Post a link to your page for a start.

GauGau

Zerg

#16
the site is http://www.industry.ee/, gallery is http://www.industry.ee/gallery/. although i restored it to it's original state, so you won't see much there. plus, it's closed to unregistered users.. ::)

i can try to "upgrade" it again, so you could see the errors.. or you can try upgrading it yourself, doing it the best way possible.

Joachim Müller

well, if you don't let me see it, then I can't help you. I will not do the upgrade for you. If you have a closed gallery and request support, you will have to set up a test user and post the account data here (you can disbale the user once the issue has been fixed).
I'm sorry you gave up so soon, without even giving me the chance to look into this, it's a pity I wasted hal the morning trying to help you best I could.

GauGau

Zerg

well, i didn't know i will be receiving help that soon and i wanted my gallery to function properly..

but ok, i've done the upgrade process again, which ran smooth. but the result is the same again. pls check and see if you can help.
waiting for your reply.

Zerg

#19
GauGau, where are you?.. :\'(

:)