enter Gallery v1 albums dir path NEW QUESTION POST

dreambabies

Joined: 2009-05-03
Posts: 59
Posted: Mon, 2010-05-31 14:27

Please fill out the following form and take a look at the linked pages. The more information you supply, the better we can help you. Remove this FAQ information from your post before submitting.

FAQ:
- Is there a guide for migrating from G1 to G2 available?
http://codex.gallery2.org/index.php/Gallery2:migration
- What information is required when asking for help in the forums?
http://codex.gallery2.org/index.php/Gallery2:faq#What_information_is_required_when_I_ask_for_help_in_the_forums.3F
- How to enable and use the debug mode of G2?
http://codex.gallery2.org/index.php/Gallery2:faq#How_to_set.2Fuse_Gallery_in_debug_mode.3F
- Known Issues (might explain your problem):
http://codex.gallery2.org/index.php/Gallery2:KnownIssues
- You can copy and paste a lot of the required information from "Site Admin" -> "Maintenance" -> "System Information" if your G2 is up and running.

[=9]
G2 URL (optional):http://www.dreambabiesnursery.com/gallery/main.php
G2 version:
G1 URL (optional):http://www.dreambabiesheri.com/gallery/Dream-Babies-by-Sheri
G1 version:
G1 character set:
PHP memory limit:
--
Gallery URL = http://www.dreambabiesnursery.com/gallery/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.8 cgi-fcgi
Webserver = Apache
Database = mysql 5.0.91-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd, LinkItemToolkit
Acceleration = none, none
Operating system = Linux p3nlh247.shr.prod.phx3.secureserver.net 2.6.18-164.15.1.el5PAE #1 SMP Wed Mar 17 12:14:29 EDT 2010 i686
Default theme = classic
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; Zune 4.0; BO1IE8_v1;ENUS)
Rows in GalleryAccessMap table = 12
Rows in GalleryAccessSubscriberMap table = 2
Rows in GalleryUser table = 2
Rows in GalleryItem table = 2
Rows in GalleryAlbumItem table = 1
Rows in GalleryCacheMap table = 0

When trying to migrate my data from my gallery 1 to gallery 2, where do I find "enter Gallery v1 albums dir path (absolute filesystem path"??? Is that on my computer, or in my gallery 1 site?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2010-05-31 14:54

a path is something like:
windows server
C:\wwwroot\mysite.com\gallery\albums
*nix server
/usr/local/www/vhosts/mysite.com/gallery/albums

whereas a url looks like:
http://www.mysite.com/gallery/albums

these are just examples and would hopefully give you a hint. yours may be completely different.
if unsure ask your server's administrator.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
dreambabies

Joined: 2009-05-03
Posts: 59
Posted: Mon, 2010-05-31 15:09

Thank you suprsidr, I'll ask my server for the exact path.

 
dreambabies

Joined: 2009-05-03
Posts: 59
Posted: Mon, 2010-05-31 19:19

My server sent me the path, but it is coming up invalid. Does this path look like anything is missing from it?
The path for gallery under your account 'dreambabies' is '/websites/dreambabiesheri.com/docs/gallery'.

 
dreambabies

Joined: 2009-05-03
Posts: 59
Posted: Tue, 2010-06-01 05:34

Here is the information they sent me. Which folder am I looking for?
The path to Gallery 1 albums directory can be given as '/usr/home/www/dreambabies/dreambabiesheri.com/docs/gallery/albums'. I can see that it is given correclty in the configuration file.

---------
[dreambabies@c1-2A ~/websites/dreambabiesheri.com/docs/gallery]$ grep albumDir config.php
$gallery->app->albumDir = "/usr/home/www/dreambabies/dreambabiesheri.com/docs/gallery/albums";
$gallery->app->albumDirURL = "http://www.dreambabiesheri.com/gallery/albums";
[dreambabies@c1-2A ~/websites/dreambabiesheri.com/docs/gallery]$
---------

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-06-01 17:00

That looks right to me.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
dreambabies

Joined: 2009-05-03
Posts: 59
Posted: Tue, 2010-06-01 17:51

I keep getting that it's not the correct path. I'm about to give up migrating at this point LOL Now I can't sign into gallery 2. I have uninstalled and reinstalled it and still won't log in grrrr

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-06-01 18:01

http://www.dreambabiesheri.com/gallery/ = 403

http://www.dreambabiesheri.com/gallery/main.php tries to redirect to the installer which also generates a 403.

Do you have a working G2 install?

Also, once you get a working G2 install, have you followed these instructions:
FAQ: Can I update from G1 -> G2?

There are some very detailed migration instructions in there, I think it's a link to the more detailed instructions in that link I just provided.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
dreambabies

Joined: 2009-05-03
Posts: 59
Posted: Tue, 2010-06-01 18:53

Now see I think the problem is, I am trying to switch over my gallery 1 photos, to gallery 2 which is on a different host. Is that the problem?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-06-01 19:01

Yes, that migration assumes they are on the same host.

Though I believe (I'm not 100% sure) that if you follow those steps for making sure your G1 install is up to date and it's integrity is intact, that if you just copy over your albums directory to the new host that you should be able to migrate from that. As I believe that the G1 to G2 importer reads the files inside that directory (and sub-directories) and doesn't rely on any sort of API or anything like that.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
dreambabies

Joined: 2009-05-03
Posts: 59
Posted: Tue, 2010-06-01 20:41

Are there directions for copying to the new host here?

 
chillchill061

Joined: 2011-04-21
Posts: 1
Posted: Thu, 2011-04-21 16:00

Thanks for the info.