Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1] 2   Go Down

Author Topic: [Solved]: Upgrade without loss  (Read 9947 times)

0 Members and 1 Guest are viewing this topic.

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
[Solved]: Upgrade without loss
« on: August 13, 2004, 08:04:00 pm »

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.
« Last Edit: August 17, 2004, 08:54:14 am by GauGau »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Upgrade without loss
« Reply #1 on: August 13, 2004, 08:36:34 pm »

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.
Logged
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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #2 on: August 14, 2004, 06:16:26 am »

Quote
Now 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?
« Last Edit: August 14, 2004, 06:21:28 am by Sotsirh »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade without loss
« Reply #3 on: August 14, 2004, 04:02:56 pm »

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
Logged

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #4 on: August 14, 2004, 04:39:27 pm »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade without loss
« Reply #5 on: August 14, 2004, 09:31:36 pm »

http://coppermine.sourceforge.net/faq.php#BackupDatabase
For details, refer to the phpMyAdmin manual.

GauGau
Logged

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #6 on: August 15, 2004, 04:35:44 pm »

thanks for the docs link.

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

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Upgrade without loss
« Reply #7 on: August 15, 2004, 05:23:54 pm »

install.lock isn't in the distro.  It's created after you install/upgrade Coppermine.
Logged
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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #8 on: August 15, 2004, 05:37:37 pm »

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..
« Last Edit: August 15, 2004, 06:01:22 pm by Sotsirh »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Upgrade without loss
« Reply #9 on: August 15, 2004, 08:50:20 pm »

I don't think 1.1x versions used install.lock.  You won't have any problems.
Logged
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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #10 on: August 16, 2004, 07:26:09 am »

done everything like said here. help?..

Quote
Notice: 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade without loss
« Reply #11 on: August 16, 2004, 07:39:36 am »

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
Logged

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #12 on: August 16, 2004, 07:45:10 am »

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)?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade without loss
« Reply #13 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!
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
Logged

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #14 on: August 16, 2004, 08:20:00 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..
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade without loss
« Reply #15 on: August 16, 2004, 08:26:22 am »

Post a link to your page for a start.

GauGau
Logged

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #16 on: August 16, 2004, 08:30:51 am »

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.
« Last Edit: August 16, 2004, 08:37:11 am by Sotsirh »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade without loss
« Reply #17 on: August 16, 2004, 08:53:01 am »

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
Logged

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #18 on: August 16, 2004, 02:30:02 pm »

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.
Logged

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Re: Upgrade without loss
« Reply #19 on: August 16, 2004, 06:07:11 pm »

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

 :)
« Last Edit: August 16, 2004, 06:26:15 pm by Sotsirh »
Logged
Pages: [1] 2   Go Up
 

Page created in 0.023 seconds with 19 queries.