Upgrade Fail

Having trouble installing serendipity?
Post Reply
Kevinized
Regular
Posts: 17
Joined: Fri Dec 02, 2011 5:41 pm

Upgrade Fail

Post by Kevinized »

After running the upgrade script, to version 1.6, I get this error;

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@acefilipini.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

How can I fix this?

Kevin
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Upgrade Fail

Post by garvinhicking »

Hi!

To which upgrade script are you referring to? What exactly did you perform? There actually is no upgrade script to execute, so I'm not sure what you're referring to.

A internal serrver error usually means something in read or write permissions on your webserver; check your CGI/PHP error log for more information what exactly is happening.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Kevinized
Regular
Posts: 17
Joined: Fri Dec 02, 2011 5:41 pm

Re: Upgrade Fail

Post by Kevinized »

Here are the errors
I'm not an experienced programmer so I don't know if this will help solve the problem.

I guess that the upgrade scripts for updating were created by my ISP

My ISP has a file manager that will change permissions, do I need to change permissions on all files in the folder that holds Serindipity or specific files?

_____________________________________
[Fri Dec 02 17:43:43 2011] [error] [client 80.243.182.202] File does not exist: /home/acefilip/public_html/500.shtml, referer: http://acefilipini.com/Blog/comment.php ... D=comments

[Fri Dec 02 17:43:43 2011] [error] [client 80.243.182.202] SoftException in Application.cpp:601: Directory "/home/acefilip/public_html/Blog" is writeable by group, referer: http://acefilipini.com/Blog/comment.php ... D=comments

[Fri Dec 02 17:27:31 2011] [error] [client 93.158.147.8] File does not exist: /home/acefilip/public_html/404.shtml
[Fri Dec 02 17:27:31 2011] [error] [client 93.158.147.8] File does not exist: /home/acefilip/public_html/robots.txt
[Fri Dec 02 17:27:31 2011] [error] [client 93.158.147.8] File does not exist: /home/acefilip/public_html/404.shtml
[Fri Dec 02 17:27:31 2011] [error] [client 93.158.147.8] File does not exist: /home/acefilip/public_html/robots.txt
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Upgrade Fail

Post by garvinhicking »

Hi!

That is only the 404 error log of apache, not the CGI/PHP error log. The only thing there that might make a problem is the "SoftError" thing about write permissions. You might want to contact your ISP on how the permissions of the main directory would need to be?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Kevinized
Regular
Posts: 17
Joined: Fri Dec 02, 2011 5:41 pm

Re: Upgrade Fail

Post by Kevinized »

Thanks Gavin,

I think these are the correct error logs.

open(/tmp/sess_fbeb2290189fa6bcad5a06d555ed5838, O_RDWR) failed: Permission denied (13) in /home/acefilip/public_html/Blog/serendipity_config.inc.php on line 16

[02-Aug-2011 22:27:28] PHP Warning: Unknown: open(/tmp/sess_16b5bf693fc0fe96f64e43831d8f5556, O_RDWR) failed: Permission denied (13) in Unknown on line 0

[02-Aug-2011 22:27:28] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

[02-Aug-2011 22:57:30] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]:

open(/tmp/sess_8bc74b4eb38272155edffb7f93c874ae, O_RDWR) failed: Permission denied (13) in /home/acefilip/public_html/Blog/serendipity_config.inc.php on line 16

[02-Aug-2011 22:57:30] PHP Warning: Unknown: open(/tmp/sess_9f181ec9bd186dcd061855045a950a51, O_RDWR) failed: Permission denied (13) in Unknown on line 0

[02-Aug-2011 22:57:30] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

______________________________

I changed permissions on serendipity_config.inc.php
But I'm not sure how to check the setting of session.save_path

If I'm wondering if I reinstall Serendipity, can I import the old database and make that work?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Upgrade Fail

Post by garvinhicking »

Hi!

Yes, definitely. You should forward those errors to your ISP, there seems to be something wrong with their session configuration.

The error is not due to serendipity, but the global PHP configuration of the server. They need to enter a proper session.save_path in the webserver config, nothing you can usually do from your end.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Kevinized
Regular
Posts: 17
Joined: Fri Dec 02, 2011 5:41 pm

Re: Upgrade Fail

Post by Kevinized »

Thanks for your help Garvin.
Post Reply