[SOLVED] Installation:Core module is only partially installe

rw32b2a

Joined: 2005-04-12
Posts: 2
Posted: Tue, 2005-04-12 11:21

Dear Gallery'ers
I got this error message while installing Gallery2 beta

Please help!!
thanks
rw32b2a
p.s. the information required is answered at the end of the post.

////////////////////////////
Error Message Bellow
////////////////////////////
Core module is only partially installed.

Error installing Gallery Core
Something went wrong when we tried to install 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:

Debug Output:
file_exists(/var/apache/htdocs/gallery2/g2datazhy//cache/entity)
file_exists(/var/apache/htdocs/gallery2/g2datazhy//cache/layout)
file_exists(/var/apache/htdocs/gallery2/g2datazhy//cache/module)
file_exists(/var/apache/htdocs/gallery2/g2datazhy//cache/derivative)
--------------------------------------------------------------------------------
(mysql): SHOW TABLES
--------------------------------------------------------------------------------

file_exists(/var/apache/htdocs/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc)
file_exists(/var/apache/htdocs/gallery2/g2datazhy//versions.dat)
////////////////////////////
Error Message above
////////////////////////////

----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
System checks passed with a warning:
Gallery file integrity Warning
Missing files 154
...
... file list ...
...

Gallery URL (optional but very useful):
http://tsatsa.csb.ki.se/gallery2/

Gallery version:
G2/current.gallery2.tar.gz 4309K 04-12-2005 03:33:09 AM from http://galleryupdates.jpmullan.com/

Apache version: 1.3

PHP version (don't just say PHP 4, please): PHP4
Graphics Toolkit: (don't really know how to check this)
Operating system: Solaris 10.x on PC
Web browser/version (if applicable): IE6 / Maxthon 1.2.2

 
Jordan_01002

Joined: 2005-02-14
Posts: 1535
Posted: Tue, 2005-04-12 13:05

This will probably get a faster answer if posted in the gallery 2.x support forum instead of the gallery 1.x. Fear not, though, I suspect a moderator will move it as soon as one sees it.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2005-04-12 17:08

[Moved to customizations]
Have no fear, h0bbel is here!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-04-12 17:39

rw32b2a, in the debug output you posted i can't see any error. please activate immediate debug mode in config.php. then try again running the installer.
if you get an error, tell us which step it is and post the complete debug output.
thanks.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-04-13 16:05

valiant, unfortunately when someone gets this error it means they won't have any information to give us... if anything detectable went wrong in the install it should be in the debug output... at the end of the install-core step I added this check to ensure the install really did complete. If this message appears it means the install did NOT complete but we don't know why (possibly the php process died and the user then clicked reload in the browser).
So basically if a user hits this we'll probably need to get ssh/ftp access and try it ourselves to see what went wrong.
So, rw32b2a, if you'd like help with this you can PM me ssh/ftp access for your server...

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-04-13 16:51

mindless, thanks for the explanation.

rw32b2a, please get the beta 2 release from http://sf.net/projects/gallery/ . as you had a lot of missing files in your last try, i want to make sure that all files are present and not modified before starting to debug.

 
rw32b2a

Joined: 2005-04-12
Posts: 2
Posted: Thu, 2005-04-14 12:08

Hi everybody,
The problem is solved!
(1) mindless told me to download a latest version.
Actually the version I used contained all files needed, but
this reminded me something. I used the following command to
decompress and untar the file:
(i) gunzip filename.tar.gz
(ii) tar -vxf filename.tar
without any warning message from my Sun Solaris 10.x (PC)
some files were not correctly decompressed. This, of course, led
to the problem later on.

SOLUTION (1): under Redhat 9, I used
tar -zvxf filename.tar.gz to uncompress the package.
No missing files warning showed up again.

(2) However, the installation still hung at step 7 (?) showing the same
error message as posted.
I checked the location where the debug infomation indicates, for instance
......
file_exists(/var/apache/htdocs/gallery2/g2datazhy//cache/entity)
......
the previous installation(s) made lots of directories including the
one above. the owner of these dir's is "nobody". When trying to
install again with exactly the same settings, this existing dir's
cannot be removed or replaced.
This could be the reason?? (I am not 100% sure).

SOLUTION (2): I made a new data dir for the new installation.
All passed!!!

Thanks for all of you.
I hope this little summary would help other people who have similar
problems.

Gallery2 is cool!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-04-14 12:11

great!

side note: when you install G2, you have to use really empty g2data dirs and a empty db. if they contain obsolete G2 data, things can get very wrong.
of course you can keep your g2data / db when you upgrade, that's another story.

 
jlpeifer

Joined: 2003-11-27
Posts: 5
Posted: Fri, 2005-04-22 19:59

OK, I was having the same problem as referenced in the original post. I read this thread and saw that "rw32b2a" had experienced problems when attempting to unzip this file using "gunzip". I too had been attempting to unpack this file using the following command... gunzip -c files.tar.gz | tar xvf - (where 'files.tar.gz' was replaced with the name of the Gallery2 gzipped, tarball I had downloaded).

After a failed first install attempt I went ahead and downloaded the .tar.gz file again directly to my web server, used the same command referenced above to unpack, created a new database and a new data directory, then repeated the install. Again I ran into identical problems.

Working off of rw's notes, I decided to download the plain-old zip file to the local hard drive of my Windows machine. I unzipped the file, and then uploaded the resulting files to my web server.

I also started a new database and created a new Gallery data directory... just to be certain that I had covered all bases.

After following this last procedure the install went through without a hitch.

Hope this helps someone out there!