Gallery version = 2.2-cvs core 1.1.2
originally 2.0-rc-1+ core 0.9.34, prior to upgrade
PHP version = 4.3.10 cgi
Webserver = Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a PHP-CGI/0.1b
Database = mysql 4.0.27-standard, lock.system=flock
Toolkits = ArchiveUpload, Exif, NetPBM
Acceleration = none, none
Operating system = Linux 2.6.10-1.771_FC2smp
Default theme = matrix
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
I just performed an upgrade from Gallery 2.0-rc-1+ (core 0.9.34) to the current version via CVS - the command I used was:
cvs -t -d :pserver:anonymous@gallery.cvs.sourceforge.net:/cvsroot/gallery update
The CVS update started up w/o issue, starting with...
Quote:
-> main loop with CVSROOT=:pserver:anonymous@gallery.cvs.sourceforge.net:/cvsroot/gallery
-> Connecting to gallery.cvs.sourceforge.net(66.35.250.82):2401
...and then scrolling thru hundreds of files; but ultimately it ended with an error; trailing portion of output follows...
Quote:
<snip>
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
cvs update: Updating upgrade/styles
S-> Reader_Lock(/cvsroot/gallery/gallery2/upgrade/styles)
S-> Lock_Cleanup()
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
cvs update: Updating upgrade/templates
S-> Reader_Lock(/cvsroot/gallery/gallery2/upgrade/templates)
S-> Lock_Cleanup()
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
cvs update: dying gasps from gallery.cvs.sourceforge.net unexpected
I tried the same command several more times, but it continued to fault with the same "dying gasps" error ... and it always died just after the unlink_file(CVS/Entries.Log) line - does anyone know what this ENTRIES.LOG file is?
Anyway, I chanced it and accessed the g2 web admin console, whereupon it immediately started the "Gallery 2.1 Upgrader" ... the updater seemed to be functional, so I continued on; it worked ok for the most part, though one anomaly during this web portion of the upgrade was the following, in the "system check" (step 3, iirc):
Quote:
Missing files (1168)
Note: You're running Gallery from CVS, so recently removed files may appear here. It might be safe to ignore these.
Modified files (57)
Note: You're running Gallery from CVS, so some modified files are to be expected. You can probably ignore these, but to be safe you should make sure that you do cvs update -Pd before continuing.
Old files (1572)
These files are no longer part of Gallery. They probably won't cause any problems but it is a good idea to remove them to keep your install clean. Gallery can't remove these files for you, but you can download and run this script in your gallery2 directory to delete them for you.
Continuing on, though, the good news is that the core version updated w/o issue (in fact, the version info you see at the top of this post is post-upgrade)...here's the info displayed just prior to the core upgrade:
Core Module Upgrade:
Currently installed 0.9.34
New version 1.1.2
Config.php upgrade Required
However, during the "modules update" my luck ran out, and I ran into a series of issues/faults - was ultimately able to complete this step (and update *most* of the modules) by disabling the ffmpg module. Too, the "ImageMagick" and "URL Rewrite" modules appear to have failed the update (former didn't display an error during update, but the error displayed for the latter was Fatal error: Cannot instantiate non-existent class: modrewriteparser in /home/arc/public_html/webapps/gallery2/modules/rewrite/classes/RewriteHelper.class on line 74; and a current poll in site admin shows that the "URL Rewrite" module is not even installed).
Which brings me to the present and the matter at hand - the gallery albums seem to be working ok, but I'm having a problem with accessing the PLUGINS section of the Site Admin tool - upon selecting _any_ action for a given plugin (e.g., install, configure, deactivate, etc), the browser immediately displays an error page:
Quote:
Not Found
The requested URL /webapps/gallery2/module was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Really very odd - I checked the server, and sure enough in the "webapps" dir (where I have the gallery2 instal;" there is *no* MODULE directory; there is, however, a MODULES directory?!? So I tried renaming this latter dir to MODULE; but this only resulted in changing the error to:
Quote:
Forbidden
You don't have permission to access /webapps/gallery2/module/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Too, it cause some weird issues with the rest of the site admin console, so I quickly changed the dir name back to MODULE.
Re: the "forbidden" access error - this was odd, because said folder has drwxr-xr-x rights, as do all the files/folders within. For instance, here's a list of the imagemagick module's directory
drwxr-xr-x 10 arc arc 4096 Jun 23 01:37 .
drwxr-xr-x 50 arc arc 4096 Aug 14 2005 ..
-rw-r--r-- 1 arc arc 8762 Jun 23 01:37 AdminImageMagick.inc
drwxr-xr-x 2 arc arc 4096 Jun 23 01:37 CVS
-rw-r--r-- 1 arc arc 10770 Jun 23 01:37 MANIFEST
drwxr-xr-x 3 arc arc 4096 Jun 23 01:37 classes
drwxr-xr-x 3 arc arc 4096 Jun 23 01:37 data
drwxr-xr-x 3 arc arc 4096 Aug 14 2005 debug
drwxr-xr-x 26 arc arc 4096 Aug 14 2005 locale
-rw-r--r-- 1 arc arc 9521 Jun 23 01:37 module.inc
drwxr-xr-x 3 arc arc 4096 Jun 23 01:37 po
drwxr-xr-x 3 arc arc 4096 Jun 23 01:37 templates
drwxr-xr-x 7 arc arc 4096 Aug 14 2005 test
Any thoughts re: what could have broken and caused the modules to flaked out, and how to resolve? I'm guessing that the problems I'm seeing are due to the original problem with the CVS update, where it aborts; if this is the case, was hoping someone could advise what this "dying gasps" error means, and how to resolve it?