Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: Convert a Gallery 2 site to Coppermine  (Read 3053 times)

0 Members and 1 Guest are viewing this topic.

michael wolfe

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Convert a Gallery 2 site to Coppermine
« on: January 03, 2018, 03:02:04 am »

We need to convert our Gallery site to Coppermine.  I am the site admin, but do not have any server experience (I drive the site but did not build it). I would love to learn how to do things myself (or maybe just learn how to manage it, and do the updates and such) but I don't want to manage this conversion.  The site is somewhat important to the academic and science community and I do not want to loose anything in the conversion.

We have a few hundred dollar budget (we are a non-profit organization).
Our time schedule is open (would like to have it complete by the end of March if possible but for sure by the end of May).
This is our current webpage...

http://gallery.nanfa.org/main.php
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 822
Re: Convert a Gallery 2 site to Coppermine
« Reply #1 on: January 03, 2018, 06:02:03 pm »

Perhaps a little more information might help someone decide whether to help you:

For what reasons do you want to convert from Gallery 2?
Will the G2 and Coppermine galleries need to co-exist until conversion is completed?
Will you need it to have the same visual appearance as the rest of the NANFA site?
Are there some other specific expectations that need explaining?
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4535
    • Windsurf.me
Re: Convert a Gallery 2 site to Coppermine
« Reply #2 on: January 03, 2018, 06:34:52 pm »

There is a tool available on these boards but I have not used it in a long time so not sure if it still works.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

michael wolfe

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Re: Convert a Gallery 2 site to Coppermine
« Reply #3 on: January 06, 2018, 06:03:12 pm »

Perhaps a little more information might help someone decide whether to help you:

For what reasons do you want to convert from Gallery 2?
Will the G2 and Coppermine galleries need to co-exist until conversion is completed?
Will you need it to have the same visual appearance as the rest of the NANFA site?
Are there some other specific expectations that need explaining?

Sorry for the slow reply, for some reason I was not getting notifications... anyway to answer your questions.

Gallery 2 is no longer supported nor being updated and we are concerned about ongoing security.  Plus there is no one to teach me more Gallery 2 stuff to continue to manage the site well.  So I would rather up convert to Coppermine and learn more myself so that we could maintain going forward.

It would be preferred for the old site to stay live until the new site was up and running. But no need for them to "co-exist" for any period of time.  We could even tolerate some short period of time (say a few weeks or a month) where both sites were down.

No, we do not need to maintain the visual appearance of the rest of the NANFA site.  Managing he appearance would be something that I would hope that I would be able to learn to take care of myself.  But regardless, it would be totally acceptable for the site to ahve a different appearance.

My only other expectation is to keep the current permissions and structure so that the photo owners still manage their own content. Also my other expectation is that I might get some opportunity to learn so that I could do more for myself in the future.
Logged

michael wolfe

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Re: Convert a Gallery 2 site to Coppermine
« Reply #4 on: January 06, 2018, 06:04:10 pm »

There is a tool available on these boards but I have not used it in a long time so not sure if it still works.

I read about that as well, but between the mixed reviews and my limited "under the hood" skills I thought it best to get some more knowledgeable help.
Logged

michael wolfe

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Convert a Gallery 2 site to Coppermine
« Reply #5 on: January 14, 2018, 11:21:37 pm »

No takers? No help out there?
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 822
Re: Convert a Gallery 2 site to Coppermine
« Reply #6 on: January 15, 2018, 03:55:17 am »

I quickly looked into doing it after your first post. I wouldn't want to be paid for doing it so, if it would be fairly easy, I thought I could help you out. I determined that it could be quite a bit of work... perhaps more than I wanted to commit to. Let me take another look at it. I have set up G2 and CPG installs to test with. Are you able to get a database dump of your G2 install? It would be helpful to see that. I'll PM you my contact email. If you can't read personal messages here, let me know.
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 822
Re: Convert a Gallery 2 site to Coppermine
« Reply #7 on: January 18, 2018, 02:48:12 pm »

I am crafting an importer for you (Gallery 2 -> CPG 1.6.x).
Caveats:
  CPG has no album hierarchy, so all user albums will be at one level.
  Passwords can not be transferred. CPG accounts will be created with generated passwords.
  It may not be possible to transfer special permissions that may be set for some users.
Logged

michael wolfe

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Convert a Gallery 2 site to Coppermine
« Reply #8 on: January 20, 2018, 05:12:13 pm »

That sounds very interesting and something I might be able to manage. I dont mind having to re-do the password or re-create any special permissions (there really are not any except admins).  Trying to get you the database dump today.
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 822
Re: Convert a Gallery 2 site to Coppermine
« Reply #9 on: January 23, 2018, 03:37:47 pm »

The attached importer will only work with CPG 1.6.x

Create a CPG1.6 installation. Conflicting usernames will not be imported so enter a unique admin username (e.g. cpgadmin).

Place the unzipped importer file in the root of the CPG install.
Access the file as <CPG url>/gallery2import.php ... you will need to be logged in as the admin.
Follow the simple instruction...
Transferred user information will be in albums/edit.

[edit:] As mentioned by André below, the albums/edit directory is subject to being purged (though not with a default CPG 1.6 install). So don't rely on the results of the import to always exist in that directory.
« Last Edit: January 24, 2018, 03:00:48 pm by ron4mac »
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15471
Re: Re: Convert a Gallery 2 site to Coppermine
« Reply #10 on: January 24, 2018, 12:26:51 pm »

Transferred user information will be in albums/edit.

Probably not the best directory, as that directory get purged e.g. on upload (search the Coppermine code for spring_cleaning).
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 822
Re: Convert a Gallery 2 site to Coppermine
« Reply #11 on: January 24, 2018, 03:05:58 pm »

Probably not the best directory, as that directory get purged e.g. on upload (search the Coppermine code for spring_cleaning).
That no longer occurs during upload with the 3 packaged upload methods ... only happens on zipdownload, which is not configured by default.
Logged

michael wolfe

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Convert a Gallery 2 site to Coppermine
« Reply #12 on: January 27, 2018, 11:23:59 pm »

Thanks, sorry for going silent there, I had the flu last week... anyway, let me see how this works... appreciate the help.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 21 queries.