Page 1 of 1

upgrade version 1.2 to 1.3 installation loop

Posted: Tue Apr 08, 2008 10:47 pm
by tonnie
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]

Re: upgrade version 1.2 to 1.3 installation loop

Posted: Wed Apr 09, 2008 12:39 pm
by garvinhicking
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

Posted: Wed Apr 09, 2008 1:16 pm
by tonnie
Hi Garvin,

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

Posted: Mon Sep 15, 2008 2:08 pm
by steffl
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.

Posted: Mon Sep 15, 2008 2:14 pm
by steffl
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

Posted: Mon Sep 15, 2008 2:26 pm
by garvinhicking
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

Posted: Mon Sep 15, 2008 7:47 pm
by steffl
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.

Posted: Mon Sep 15, 2008 8:05 pm
by garvinhicking
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

Posted: Tue Sep 16, 2008 2:47 pm
by judebert
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.