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]   Go Down

Author Topic: General upgrade questions  (Read 14636 times)

0 Members and 1 Guest are viewing this topic.

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
General upgrade questions
« on: June 06, 2010, 01:33:58 pm »

Eventually I'm going to have to upgrade from Coppermine 1.4.27 to 1.5.4

My problem is, I'm also going to upgrade soon from SMF 1.1.11 to SMF2.  Just wondering what order I'll have to do this, and also will I have to un-bridge and re-bridge the two apps?  Coppermine and SMF currently run on separate databases if this is relevant.

I'm currently waiting for a version of cpmfetch or equivalent, to be released before I upgrade, but I would appreciate any help and advice regarding these upgrades for when the time comes.

Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: General upgrade questions
« Reply #1 on: June 06, 2010, 01:52:54 pm »

with modifications to just one line of code CPM fetch will work with 1.5.x. I'm already using it on a site of mine.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: General upgrade questions
« Reply #2 on: June 07, 2010, 08:43:09 am »

with modifications to just one line of code CPM fetch will work with 1.5.x. I'm already using it on a site of mine.

Phill, care to share this little gem of knowledge?   I really want to try this on my test site please. ;)

As for my other questions re: upgrading, I suppose best way would be upgrade coppermine to the new version, then un-bridge once working.  Then upgrade my SMF and re-bridge.  Is this the best way to go about it?
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: General upgrade questions
« Reply #3 on: June 08, 2010, 10:41:18 am »

I'll take that as a no then Phill  ;)

Back to my original upgrade questions.

So if I go ahead and upgrade my SMF from 1.1.11 to SMF2+ I assume I'll have to unbridge and then use the bridge app for SMF2?

It appears that I'm stuck between a rock and a hard place so to speak.  Reading the docs it says,

"Warning: If you already have users and custom groups in your coppermine database when you enable bridging, be aware that they will be lost. If your coppermine users have already created private albums and uploaded pics to them, they will be lost as well!"

So does this mean I can't upgrade without losing all my gallery contents?

Link to site, www.cameracraniums.com

 
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: General upgrade questions
« Reply #4 on: June 08, 2010, 12:58:54 pm »

It was not a no. I just have not had time to find it. Nibbler posted the fix somewhere on the cpmfetch board so you could try searching for it.

I'm on the road at the moment so am unable to access the machine I have my notes on until the weekend which is why I have not responded.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: General upgrade questions
« Reply #5 on: June 08, 2010, 01:01:30 pm »

...and there's a strict "one issue per thread" policy as well... ::)
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: General upgrade questions
« Reply #6 on: June 08, 2010, 10:02:59 pm »

Start a thread regarding cpmfetch and I'll post the details.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: General upgrade questions
« Reply #7 on: June 08, 2010, 11:39:29 pm »

Start a thread regarding cpmfetch and I'll post the details.

Thread started Phill, thanks.

...and there's a strict "one issue per thread" policy as well... ::)

Sorry Joachim.
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: General upgrade questions
« Reply #8 on: June 09, 2010, 08:13:48 am »

Issue(s) solved then? If yes, do as suggested in Common policies: Resolve your threads. It is so frustrating that even frequent-poster who's first language is English don't care for board rules :'(.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: General upgrade questions
« Reply #9 on: June 09, 2010, 08:25:09 am »

Joachim, this issue is not solved, my question is related to upgrading.

No one has offered any advice yet.
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: General upgrade questions
« Reply #10 on: June 09, 2010, 08:37:45 am »

Eventually I'm going to have to upgrade from Coppermine 1.4.27 to 1.5.4

My problem is, I'm also going to upgrade soon from SMF 1.1.11 to SMF2.  Just wondering what order I'll have to do this, and also will I have to un-bridge and re-bridge the two apps?  Coppermine and SMF currently run on separate databases if this is relevant.
Your question is invalid in the first place: we can not actually recommend anything regarding a third-party application like SMF. All we do is providing support for Coppermine. As far as Coppermine is concerned, the upgrade order doesn't matter, as we're providing bridge files both for SMF1 as well as SMF2. As Coppermine doesn't have any impact on SMF (it doesn't modify any third-party app that it get's bridged with), it's hard to think of anything that could matter SMF-wise, but again: we're not the SMF experts here - we're just SMF users, so we can't recommend anything in this aspect.
If you're paranoid, then unbridge, upgrade and finally re-bridge.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: General upgrade questions
« Reply #11 on: June 09, 2010, 09:00:06 am »


