Gallery version = 2.2-svn core 1.1.25
PHP version = 5.2.1 apache2handler
PHPInfo Link (see FAQ): http://oldgallery.ghettomoo.net/phpinfo.php
Webserver = Apache/2.2.4 (FreeBSD) DAV/2 PHP/5.2.1 with Suhosin-Patch
Database = mysqlt 5.1.16-beta-log, lock.system=flock
Toolkits = ImageMagick, Gd, NetPBM, Dcraw, LinkItemToolkit, Thumbnail, Exif, ArchiveUpload
Acceleration = none, none
Operating system = FreeBSD gm1 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
:/usr/obj/usr/src/sys/SMP i386
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Rows in GalleryAccessMap table = 25
Rows in GalleryAccessSubscriberMap table = 1097
Rows in GalleryUser table = 5
Rows in GalleryItem table = 1095
Rows in GalleryAlbumItem table = 21
Rows in GalleryCacheMap table = 0
URLrewrite is not installed
I have been attempting (for a couple days now) to safely move my gallery to a different server. However, I have been unsuccessful thus far. I have tried to follow the instructions at http://codex.gallery2.org/index.php/Gallery2:FAQ#How_can_I_move_my_gallery_installation_from_one_server_to_another.3F as closely as possible but, unfortunately, it doesn't 100% apply to what I'm trying to accomplish. I have a master copy of my site as well as the database on the new server. I have been using that master copy to restore every failed attempt at moving the gallery. Keep in mind that the information below has happened over many different iterations of my move attempts as well as many different methods. Also, throughout all of my attempts, I have not once seen an error message prompted at me (It would be nice to have a more obvious way of enabling logging or debugging). If any more information is needed I am more than willing to try and provide it.
Here's what I'm trying to do:
- Move my entire gallery to a new server
- I DO NOT want to upgrade my existing gallery as I have had little success doing so with any test gallery I've installed (Yes, I'm aware that I'm using a snapshot)
Here's the methods I have tried:
- Copy over the entire site and database and manually edit the config.php file
- Copy over the entire site and database, delete the config.php file and attempt to use the install tool
- Install a new version of Gallery2 (2.2.1), copy over the g22_data folder, copy over the database and attempt to use the upgrade tool
- Install my existing version on the new server (as a fresh install), install all added themes and/or user contribs, copy over the g22_folder then restore the database from my master copy
Here's what's been happening (in no particular order):
- My entire photo library has been rendered non-existent
- The gallery seemed to have been copied over fine but my album theme seems to have stopped working
- Another seemingly successful copy but I now see many broken images within various albums
Resources I've Tried:
- I've searched the forum for people with moving problems with no luck
- I've searched Google for people with similar problems but it's hard to put my problem into keywords
- I'm now attempting to submit this in the support forum
As a side note, the amount of time I have put into trying to move my gallery has way surpassed the amount of time it would have taken me to just create a whole new gallery from scratch and re-upload all my albums & photos
Posts: 32509
> - Copy over the entire site and database and manually edit the config.php file
sounds good. but you shouldn't forget to:
- chmod RECURSIVELY g2data after moving (see step 8 of the instructions)
- deactivate and uninstall some modules before moving (rewrite, imagemagick, netpbm, gd, ...)
suggested tools to debug once your site is moved and filesystem permissions have been set:
- clear caches: FAQ: How can I clear cached data?
- enable debug mode: FAQ: How to set/use Gallery in debug mode?
- check your webserver's error log: FAQ: What is the webserver error log?
- etc: FAQ: I get only a blank screen when trying to view my Gallery, what's wrong?
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 8
Sounds good. I double and triple checked the permissions so I'm sure those are fine. I will try the disabling and uninstalling of the modules. Thanks, I'll be back if it doesn't work
Posts: 20
ragtop,
You didn't come back! :D
I'll need to move my gallery2 installation since i have it locally (for evaluation purposes).
I'd like to know how your odise ended, or if you think a fresh install in the real server will be easier.
Are you still around?
Thanks,
Martin
----------------------------------
Recetas de cocina española
Posts: 8
Hi Martin,
I'm still here. Unfortunately, I've been so busy with my day job & photo gigs that I haven't had time to get back to this migration. I'd really like to give it another try soon though. I'll definitely keep this topic updated as I progress (or fail). If you have any ideas, they are also very welcome.
Thanks,
-David
Posts: 3
I'll need to move my gallery2 installation since i have it locally (for evaluation purposes).
I'd like to know how your odise ended, or if you think a fresh install in the real server will be easier.
http://www.club-penguin.org/
Posts: 16504
Follow these steps exactly and you won't go wrong:
FAQ: How can I move my gallery installation from one server to another?
If it doesn't work, then something wasn't followed correctly
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 16504
And know how to use SSH, etc, yada yada yada. For those types of people they generally don't need those detailed instructions, they simply need to know:
move your files
move your database
edit config.php
check permissions if PHP runs under a different user account than the owner of the files
done
Those instructions have a lot of detail for the majority of people, not the minority who know "all the techie stuff"
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 1642
I have a VPS, comfortable with the command line etc etc etc but found my eyes glazing over when reading that rsync stuff.
--
dakanji.com