"Site is temporarily down for maintenance"

dcigary

Joined: 2002-12-13
Posts: 21
Posted: Sun, 2008-11-30 03:03


Gallery version : 2.3
PHP version : 5.0.4
PHPInfo Link :
Webserver : Apache 2.0.54
Database : 4.1.12
Activated toolkits : All sorts
Operating system (e.g. Linux): Fedora Core 4 2.6.12-1.1398_FC4smp
Browser (e.g. Firefox 2.0): Firefox 3.0.4

Recently upgraded to Gallery 2.3, and I'm running a multi-site installation. I ran the upgrade on all the sites, but now when I access one of the sites, I get "Site is temporarily down for maintenance.". I've checked that I'm not running in Maintenance mode by looking at the site's config.php and making sure that mode.maintenance is set to false. I put the site into debug mode to maybe glean any information and it comes up with:

Quote:
file_exists(/data01/garyalbums/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter language.useBrowserPref for core plugin file_exists(/data01/garyalbums/cache/module/core/0/0/0.inc) getParameter default.language for core plugin controller , view Loading plugin core Class not defined, trying to include it. file_exists(/usr/local/gallery2/modules/core/module.inc) core plugin successfully instantiated file_exists(/data01/garyalbums/versions.dat) file(/data01/garyalbums/versions.dat, )
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/gallery2/modules/core/classes/Gallery.class:764) in /usr/local/gallery2/main.php on line 185
Site is temporarily down for maintenance.

Anyone have any ideas?

 
dcigary

Joined: 2002-12-13
Posts: 21
Posted: Sun, 2008-11-30 19:53

Nevermind. I parsed through the debug output and found "maintenance-mode" in my versions.dat file. I removed it and Gallery is going through the upgrade again, which I guess is OK. Is this documented anywhere?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2008-12-01 04:12
Quote:
Is this documented anywhere?

Not that I know about, please feel free to put it in the codex some place.

So, versions.dat file in the g2data directory had a maintenance-mode as well as the other 2 lines?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
dcigary

Joined: 2002-12-13
Posts: 21
Posted: Mon, 2008-12-01 04:41

Yup, it did. First time I've seen that.

I'm guessing that what I thought was a successful upgrade wasn't, or something like that. I've got the site running 5 different sites for friends, relatives, etc, and I guess this site didn't get updated completely or something.

I dunno, it was pretty late that night... :)

Thanks, I will write something up for the codex.