Page 1 of 1

Install into different path

Posted: Mon Apr 04, 2005 1:42 pm
by Darren
My original blog was under the path /serendipity/, but after making somes changes on my site I renamed the directory to /dipity/. After downloading the latest beta I realised I was in a bit of a pickle.

I have not telnet/shell access to my host only cpanel with file manager installed. Normally I could upload the archive and just extract the file with paths and all was fine. Not any more! Now I wasn't going to spend hours moving each file via a web interface so I extracted the archive on my local drive, renamed the serendipity directory and had a look how to re-tar/gz the directory.

Lucky for me I was on Mac OS X so it worked with paths/permissions. But what about a windows user? or even a totally noob (I'm just above that level!)

I do think it would be a great install feature to upgrade the system via the web. I have seen some CMS software that could so this but can't remember it's name. They had an a link in admin section to check for updates and it would download them onto web server.

Would this be possible as a future feature for s9y?

Darren

Re: Install into different path

Posted: Mon Apr 04, 2005 3:09 pm
by garvinhicking
Usually there is no problem if you:

1. Download the latest version
2. Extract it to a folder on your harddrive
3. Transfer all files via FTP to your webpage

Existing directory permissions will not be changed, so this will work without any need for moving/renaming/retarring directories.

Apart from that, a web-based upgrader will not happen. The reason is easy: If Serendipity could update itself, it means that all files inside your s9y directory structure need to be world-writable. Only then can Serendipity download a file and overwrite existing files. But this is a real security implication, as on shared setups everyone will be able to modify your serendipity files.

Even though this feature would really rock, I'm afraid it has too many implications.

Regards,
Garvin