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.
directory /archives does not exist
-
holgerjakobs
- Regular
- Posts: 11
- Joined: Wed Aug 26, 2009 12:54 pm
- Location: Cologne/Germany
- Contact:
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: directory /archives does not exist
Hi!
Which tarball did you check? It exists in mine. Check your client, many unarchiving tools skip empty directories.
Regards,
Garvin
Which tarball did you check? It exists in mine. Check your client, many unarchiving tools skip empty directories.
You need that already due to the writing of serendipity_config_local.inc.php...Maybe the installation process tries to create /archvives, but I hesitate to give full write access to the / directory.
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/
# 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/
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: directory /archives does not exist
Perhaps information in permissions will help explain it. I recommend that you read this: http://www.s9y.org/36.html#A5
=Don=
-
holgerjakobs
- Regular
- Posts: 11
- Joined: Wed Aug 26, 2009 12:54 pm
- Location: Cologne/Germany
- Contact:
Re: directory /archives does not exist
garvinhicking wrote:Hi!
Which tarball did you check? It exists in mine. Check your client, many unarchiving tools skip empty directories.
You need that already due to the writing of serendipity_config_local.inc.php...Maybe the installation process tries to create /archvives, but I hesitate to give full write access to the / directory.
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
Regards,
Holger
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: directory /archives does not exist
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
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
# 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/
# 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/
-
holgerjakobs
- Regular
- Posts: 11
- Joined: Wed Aug 26, 2009 12:54 pm
- Location: Cologne/Germany
- Contact:
Re: directory /archives does not exist
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?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
Regards,
Holger
Last edited by holgerjakobs on Wed Sep 02, 2009 11:05 am, edited 1 time in total.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: directory /archives does not exist
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
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
# 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/
# 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/