Feedback .7 to .8 upgrade process

Having trouble installing serendipity?
Post Reply
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Feedback .7 to .8 upgrade process

Post by TKS »

Hi all,


Just wanted to let you know what happened during my upgrade from .7 to .8 today.


Everything went ok it guided me to the install process. The only problem is that I had to chmod all files in the base directory to 777 in order for serendipity to work with it. This isn't my idea of security though...so I went back in and chmod all the other stuff back to normal.

Question though: Why would this have to happen? Wouldn't writing a .sh script to chmod all the files to the right permission be a better route? Or perhaps a step by step instruction on which files in the base directory to change and then what to change them back to? If you have any questions on this install process, please let me know...I'll answer as best as I can.

PS: I run two blogs, one for me and one for my wife. I had to do the same thing for both.

PSS: Also, since nothing was rewritable in my base directory...no files were deleted from .7 previous install. So now I have all the files leftover and don't know what to delete.

PSSS: One more question on this. Previously, I had my layout.php file altered with a nav bar (horizontal) at the top of the page. Which tpl file do I alter to redo this? I thought it would be an html file for this...can someone point me in the right direction?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Feedback .7 to .8 upgrade process

Post by garvinhicking »

The reason for this is so that Serendipity could remove obsolete files. However this is not a needed step, I think the upgrader does tell you that if you do not change the permissions you can manually remove the listed files. It also points to the docs/CHANGED_FILES listing which also tells you which files to remove....as well does the upgrade information document on www.s9y.org. I honestly do think we have documented this issue quite well ;-)

We do not like to use .sh scripts because not many users have shell access to their Serendipity dir.

Note that a 777 is always required for the serendipity dir (only the root dir!) for upgrading/installing because otherwise serendipity_config_local.inc.php and .htaccess files cannot be created/removed/touched.

For your last question, this is also covered in our upgrade document on www.s9y.org.

Have fun! :)

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/
Post Reply