Page 1 of 1

Upgrader not called in deployment setup

Posted: Sun May 25, 2008 2:13 am
by dale
I use shared installation for my friends and manually copy the files over upon each upgrade. Whilst I was upgrading from v1.1.3 to v1.3.1, however, I did not see Upgrader, and the version number remained as v1.1.3.

This is what I did (I'm under the freshly unzipped directory).

Code: Select all

chmod 777 /var/www/vhosts/distract.org/web_users/name_of_my_user/serendipity_config_local.inc.php
cp --recursive --reply=yes deployment/* /var/www/vhosts/distract.org/web_users/name_of_my_user
cp --recursive --reply=yes templates /var/www/vhosts/distract.org/web_users/name_of_my_user
cp --recursive --reply=yes htmlarea /var/www/vhosts/distract.org/web_users/name_of_my_user
chown -R name_of_my_user.psaserv /var/www/vhosts/distract.org/web_users/name_of_my_user/*
chmod ug+rwx /var/www/vhosts/distract.org/web_users/name_of_my_user
chmod ug+rwx /var/www/vhosts/distract.org/web_users/name_of_my_user/uploads/
chown apache.apache /var/www/vhosts/distract.org/web_users/name_of_my_user/serendipity_config_local.inc.php
chmod 700 /var/www/vhosts/distract.org/web_users/name_of_my_user/serendipity_config_local.inc.php
An example of one of such blogs is my own blog: http://distract.org/~dale/two/

I have tried not doing the last line, i.e., the one that changes permission back to 700, but Upgrader still did not appear.

I did not run into this problem before. Any insight would be greatly appreciated. Thanks!

Re: Upgrader not called in deployment setup

Posted: Sun May 25, 2008 3:08 pm
by garvinhicking
Hi!

The upgrade screen should kick in when your $serendipity['version'] inside serendipity_config_local.inc.php differs from the version stored in serendipity_config.inc.php.

Check if your shared install base really has the new 1.3.1 serendipity_config.inc.php, or if a different version is contained in your file.

Also remember that the upgrader needsto beable to write to your serendipity_config_local.inc.php.

Regards,
Garvin

Posted: Sun May 25, 2008 5:27 pm
by dale
Thank you Garvin! :D