G1 --> G2 Migration Problem

willlangford

Joined: 2005-10-21
Posts: 5
Posted: Fri, 2005-10-21 03:16

G2 version: 2
G1 URL (optional): http://willlangford.com/gallery
G1 version: 1.5
G1 character set: ?
PHP memory limit: ?
PHP Info Path: http://willlangford.com/info.php

I try to migrate from g1 to g2 and i get the error path not valide..but it is valide because i quad checked it and even copied the full path from the g1 config file. anyone have any ideas?
thx
~Will

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Fri, 2005-10-21 04:03

Obviously you quad checked the wrong thing 4 times. Your G1 /albums/ dir path wouldn't even come from your G2 config file. It would come from your G1 config.php file and would almost certainly end with something like "/albums" (ie, /var/www/domain.com/htdocs/albums). It is looking for your albums directory, NOT your gallery directory. Its possible that your albums directory is *IN* your gallery directory, so it might be something ending in /gallery/albums (ie, /var/www/domain.com/htdocs/gallery/albums).

Like Gallery? Appreciate my help? Think I'm an asshole? Make your point by donating to the Gallery project! Or maybe just visit my website.

 
willlangford

Joined: 2005-10-21
Posts: 5
Posted: Fri, 2005-10-21 04:35

i edited my first post due to an error...and i did check the full path and i DO know that it needs to be the albums directory. i was on irc last week and no one had a clue...aka i was told to come here.

the path to my g1 albums folder..
/home/httpd/vhosts/willlangford.com/httpdocs/gallery/albums

ideas anyone..?

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Fri, 2005-10-21 04:41

Okay, in this case then I would suggest running the validate albums and find orphans tool in G1, to make sure everything with your G1 /albums/ dir is kosher. Your G1 works, so I have to assume it is 98% (or more) just fine. At this point, I would try making a php file named "dir.php" with "<?php echo exec('pwd'); ?>" inside it, then placing it in your /albums/ directory. Its possible that what you think the path is and what the webserver thinks it is are quite different, especially in the case of chrooted environments.

If that fails, I think I would say "OMGWTFBBQ" :)

 
willlangford

Joined: 2005-10-21
Posts: 5
Posted: Fri, 2005-10-21 05:04

i KNOW the path on my webserver is what it is..and i did run that and the path is correct. anyone else have ideas?

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Fri, 2005-10-21 05:08
Quote:
I would suggest running the validate albums and find orphans tool in G1

Did you do that?
_________________________________
Documentation || Support || [url=http://codex.gallery2.org/index.php/Gallery2:FAQ#What_information_is_required_when_I_ask_for_help_in_t

 
willlangford

Joined: 2005-10-21
Posts: 5
Posted: Fri, 2005-10-21 05:44

done and it didnt find any

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Fri, 2005-10-21 06:03

Could you post the output of an ls -alh of your /albums/ directory?

If you PM me an admin l/p along with some of your server paths, I might be able to take a look at it tonight. Be sure to make it a temp account that you can delete when done.

You could try putting G2 into buffered or logged debug mode and looking (and posting?) the output, there might be some clues in there.

 
willlangford

Joined: 2005-10-21
Posts: 5
Posted: Thu, 2005-10-27 00:34

-sh-2.05b$ ls -alh
total 216K
drwxrwxrwx 34 willlangford psacln 4.0K Oct 26 17:30 .
drwxr-xr-x 23 willlangford psacln 4.0K Oct 12 20:25 ..
drwxrwxrwx 2 willlangford apache 4.0K Oct 23 18:40 album01
-rw------- 1 apache apache 586 Oct 26 17:30 albumdb.dat
-rw------- 1 apache apache 586 Oct 26 17:29 albumdb.dat.bak
-rwxrwxrwx 1 willlangford apache 0 Jan 2 2005 albumdb.dat.lock
drwxrwxrwx 2 willlangford apache 4.0K Oct 26 10:29 Bear
drwxrwxrwx 2 willlangford apache 4.0K Oct 23 18:35 blog_pics
drwxrwxrwx 2 willlangford apache 4.0K Oct 25 15:19 boat
drwxrwxrwx 2 willlangford apache 8.0K Oct 26 16:30 camera_phone
drwxrwxrwx 2 willlangford apache 8.0K Oct 25 17:42 Cars
drwxrwxrwx 2 willlangford apache 4.0K Oct 24 16:01 christmas
drwxrwxrwx 2 willlangford apache 4.0K Oct 26 09:45 family
drwxrwxrwx 2 willlangford apache 4.0K Oct 26 07:19 friends
drwxrwxrwx 2 willlangford apache 8.0K Oct 26 17:32 funny_pics
drwxrwxrwx 2 willlangford apache 4.0K Oct 24 16:31 geek
drwxrwxrwx 2 willlangford apache 4.0K Oct 24 01:54 gen_pics
drwxrwxrwx 2 willlangford apache 8.0K Oct 26 17:30 gics05
drwxrwxrwx 2 willlangford apache 12K Oct 26 17:32 indy05
drwxrwxrwx 2 willlangford apache 4.0K Oct 25 23:04 lanparty
drwxrwxrwx 2 willlangford apache 4.0K Oct 20 15:02 motov600
drwxrwxrwx 2 willlangford apache 4.0K Oct 24 17:51 motov635
drwxrwxrwx 2 willlangford apache 12K Oct 20 15:12 n6620
drwxrwxrwx 2 willlangford apache 4.0K Oct 25 20:34 nature
drwxrwxrwx 2 willlangford apache 4.0K Oct 26 12:02 norpacfish
drwxrwxrwx 2 willlangford apache 16K Oct 24 17:11 npfprodpics
drwxrwxrwx 2 willlangford apache 4.0K Oct 24 17:00 pets
drwxrwxrwx 2 willlangford apache 24K Oct 26 14:31 phone_bk
drwxrwxrwx 2 willlangford apache 4.0K Oct 24 15:48 pullman
drwxrwxrwx 2 willlangford apache 4.0K Oct 25 20:08 random
drwxrwxrwx 2 willlangford apache 4.0K Oct 26 17:29 rigs
-rwxrwxrwx 1 willlangford apache 11 Oct 26 17:29 serial.dat
drwxrwxrwx 2 willlangford apache 4.0K Oct 25 21:37 Sooty
drwxrwxrwx 2 willlangford apache 4.0K Oct 26 12:30 ss
drwxrwxrwx 2 willlangford apache 8.0K Oct 25 21:36 tsdnw
drwxrwxrwx 2 willlangford apache 4.0K Oct 20 15:22 tsdnw82805
drwxrwxrwx 2 willlangford psacln 4.0K Oct 26 17:25 .users
drwxrwxrwx 2 willlangford apache 4.0K Oct 23 15:11 vacations

 
Rivertree

Joined: 2007-03-03
Posts: 4
Posted: Thu, 2007-05-03 01:45
fryfrog wrote:
Quote:
I would suggest running the validate albums and find orphans tool in G1

Did you do that?
_________________________________
Documentation || Support || [url=http://codex.gallery2.org/index.php/Gallery2:FAQ#What_information_is_required_when_I_ask_for_help_in_t

the same problem i met,and i did following above,but did not result........

=================
http://gallery.cygzc.com 洒水车电炉烘箱