2.2 stuck at start

Stratego

Joined: 2007-03-18
Posts: 26
Posted: Sun, 2007-03-18 01:43

Hi there, first post (but I searched around before posting).
I've been using Gallery for a while now, always been up to date with the most recent stable release.
But I just uploaded the full pack for 2.2 over my previous one (the actual stable previous one, 2.1 I think) and the Upgrader is stuck at Step 0.
I click to go to step 1, it's still Step 0, even though the url is showing step=1. Same with every step.

I've already checked for previous issues with the installer, and none fits.
I have no Safe_mode on, and I don't have mod_security or that other mod that means trouble with G2
I've uploaded the full package twice and used two different computers with cleared caches and cookies.

Here's my phpinfo]phpinfo just in case.

Anyone has the same problem or could point me in the right direction.
Thanks a lot for your help.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-03-18 02:19

- session.save_path /var/lib/php5
not sure if that's right. is that really a tmp / session folder and is it writable by the webserver?

- i see what you mean at http://www.myth0s.net/galerie/upgrade/index.php?step=1
it just doesn't advance to the next step.

i haven't seen this before and i don't really know what's going on there. probably it's session related.

are there any entries in your webserver's error log?

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Stratego

Joined: 2007-03-18
Posts: 26
Posted: Sun, 2007-03-18 02:33

I didn't find anything in my apache error log, and /var/lib/php5 contains files like "sess_0fc1e4a11532f79c5db231a3054f1bf7" which are not writable (chmod 600), but the folder itself is chmod 733.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-03-18 03:07

> which are not writable (chmod 600

600 means they are writeable by their owner. that's fine. the owner is the webserver, not you. (i assume). that's good.

don't know what's going on there. maybe someone else has an idea.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Stratego

Joined: 2007-03-18
Posts: 26
Posted: Sun, 2007-03-18 03:19

Yep, owner is set to the webserver.
Hope someone'll have some insight, gallery 2.1 worked perfectly and I can't wait to play around with the new features in 2.2 :)

 
Stratego

Joined: 2007-03-18
Posts: 26
Posted: Sun, 2007-03-18 17:08

I forgot to include my specs.

Gallery version (not just "2"): 2.2 (2.1.2 and trying to upgrade)
PHP version (e.g. 4.3.11): 5.1.2 apache2handler
PHPInfo Link (see FAQ): http://www.myth0s.net/phpinfo.php
Webserver (e.g. Apache 1.3.33): Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a
Database (e.g. MySql 4.0.11):
Activated toolkits (e.g. NetPbm, GD): ArchiveUpload, SquareThumb, Exif, Getid3, Thumbnail, Gd, Dcraw, Ffmpeg, ImageMagick, NetPBM
Operating system (e.g. Linux): Linux sd-5294 2.6.17.6dedibox_r5_desktop #1 Thu Jul 20 20:50:14 CEST 2006 i686
Browser (e.g. Firefox 1.0): Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Language = fr_FR

 
Stratego

Joined: 2007-03-18
Posts: 26
Posted: Sun, 2007-03-18 19:56

Since my upgrade from 2.1.2 didn't work, I also tried with a full reinstall and I got the exact same problem.

The string on the authentification page (step 1) is always different from the downloadable login.txt file and both never work.

I've also tried every single package (except developper) with each method (upgrade or fresh install)

GHCC check : Final Status Report: Your PHP configuration check passed with flying colors!

 
severdia

Joined: 2005-09-16
Posts: 2
Posted: Mon, 2007-03-19 02:16

Also having the same problem here. Same setup. Major bummer.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-03-19 12:23

severdia

please create a new forum topic and provide as much information about your case as possible.
thanks.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Stratego

Joined: 2007-03-18
Posts: 26
Posted: Mon, 2007-03-19 20:09

I checked to see if the login string was different on the page from the one on the downloadable login.txt
IE7 Final : different
Firefox 2.0.0.2 : different
Mozilla 1.7.12 : same

Authentification worked perfectly on Mozilla obviously, and the rest of the installation process went fine.
I'm now going to test the upgrade on my previous 2.1.2 installation with Mozilla.

 
Stratego

Joined: 2007-03-18
Posts: 26
Posted: Mon, 2007-03-19 20:39

Upgrade from 2.1.2 to 2.2 using Mozilla 1.7.12 went like a charm.
No problems at all, it's working perfectly, but there's definetly a problem with IE7 and Firefox.
For both I had no cookies and the cache was empty.

Hope it'll help those of you who were stuck like me.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-03-20 00:44

Stratego

if you clear the cookie cache of firefox / internet explorer and then browse directly to g2's upgrader, it should work as fine as in mozilla.

but i'm glad you finally got it working.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
microscope
microscope's picture

Joined: 2005-02-15
Posts: 8
Posted: Tue, 2007-03-20 10:28

Hi, same problem for me (Firefox), same solution worked (killing all the cookies).

 
bweiner

Joined: 2007-03-20
Posts: 1
Posted: Tue, 2007-03-20 13:02

Hi, I've spent ages looking for the fix :-\ I think this should be added to the installer instructions as there may be others out there wondering why it isn't working... Or is there a chance that the session mechanism could be improved?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-03-20 13:43

we'll improve it in g2.3.
the problem is for most that they need to clear their cookie cache first. the reason for this is that g2's installer is using the standard php session / cookie name and other applications do that as well. thus there are some collisions / problems with the other apps installed on your website.
we'll address that in g2.3. it was too late to change something fundamental as that in g2.2.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage