Need Help: Moving to a new server

parrysound.com

Joined: 2008-04-30
Posts: 7
Posted: Thu, 2008-05-01 13:22

Our Gallery has 11648 images and the server it is sitting on is dying. How do I go about moving it?
Thanks!

Gallery URL (optional but very useful): http://www.parrysound.com/voice/albums/
Gallery version: Gallery 1.x
Apache version: Apache/2.0.51 (Fedora)
PHP version (don't just say PHP 4, please): PHP v4.3.10
Graphics Toolkit: Netpbm / ImageMagick
Operating system: Vista
Web browser/version (if applicable): firefox 2.0.0.14

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sat, 2008-05-03 10:10

Hello Parrysound,

You simply need to make a backup and transfer that to your new server.

What i also suggest is a migration to Gallery 2.

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

 
parrysound.com

Joined: 2008-04-30
Posts: 7
Posted: Wed, 2008-05-07 12:46

this is what I'm getting when I try to open the gallery on the new server:
--------
Error: Unable to create dir: '/home/httpd/vhosts/parrysound.com/httpdocs/voice/albums/albums/.users'.
Upgrading Users
The user database in your gallery was created with an older version of the software and is out of date. This is not a problem! We will upgrade it. This may take some time. Your data will not be harmed in any way by this process. Rest assured, that if this process takes a long time now, it's going to make your gallery run more efficiently in the future.

If you get an error, and only some users are upgraded, try refreshing the page to upgrade remaining users.

Please Wait...
---------

But it says done in the status bar and it doesn't look like it's actually doing anything.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2008-05-07 12:54

You have to adjust the pathes in the config.php on your new Server.

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

 
parrysound.com

Joined: 2008-04-30
Posts: 7
Posted: Wed, 2008-05-07 13:46

Thank you, that's done now, and I changed some file permissions, but I'm still getting the same message as above.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2008-05-07 14:03

permissions? Also good idea.

but i meant the path itself.

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

 
parrysound.com

Joined: 2008-04-30
Posts: 7
Posted: Wed, 2008-05-07 14:23

Yes, now it's Error: Unable to create dir: '/home/httpd/vhosts/209.200.253.26/special/parrysound/data/albums/albums/.users'.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2008-05-07 14:37

This is indeed a permission issue.

Reason can be that the path exists, but does not belong to you.
And/or it exits, but the webserver can not write to it.

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

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2008-05-12 20:45

Thats a Gallery 2.

If you want to continue with G2 instead of G1. thats fine, but then you need to migrate your G1 install.
-> http://codex.gallery2.org/Gallery2:migration

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

 
parrysound.com

Joined: 2008-04-30
Posts: 7
Posted: Mon, 2008-05-12 21:17

Okay... I've got started. Now I'm getting this error when I try to import my Gallery 1:

Error (ERROR_BAD_PARAMETER) : Missing or not readable file: /home/hunts4/public_html/special/parrysound/data/albums/albums/album29/album.dat

* in modules/migrate/classes/Gallery1DataParser.class at line 66 (gallerycoreapi::error)
* in modules/migrate/classes/Gallery1DataParser.class at line 225 (gallery1dataparser::loadfile)
* in modules/migrate/classes/Gallery1DataParser.class at line 109 (gallery1dataparser::loadalbumfields)
* in modules/migrate/ChooseObjects.inc at line 260 (gallery1dataparser::getalbumlist)
* in modules/migrate/ChooseObjects.inc at line 213 (chooseobjectsview::_createg1albumtree)
* in modules/core/SiteAdmin.inc at line 201 (chooseobjectsview::loadtemplate)
* in modules/core/classes/GalleryView.class at line 300 (siteadminview::loadtemplate)
* in main.php at line 445 (siteadminview::doloadtemplate)
* in main.php at line 94
* in main.php at line 83

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2008-05-12 21:22

I am no G2 guy. And this is the G1 foru.

You should continue this in the G2 forum.

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

 
parrysound.com

Joined: 2008-04-30
Posts: 7
Posted: Tue, 2008-05-13 12:31

Okay, thank you