upgrade version 1.2 to 1.3 installation loop

Having trouble installing serendipity?
Post Reply
tonnie
Regular
Posts: 13
Joined: Tue Apr 08, 2008 10:38 pm
Location: netherlands
Contact:

upgrade version 1.2 to 1.3 installation loop

Post by tonnie » Tue Apr 08, 2008 10:47 pm

On upgrading my version 1.2 the installation went into a loop by telling me serendipity found a new version and wanted to install.

After clicking on 'upgrade' the adminpannel shows up that states everything went oke and i didn't have to make anny extra changes.

Clicking on the button 'to new version' i landed on the page that stated there was a new version, then back to the adminpannel and so on.

I checked, double checked and could not found the answer to the problem. Until, i thought it might be a problem with the system knowing it had a new version installed and ready.

Checking the config files and in the file serendipity_config_local.inc.php the versionnumber indeed was still 1.2

Changed the number, saved the file and uploaded it to the server.

Problem fixed. Checked the blog and it seems everything is a oke.

Hope to have helped someone with the same problem.

Grts,

Tonnie

Ps. Wrote about it on my blog in Dutch: http://vision2form.nl/webontwerp/seo-ni ... -loop.html

[/b]
Vision2form webdesign & seo

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: upgrade version 1.2 to 1.3 installation loop

Post by garvinhicking » Wed Apr 09, 2008 12:39 pm

Hi!

Usually this only happens if serendipity_config_local.inc.php is not writable for the PHP server, and you suppress PHP error messages that might have notified you about this.

I thought the upgrade had a check if that file was writable, wasn'T there any output regarding this?

Anyways, thanks for putting a pointer here.

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/

tonnie
Regular
Posts: 13
Joined: Tue Apr 08, 2008 10:38 pm
Location: netherlands
Contact:

Post by tonnie » Wed Apr 09, 2008 1:16 pm

Hi Garvin,

No, there wasn't any error message. Everything went a oke until i pressed the 'go to blog' button.
Vision2form webdesign & seo

steffl
Regular
Posts: 7
Joined: Thu May 17, 2007 2:18 am
Location: Germany
Contact:

Post by steffl » Mon Sep 15, 2008 2:08 pm

I have exactly the same problem here, though I am upgrading from 1.3 to 1.3.1. I am always getting into this loop. Everything goes fine without any error message, but on the start-page there is still only the upgrade request message.

steffl
Regular
Posts: 7
Joined: Thu May 17, 2007 2:18 am
Location: Germany
Contact:

Post by steffl » Mon Sep 15, 2008 2:14 pm

After changing serendipity_config_local.inc.php manually, to get my blog working again I checked, if S9Y was right, by telling me all the writing permissions are met. All I can see is that apache is only allowed to access and execute this file, but not read it. On our server we work with ACL¹, maybe that's a hint.

----
¹Access Control Lists

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Mon Sep 15, 2008 2:26 pm

Hi!

Hm, that sounds like serendipity_config_local.inc.php is really not writable. Can you temporarily give it 777 privileges to see if apache/php can write to it?

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/

steffl
Regular
Posts: 7
Joined: Thu May 17, 2007 2:18 am
Location: Germany
Contact:

Post by steffl » Mon Sep 15, 2008 7:47 pm

That's not the problem, like I said I got it working already. I just think the detection to check if the file is writeable, doesn't work properly. Otherwise an error would have appeared during the upgrade process.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Mon Sep 15, 2008 8:05 pm

Hi!

Hm, s9y uses the PHP "is_writable" function...if that would return true, but write access is notgiven, I wonder how else we could check it?!

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/

User avatar
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert » Tue Sep 16, 2008 2:47 pm

Well... I suppose we could write a random rewrite rule, then try to read it in again.

But is_writable should return the correct value.
Judebert
---
Website | Wishlist | PayPal

Post Reply