I need help with moving from 1.4.4pl1 to either galleryv1.5.7 or straight to gallery2.2.4 due to hack on my site

Peter_Aus2

Joined: 2006-04-24
Posts: 16
Posted: Wed, 2008-04-02 02:55

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: v1.4.4pl1
Apache version: 1.3.39 (Unix)
PHP version (don't just say PHP 4, please): 4.4.7
Graphics Toolkit: GD
Operating system: CentOS (Linux)
Web browser/version (if applicable):

I need to migrate over a gallery v1.4.4pl which has a database that is contained all in one with postnuke cms and pnPHPBB2 1.2a which has all the tables together. I need a copy of this so I can work out which tables need to be extracted for me to make the gallery 1 standalone to then be able to migrate it over to version 2 (current version). As I have only ever really worked with installing version 2, as the current old version was setup some years ago, I haven't gone through the process of converting over. But would suspect that I need to have it in the database of it's own for me to be able to accomplish this.

Running on Linux Box apache 4 php 4 toolkit is the normal one.

I posted here as I thought it the most appropriate one to start at. Sorry if it is the wrong one.

I have downloaded and installed the current 1.5.7 as a clean in stall on the server. What do I need to copy over to use it in the new clean install, is it just the albums directory which seems to contain the users and all the data as well in there. Version 1.x.x doesn't seem to use a database like version 2 does. Is this all I need to do, I don't care about the skins etc, just want the users, albums, comments etc. that are currently contained in the current working site.

This is due to a recent hack to the old current site, not gallery stuff, and I want to move the data to the most up to data version as soon as possible. Any advice would be greatly appreciated.

Regards,

Peter

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2008-04-02 08:32

Hello,

Gallery 1.x has no database.
So if you use Gallery 1.x inside postnuke, then all your users are inside the postNuke database.
I don't know a way to migrate postnuke users into standalone G1 users.

Maybe there are tools that can copy/move/migrate postnuke users to G2.
Maybe on this site you can get more help: http://www.nukedgallery.net/
Its more about phpNuke and phpBB, but maybe ...

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Peter_Aus2

Joined: 2006-04-24
Posts: 16
Posted: Wed, 2008-04-02 11:00

Thank, have gone over to there and left a similar post. So what is in the .users in the albums directory then.

Regards,

Peter

 
Peter_Aus2

Joined: 2006-04-24
Posts: 16
Posted: Fri, 2008-04-04 03:57

No answers to my question at all over there.

I installed version 1.5.7 so how does one allow registrations the interface is completely different to Gallery 2 obviously, and I only see album options etc from the homepage.

Any advice greatly appreciated.

Regards,

Peter

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-04-04 11:10

If G1 is inside a CMS, the registration is done via the CMS.

In standalone G1, you have to configure emailing in setup and also enable self registration.

Jens

--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Peter_Aus2

Joined: 2006-04-24
Posts: 16
Posted: Fri, 2008-04-04 11:18

Thanks Jens,

So where are the comments etc that are in the gallery kept are they keep in the dat file in the directory Albums ? I basically need to know what fields to extract out. I now know thanks to your reply that the username, name, email and passwords need to be extracted out, just looking at what else needs to be extracted out.

Regards,

Peter

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-04-04 11:23

Everything related to an album is in album.dat for each album. Everything related to an albumitem is in photos.dat.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Peter_Aus2

Joined: 2006-04-24
Posts: 16
Posted: Fri, 2008-04-04 23:41

Hi Jens,

Thanks for that info. So to make it clear in my head. If I create a Gallery 2.2.4 setup and import the user-names, passwords, email addresses. Move the Albums directory information into the albums directory of 2.2.4 and then start the upgrade process, is that the way to move a site from Version 1.4.4 to 2.2.4 ?

Thanks for the help as well.

Regards,

Peter

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sat, 2008-04-05 00:08

No, thats not the way.
Gallery 1 and Gallery 2 are 100% INcompatible!

You have to import Gallery 1 data into Gallery2 via the migration plugin.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Peter_Aus2

Joined: 2006-04-24
Posts: 16
Posted: Sat, 2008-04-05 00:17

Thanks Jens,

More reading about that then I will have to do, thanks for the assistance. At least I know not to keep looking in the database for things that aren't there at least. I take from your earlier post, I really only need to get the user details out of the database into gallery 2 database, and then go through the process of importing the albums data over, so it then links up to the individual users correctly. Otherwise the link between the users and comments etc will break most like, and change over to default Guest ?

Regards,

Peter

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sat, 2008-04-05 00:23

Puuuh, no idea.

I am no G2 guy :-|

G2 can import a standalone G1 without problems, all photos, albumdata, comments, users .... whatever is migrated.
So _I_ think you would need to migrate an integrated G1 into a standalone G1 and then use G2 to import it.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Peter_Aus2

Joined: 2006-04-24
Posts: 16
Posted: Sat, 2008-04-05 00:36

Ok thanks for all the info I think I might have a better understanding now about which way to do things, going to be a bit of a slow process having to do it out, in, across, update, import. No worries thanks a lot for the help.

Regards,

Peter