1.4 upgrade problems on NSLU2

Having trouble installing serendipity?
Post Reply
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

1.4 upgrade problems on NSLU2

Post by sonichouse »

I am running serendipty 1.3 happily on my 32mb 266mhz ARM slug - not the biggest/fastest server on the planet I know.

When I try to upgrade to 1.4 the web page just times out.

Watching the process on the box my php-cgi is running at 100% cpu for a good length of time after the web page fails.

I have tried the upgrade in IE7 and Flock, neither complete.

Is there anything I can do to debug this ?
Steve is occasionally blogging here
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 1.4 upgrade problems on NSLU2

Post by garvinhicking »

Hi!

Do you get anything when you open your blog, any admin page?

Did you upload the new files and made sure there are no missing files?

I wouldn't know why the webpage should timeout. I would add some exit's/die's inside the serendipity_Admin.php file to see at which place it bails out?

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/
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Re: 1.4 upgrade problems on NSLU2

Post by sonichouse »

garvinhicking wrote:Hi!
Do you get anything when you open your blog, any admin page?
If I go to my test blog site I get

Code: Select all

Serendipity has detected that your currently installed Serendipity version is 1.3.1. It seems you are attempting to upgrade to version 1.4-beta1, so you need to click here to continue the upgrade process. 
Going to the admin page times out.
garvinhicking wrote:Did you upload the new files and made sure there are no missing files?
I did gunzip and then tar -vcf with no errors reported.
garvinhicking wrote:I wouldn't know why the webpage should timeout. I would add some exit's/die's inside the serendipity_Admin.php file to see at which place it bails out?
Will do....
Steve is occasionally blogging here
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 1.4 upgrade problems on NSLU2

Post by garvinhicking »

Hi!

Okay, so it seems that the simple serendipity_Admin.php page is somehow timeing out.

I bet it's related to the checksum generation code. s9y 1.4 comes with a tool that verifies all of your files and generates md5 checksums.

On your server, this could indeed take a long time. You might want to raise your maximum execution time, I bet after 3-4 minutes you should be able to get a result. This is only done once on each upgrade, so it shouldn't affect the actual running time.

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/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Alternatively, if you delete the file "checksums.inc.php' from your serendipity directory, the installation verification code will skip its time-consuming check.

And if you *do* want to run verification, but you can't afford the time, you can remove a bunch of the lines from checksums.inc.php. I'd probably remove anything with the word "templates/" in it, for a start. Then you'll have a lot fewer files to check, and it'll take less time.
Judebert
---
Website | Wishlist | PayPal
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Post by sonichouse »

OK, thanks for the tip.

I renamed the checksums.inc.php temporarily, and the admin page now comes up.

I see

Code: Select all

Hi, and welcome to the Serendipity upgrade agent.
I am here to help you upgrade your Serendipity 1.3.1 installation.
You are seeing this message because you have just installed Serendipity 1.4-beta1, but have not yet upgraded your database installation to fit this version.
First we will take a look at your current setup and attempt to diagnose any compatibility problems.


Errors are displayed in red, recommendations in yellow and success in green.

Permissions 
/opt/share/www/cherokee//devblog/serendipity/ Writable 
/opt/share/www/cherokee//devblog/serendipity/templates_c Writable 
/opt/share/www/cherokee//devblog/serendipity/uploads/ Writable 



Version specific tasks:
No version specific tasks found 


--------------------------------------------------------------------------------
It appears you do not need any upgrades run 

Consider Serendipity upgraded 
It wasn't obvious to me that I had to click the link that says "Consider Serendipity upgraded" for it to complete upgrade, but once I had done that I got the blog back up.

Thank you all :lol:
Steve is occasionally blogging here
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

Post by konus »

I suggest to rename the button "Consider Serendipity upgraded". The german translation is also a little bit hard to understand.

"Get ready" or "Finish and go back to blog" would be better in my opinion.
hgoor
Regular
Posts: 297
Joined: Thu Jan 06, 2005 11:46 am

Re: 1.4 upgrade problems on NSLU2

Post by hgoor »

sonichouse wrote:I am running serendipty 1.3 happily on my 32mb 266mhz ARM slug - not the biggest/fastest server on the planet I know.

When I try to upgrade to 1.4 the web page just times out.

Watching the process on the box my php-cgi is running at 100% cpu for a good length of time after the web page fails.

I have tried the upgrade in IE7 and Flock, neither complete.

Is there anything I can do to debug this ?
Hey: I have a NSLU2 lying here doing nothing: how the heck are you running *anything*on it? Doesn't it require a harddisk attached to it? I mean: the thing itself has hardly any memory?

Did you use Unslung or something like that?

I bought it years ago thinking it might be a good NAS solution, but it's so damn slow that it's unuseable. I always regret buying it...

Thanks!
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")

Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Re: 1.4 upgrade problems on NSLU2

Post by sonichouse »

hgoor wrote:Hey: I have a NSLU2 lying here doing nothing: how the heck are you running *anything*on it? Doesn't it require a harddisk attached to it? I mean: the thing itself has hardly any memory?

Did you use Unslung or something like that?

I bought it years ago thinking it might be a good NAS solution, but it's so damn slow that it's unuseable. I always regret buying it...

Thanks!
I have a 1gb memory stick that runs Unslung.
The other USB port has a 200gb hard drive with all of my music on it - this is shared using mt-daapd to my home network very happily.

For a little machine it is very useful, it also runs my secure VPN using openVPN.

Considering it only draws 5w of electricity and makes no noise it is ideal to sit in my lounge as well :-)
Steve is occasionally blogging here
hgoor
Regular
Posts: 297
Joined: Thu Jan 06, 2005 11:46 am

Re: 1.4 upgrade problems on NSLU2

Post by hgoor »

sonichouse wrote:
hgoor wrote:Hey: I have a NSLU2 lying here doing nothing: how the heck are you running *anything*on it? Doesn't it require a harddisk attached to it? I mean: the thing itself has hardly any memory?

Did you use Unslung or something like that?

I bought it years ago thinking it might be a good NAS solution, but it's so damn slow that it's unuseable. I always regret buying it...

Thanks!
I have a 1gb memory stick that runs Unslung.
The other USB port has a 200gb hard drive with all of my music on it - this is shared using mt-daapd to my home network very happily.

For a little machine it is very useful, it also runs my secure VPN using openVPN.

Considering it only draws 5w of electricity and makes no noise it is ideal to sit in my lounge as well :-)
Ok: did you use any particular how-to for this? Any links you think are useful?

Would appreciate the info!
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")

Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Post by sonichouse »

It was a good while ago when I installed everthing. The best site is http://www.nslu2-linux.org/wiki/Unslung/HomePage for general info/help.

Firefly music server can be found at http://www.fireflymediaserver.org/

I was using cherokee web server - http://www.cherokee-project.com/

HTH - have fun....
Steve is occasionally blogging here
hgoor
Regular
Posts: 297
Joined: Thu Jan 06, 2005 11:46 am

Post by hgoor »

thanks, I'm going to check it out sounds cool!
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")

Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
Post Reply