how to upgrade

Having trouble installing serendipity?
Post Reply
periferral

how to upgrade

Post by periferral »

Hi I am running serendipity 0.8.3
can someone tell me how to upgrade to 0.9
thanks
yngexec
Regular
Posts: 17
Joined: Sun Dec 26, 2004 1:08 pm
Location: Cleveland
Contact:

Post by yngexec »

You should just be able to paste the new files over the existing ones.

see http://www.s9y.org/11.html for additional info first
ed

can't upgrade

Post by ed »

i tried to move up from 0.8beta6, copied the new files over the old ones, and my blog broke, but i can log into the admin page. the faq states "then go to your Serendipity Admin Panel, and you will see the Serendipity upgrader"- where exactly do i see the upgrader? i see nothing like it anywhere on the admin page...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: can't upgrade

Post by garvinhicking »

If you do not see the upgrader when logging in to your admin, you copied the files wrong.

What exactly did you do. Try to reproduce the steps in our FAQ one by one. My bet is that you didn't preserve your serendipity_config_local.inc.php file as mentioned in the FAQ.

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/
Guest

Post by Guest »

nope, i still have the serendipity_config_local.inc.php.

i simply extracted the files onto my local computer, then copied it onto the server, having it overwrite all files that were the same. then i went to the admin panel. that's pretty much all the instructions in the FAQ, unless i'm missing something...
Guest

Post by Guest »

finally got it working... after copying the files over directory by directory...
hbrecht
Posts: 3
Joined: Wed Jan 25, 2006 2:01 pm

Same problem

Post by hbrecht »

Hi,

I have nearly the same problem - the upgrader does not start.
I dont have overwritten the serendipity_config_local.inc.php (that has the permissions 777 btw), I just made a tar -xz serendipity....gz.
I have updated from many versions to higher ones during the time and the updater never appeared - I always made the things by hand.
But now the faq is much better (thanks a lot for that and for the whole, very nice software) and i thought now I am sure thats not my fault at all :-)
So please have you any suggestions?

Thanks in advance,
Valeri
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Same problem

Post by garvinhicking »

So you extracted all the files to your serendipity installation, overwriting existing files, right?

Please look at your serendipity_config_local.inc.php and see what it says for "versionInstalled". Then open the file "serendipity_config.inc.php" and check which version is says.

The first version from your local file should be something like '0.9.1'. The second version in the serendipity file should be '1.0-beta' or something like that.

Only if the versions differ, the serendipity upgrader will take action.

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/
hbrecht
Posts: 3
Joined: Wed Jan 25, 2006 2:01 pm

Re: Same problem

Post by hbrecht »

garvinhicking wrote:So you extracted all the files to your serendipity installation, overwriting existing files, right?
Yes, thats true. After that I changed the owner to www-data recursively (this is my webserver) for getting the webserver the rights to write.
garvinhicking wrote: Please look at your serendipity_config_local.inc.php and see what it says for "versionInstalled". Then open the file "serendipity_config.inc.php" and check which version is says.

The first version from your local file should be something like '0.9.1'. The second version in the serendipity file should be '1.0-beta' or something like that.

Only if the versions differ, the serendipity upgrader will take action.
$serendipity['versionInstalled'] = '0.9.1';
$serendipity['version'] = '1.0-beta1';

Exactly as it should be :-/

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

Re: Same problem

Post by garvinhicking »

Valeri,

which PHP version do you have installed? I believe there was a version of PHP with a bug in the version_compare() functionality that we use to compare version numbers.

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/
hbrecht
Posts: 3
Joined: Wed Jan 25, 2006 2:01 pm

Re: Same problem

Post by hbrecht »

Hi Garvin,
garvinhicking wrote: which PHP version do you have installed? I believe there was a version of PHP with a bug in the version_compare() functionality that we use to compare version numbers.
Thats 4.1.2, pretty old one... Do I have to fix a line of code in that case?

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

Re: Same problem

Post by garvinhicking »

Okay, 4.1.2 is really pretty outdated, and I believe it has that error. Serendipity requires PHP 4.3.0 for several other functions, so you should upgrade your PHP.

4.1.2 has a LOT of security issues you don't want to have on any server. Fixing the version compare logic can be done in your serendipity_config.inc.php file. But I don't have the time do write a manual version comparing function (because relying on version_comapre() with recent php versions should be okay), so you'll need to either upgrade or create a php-4.1.2-working check yourself ;-)

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/
Guest

Re: Same problem

Post by Guest »

garvinhicking wrote:Fixing the version compare logic can be done in your serendipity_config.inc.php file. But I don't have the time do write a manual version comparing function (because relying on version_comapre() with recent php versions should be okay), so you'll need to either upgrade or create a php-4.1.2-working check yourself ;-)
Ok, til I got the update I just defined IS_up2date to false and it worked properly.

Thanks a lot,
Valeri
tomtom76
Regular
Posts: 43
Joined: Sat Nov 19, 2005 9:24 pm
Contact:

Post by tomtom76 »

Ok, til I got the update I just defined IS_up2date to false and it worked properly.
hi! i have the same problem... how did you define IS_up2date to false?

thank you
tom
tomtom76
Regular
Posts: 43
Joined: Sat Nov 19, 2005 9:24 pm
Contact:

Post by tomtom76 »

found it :)

upgrade done, thank you!
Post Reply