error 500 (internal server error) after updating with CVS

schlieper

Joined: 2005-02-06
Posts: 18
Posted: Sun, 2005-02-06 19:13

I have been running a test system from early Jan and everything was fine (Liniux server, PHP4, MySQL 4.1, ImageMagick....
Today I wanted to try a new build and did run into problems. I used the CVS-update-method and afterwards performed the online-upgrade.

After loggin into my Gallery, I now always get the message:
error 500: Interner Serverfehler [internal server error]
Das angegebene Skript konnte nicht fehlerfrei ausgeführt werden!

Gallery don´t run anymore. (:-(

----

Gallery URL (optional): www.fotogemeinschaft.de
Gallery version: Newest Release of G2
Webserver (with version): ?
Datatabase (with version): ?
PHP version (eg 4.2.1): ?
phpinfo URL (optional): ?
Graphics Toolkit(s): ImageMagick and the other
Operating system: Linux
Web browser/version:
:cry:

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-02-06 19:15

sometimes cvs update destroys some files.
try this:
1. delete all g2 application files (not g2data)
2. cvs update -dP (or redownload G2)

 
schlieper

Joined: 2005-02-06
Posts: 18
Posted: Sun, 2005-02-06 19:39
valiant wrote:
sometimes cvs update destroys some files.
try this:
1. delete all g2 application files (not g2data)
2. cvs update -dP (or redownload G2)

There are 15 directories in my gallery2 main-directory:

lib
modules
gallery_remote

etc.

Which directories contain the application files ?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-02-06 19:49

all but g2data, or if g2data is outside your gallery2 dir, all.

 
schlieper

Joined: 2005-02-06
Posts: 18
Posted: Sun, 2005-02-06 20:34
valiant wrote:
all but g2data, or if g2data is outside your gallery2 dir, all.

I have tried this (with your CVS-Comand line), everything was copied new, but again:

error 500: Interner Serverfehler

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-02-06 20:40

http://www.path_go_g2/lib/tools/test/
Flush Cache
doesn't work neither?
And do you get 500 error in the installer too?

 
schlieper

Joined: 2005-02-06
Posts: 18
Posted: Mon, 2005-02-07 09:29
valiant wrote:
http://www.path_go_g2/lib/tools/test/
Flush Cache
doesn't work neither?
And do you get 500 error in the installer too?

I now get the following message while upgrading with the tool:

---------------------------
An error ocurred while upgrading Gallery Core Module

Something went wrong when we tried to upgrade the core module. In the boxes below you can find some debug information. Report this in the Gallery Forums and we'll help you diagnose the problem.
Stack Trace:
Error (ERROR_BAD_PLUGIN) : Unknown module version 0

* in modules/core/CoreModuleExtras.inc at line 84 (gallerystatus::error)
* in modules/core/module.inc at line 663 (coremoduleextras::upgrade)
* in modules/core/classes/GalleryModule.class at line 168 (coremodule::upgrade)
* in upgrade/steps/UpgradeCoreModuleStep.class at line 50 (coremodule::installorupgrade)
* in upgrade/index.php at line 146 (upgradecoremodulestep::loadtemplatedata)

-----------------------

I´v made an .txt-attachement of the dump.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-02-07 10:42

That's bad, something went wrong during the upgrade process.
What was the version before, the version from "early January"?

I try getting a guru [mindless] aboard ;)

 
schlieper

Joined: 2005-02-06
Posts: 18
Posted: Mon, 2005-02-07 10:59
valiant wrote:
That's bad, something went wrong during the upgrade process.
What was the version before, the version from "early January"?

I try getting a guru [mindless] aboard ;)

Thanks a lot for your help; i´ve started a total new install-process with CVS and now the Gallery is ok again; but I´m afraid of updating again with CVS:

My version now:

Core 0.8.12

With this version everything seems to be ok, but I know, that there is a newer core-module.

What would be your suggestion?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-02-07 11:17

I don't have many items in my G2, but I "cvs update -dP" every week or so and the G2 upgrade process works for me without problems...

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-02-07 16:10

i have no idea where those errors came from, but if you're afraid your cvs updates are getting corrupted files you can update from nightly snapshots instead. you can run the installer (gallery2/install) and just go up to step 2 where it runs the manifest check to see if all your file checksums are ok before you run thru the upgrader... hm, i wonder if we should make the upgrader run the manifest check?