[Piwik-trac] [Piwik] #202: Installation Failure - "couldn't write to some directories"

Piwik trac at piwik.org
Mon Apr 28 00:35:56 CEST 2008


#202: Installation Failure - "couldn't write to some directories"
---------------------+------------------------------------------------------
 Reporter:  Lucanos  |        Type:  Bug                 
   Status:  new      |    Priority:  major               
Milestone:           |   Component:  Core                
  Version:           |    Keywords:  install chmod config
---------------------+------------------------------------------------------
 Installed '''v0.1.5''' on SunFire V240 running Solaris 10, Apache v2.2.6,
 MySQL v5.0.45 (Standard) & PHP v5.2.4 .

 Initial visit returns message:
 {{{
 Piwik couldn't write to some directories.

 Try to Execute the following commands on your Linux server:
 chmod 777 /var/www/html/tools/piwik/config

 If this doesn't work, you can try to create the directories with your FTP
 ...
 }}}

 Directory Listing within /var/www/html/tools/piwik/:
 {{{
 minerva:/var/www/html/tools/piwik# ls -lash
 total 52
    2 drwxr-sr-x  10 root     root         512 Apr 23 14:02 .
    2 drwxr-xr-x   5 501      webservd     512 Apr 28 08:26 ..
    2 drwxr-sr-x   2 501      webservd     512 Apr 23 14:01 config
    4 -rwxr-xr-x   1 501      webservd    1.5K Apr  2 07:05 index.php
    2 drwxr-sr-x   2 501      webservd     512 Apr 23 14:01 lang
    2 drwxr-sr-x  12 501      webservd     512 Apr 23 14:02 libs
    2 -rw-r--r--   1 501      webservd      42 Mar 15 08:55 LICENSE
    2 drwxr-sr-x   5 501      webservd    1.0K Apr 23 14:01 misc
    2 drwxr-sr-x  13 501      webservd    1.0K Apr 23 14:01 modules
   14 -rw-r--r--   1 501      webservd    6.9K Mar 28 23:42 piwik.js
    6 -rw-r--r--   1 501      webservd    2.1K Apr 11 23:38 piwik.php
    2 drwxr-sr-x  23 501      webservd     512 Apr 23 14:01 plugins
    4 -rw-r--r--   1 501      webservd    1.2K Jan 14 15:40 README
    2 drwxr-sr-x   4 501      webservd     512 Apr 23 14:01 tests
    2 drwxr-sr-x   3 501      webservd     512 Apr 23 14:01 themes
    2 -rw-r--r--   1 501      webservd     806 Mar 28 12:12 TODO
 }}}

 Executed CHMOD as per instructions:
 {{{
 ...
    2 drwxrwsrwx   2 501      webservd     512 Apr 23 14:01 config
 ...
 }}}

 Refreshed webpage:
 {{{
 Piwik couldn't write to some directories.

 Try to Execute the following commands on your Linux server:

 If this doesn't work, you can try to create the directories with your FTP
 ...
 }}}
 (NOTE: Line which detailed suggested CHMOD command now absent. All other
 details identical.)

 I have also retested after removing the "Sticky" permission from the Group
 set, but with same results.

-- 
Ticket URL: <http://dev.piwik.org/trac/ticket/202>
Piwik <http://piwik.org>
Piwik, open source web analytics software


More information about the Piwik-trac mailing list