G1 in root level of domain - G2 migration concerns
phule
Joined: 2002-08-23
Posts: 58 |
![]() |
I currently am running a 1.5.9 install with over 10,000 photos. However, the install is running at the root level of the domain (hellophotos.com). The migration from G1 to G2 does not mention what to do in this instance. Is there a recommendation from the developers (or others) on what to do in this case? Do I need to first move the G1 install to a new sub-directory within the domain before attempting an upgrade to G2? If so, is there documentation on this for G1? I tried a couple searches but I'm not getting the right combination of key words. Additionally: While I can run "Validate Albums" I can't seem to run "Find orphans" on the G1 install. I simply get a blank white page. No error shows up in the servers log file (that I can tell). Any ideas as to why that would be? Thanks. |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
Have you found or tried following this: Here's what I'd do. Install Gallery2 into a different directory, like /gallery2, get everything working, don't use URL Rewrite to map to G1 URLs (yet). Migrate G1 to G2 Then, I would make a "maintenance message" page for index.html and move/delete (only after backing up) your G1 stuff and move G2: And if you didn't install your g2data directory above your webroot as suggested: No ideas about the G1 issues you are describing. |
|
phule
Joined: 2002-08-23
Posts: 58 |
![]() |
nivekiam wrote:
Have you found or tried following this: Yes. Which is how I found out the FAQ doesn't address the root-level situation and hence my question here. nivekiam wrote:
Here's what I'd do. ... If I'm reading this correctly, you're saying: a. ignore steps 7, 8, and 9 (and 10) in the Pre-Migration Prep portion of the FAQ for migrating G1 --> G2. Step "f" above need not be a requirement if I can get the paths to map properly from the g1 install. I'd be ok with moving the install of G2 out of the root level of the domain if it helps me with upgrades later. |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
I was going round about it a different way. Looking at the pre-migration steps closer. I'd follow those. Even though your stuff is in the root of your site, I'd move all of the G1 related stuff into a sub-directory. It will make this easier. And step f will still be a requirement as you'll still need to move G2 into your root if you don't want to break your URLs. If you do want to make life easier in the future, break your URLs and put Gallery into a sub-directory. You can probably create hand-written rewrite rules to redirect the old URLs to the new URLs, but it really depends on what you were doing and how things were structured. |
|
phule
Joined: 2002-08-23
Posts: 58 |
![]() |
There are currently 260 albums in this G1 install which makes the prospect redirecting by hand rather annoying. My whole goal of running this site was to make life easy for family members...I realize now that I simply transferred the complexity to the admin...me. Ugh! Thanks for your help. |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
Well you might be able to do something like, oh I'm not going to write any rewrite codes as I'd have to look them all up... But something like www.example.com/$1 > www.example.com/gallery/v/$1 But I'm not rewrite expert and would have to play with and break stuff (then fix it) to get something working. Or just move all of G2 to the root... ;) You could also try googling for exactly what you are trying to do. It might still break existing links, but you could probably redirect anything from your root site, www.example.com to www.example.com/gallery/ That's why I either like to have gallery as a sub-directory or a sub-domain so the gallery part of the site is completely separate and I can manage them easier. |
|