Page 1 of 1
directory /archives does not exist
Posted: Fri Aug 28, 2009 1:46 pm
by holgerjakobs
According to the documentation (section 2.2.2, page 56 in the German version of Garvin's book - does it exist in other languages?) the directory /archives should be there and the web server should be allowed to write to this directory.
Actually, it does not exist in the tarball, so that you have to create it manually. This does not hold true for /template_c and /uploads which exist alright.
Maybe the installation process tries to create /archvives, but I hesitate to give full write access to the / directory.
Re: directory /archives does not exist
Posted: Fri Aug 28, 2009 1:50 pm
by garvinhicking
Hi!
Which tarball did you check? It exists in mine. Check your client, many unarchiving tools skip empty directories.
Maybe the installation process tries to create /archvives, but I hesitate to give full write access to the / directory.
You need that already due to the writing of serendipity_config_local.inc.php...
Regards,
Garvin
Re: directory /archives does not exist
Posted: Fri Aug 28, 2009 5:18 pm
by Don Chambers
Perhaps information in permissions will help explain it. I recommend that you read this:
http://www.s9y.org/36.html#A5
Re: directory /archives does not exist
Posted: Mon Aug 31, 2009 8:14 am
by holgerjakobs
garvinhicking wrote:Hi!
Which tarball did you check? It exists in mine. Check your client, many unarchiving tools skip empty directories.
Maybe the installation process tries to create /archvives, but I hesitate to give full write access to the / directory.
You need that already due to the writing of serendipity_config_local.inc.php...
Regards,
Garvin
Code: Select all
$ tar tvzf serendipity-1.4.1.tar.gz |grep archives
drwxr-xr-x nobody/nogroup 0 2009-01-16 11:18 serendipity/deployment/archives/
-rw-r--r-- nobody/nogroup 0 2005-04-28 14:23 serendipity/deployment/archives/.ignore
-rw-r--r-- nobody/nogroup 1055 2005-12-24 13:44 serendipity/templates/default-rtl/entries_archives.tpl
-rw-r--r-- nobody/nogroup 1303 2006-02-07 20:30 serendipity/templates/default/entries_archives.tpl
-rw-r--r-- nobody/nogroup 1043 2005-07-22 03:55 serendipity/templates/wp/entries_archives.tpl
-rw-r--r-- nobody/nogroup 1930 2007-11-18 18:45 serendipity/templates/bulletproof/entries_archives.tpl
-rw-r--r-- nobody/nogroup 1387 2006-06-18 21:44 serendipity/templates/default-php/entries_archives.tpl
In the directory serendipity there is no directory archives. It's the tarball I downloaded from
http://www.s9y.org
Regards,
Holger
Re: directory /archives does not exist
Posted: Mon Aug 31, 2009 11:31 am
by garvinhicking
Hi!
Ah, I remember now, we removed that at some point to ensure that archives/ was written with the user permissions of PHP on the server (which is why the basedir needs write permissions, also for the config file)...
Regards,
Garvin
Re: directory /archives does not exist
Posted: Mon Aug 31, 2009 11:46 am
by holgerjakobs
garvinhicking wrote:Hi!
Ah, I remember now, we removed that at some point to ensure that archives/ was written with the user permissions of PHP on the server (which is why the basedir needs write permissions, also for the config file)...
Regards,
Garvin
Fine, so it's no actual problem. Only the installation routine should not complain that it cannot write on a directory which does not exist, but will be created later. Just remove the complaint. If the "." directory of serendipity is writable, everything is ok, isn't it?
Regards,
Holger
Re: directory /archives does not exist
Posted: Mon Aug 31, 2009 12:31 pm
by garvinhicking
Hi!
If "." is writable, then there should be no actual fatal error message aobut a missing 'archives', at least not on my test install?!
Regards,
Garvin