If you're paranoid, then unbridge, upgrade and finally re-bridge.


Thanks. 

It was reading the docs that got me worried, it says,

"Warning: If you already have users and custom groups in your coppermine database when you enable bridging, be aware that they will be lost. If your coppermine users have already created private albums and uploaded pics to them, they will be lost as well!"

Now as I'm using bridge for SMF 1.x.x then upgrading to SMF 2 I have to use the bridge for SMF 2.  Will I still retain all the contents of my gallery? or will I lose it all as stated in the docs?
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: General upgrade questions
« Reply #12 on: June 09, 2010, 12:28:36 pm »

It was reading the docs that got me worried, it says,

"Warning: If you already have users and custom groups in your coppermine database when you enable bridging, be aware that they will be lost. If your coppermine users have already created private albums and uploaded pics to them, they will be lost as well!"
You should read on, as that section explains that you actually don't lose anything, but only the correlation between user actions and user IDs. Once you turn bridging back on, everything will be back to normal again. You can toggle bridging off and on and off and on: as long as you return to the state that your gallery used to be when the database content was generated, everything will be fine. If there was a danger in upgrading whil being bridged, we'd warned you about that danger in the upgrading sections of the docs.

Now as I'm using bridge for SMF 1.x.x then upgrading to SMF 2 I have to use the bridge for SMF 2.  Will I still retain all the contents of my gallery? or will I lose it all as stated in the docs?
No, for Pete's sake: you won't lose anything, as the user IDs will not differ. Again: read the details:
Coppermine users, groups and pics uploaded by users are lost when integrating

Warning: If you already have users and custom groups in your coppermine database when you enable bridging, be aware that they will be lost. If your coppermine users have already created private albums and uploaded pics to them, they will be lost as well!

Detailed explanation:
As most community applications, coppermine stores everything that users (including the admin) do (like uploading pics, posting comments, rating files) inside the database. The reference to each user action is being kept using a unique user ID. The correlation between the user actions and the corresponding user profile is being kept by storing the user ID within each record in the database that determines the user action.
When bridging is enabled, coppermine's user management is being dropped in favor of the user management that comes with the application you bridge with. Subsequently, the user IDs from your bridging app (that differ from Coppermine's user IDs) are being taken into account.
Quote
Coppermine-user "Bill" has got the coppermine user ID "3". He used to upload several pics that went into the folder /albums/userpics/10003/. The URL of his personal gallery used to be http://yoursite.tld/your_coppermine_folder/index.php?cat=10003.
In the BBS application, the user "Linus" has got the user ID "3".
After enabling bridging, the URL http://yoursite.tld/your_coppermine_folder/index.php?cat=10003 points to the personal gallery of the user "Linus". All pics that Bill used to upload appear to be owned by Linus.

Summary:
Correlation between the actions that the unbridged coppermine users have performed and the "new" accounts from the app you bridged with is lost. Subsequently, you don't actually lose files that have been uploaded previously, but they appear to have been uploaded by a different user.



Bottom line: if you're afraid that something fishy might happen, then perform a backup both on file as welll as database level before you upgrade. This way, you can savely go back in case something goes wrong.

Please stop the discussion now: nothing bad will happen when upgrading!
« Last Edit: June 09, 2010, 12:34:11 pm by Joachim Müller »
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: General upgrade questions
« Reply #13 on: June 09, 2010, 08:51:55 pm »



Bottom line: if you're afraid that something fishy might happen, then perform a backup both on file as welll as database level before you upgrade. This way, you can savely go back in case something goes wrong.

Please stop the discussion now: nothing bad will happen when upgrading!

Thanks, that's all I needed to know. ;)
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 20 queries.