Question
I'm more curious than worried, when i run statistics, i get this error:
Content-type: text/plain TWiki detected an internal error - please check your TWiki logs and webserver logs for more information. RCS: failed to create file path: Permission denied
but it seems the stats still update.
I never use to get this, I can't think of a change I have done besides installing the tree plugin and modifying a color.css file.
Environment
--
GrazianoMisuraca - 25 May 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
That error is due to something not being able to write a file on disc due to permissions blockin it. Chances are you ran a stats update as another user and ended up with the wrong permissions on the file that stores WebStatistics. Have a look on your disc.
--
CrawfordCurrie - 26 May 2007
Somehow a few of the folders had owner/group of 33 (instead of apache).. and those were the webs with problems. I chown'd them to apache and it seemed to work, but is this what the problem was? and how did that happen?
NOTE: I also became unable to make new topics in TWiki and Sandbox webs, as well as save changes.. those were the only two webs with owner as 33.
--
GrazianoMisuraca - 28 May 2007
Update: Now that June has rolled on, I have another problem. June appears for each web on the statistics page, but no matter where from i update, every web's statistics are blanks (or Zeros) for that month, while May is fine.
--
GrazianoMisuraca - 05 Jun 2007
I have exactly the same problem, with June not updating. I changed a lot in my twiki install this month though. Maybe we can compare notes. I:
--
JosMaccabiani - 19 Jun 2007
i installed the
TreePlugin only, which apparently messed with my ownership... i just went into the root twiki directory as root and did a
chown -R apache:apache * and now it works
--
GrazianoMisuraca - 19 Jun 2007
Gotcha! I installed that one too, and
TreeBrowserPlugin. And
SearchSummaryPlugin.
Unfortunately I'm not as lucky as you are, since changing ownership doesn't solve my problem.
--
JosMaccabiani - 19 Jun 2007
do you get the same error on view statistics? paste it here.
--
GrazianoMisuraca - 19 Jun 2007
Got it. Another admin chowned all files in my /tmp directory to
root, so apache couldn't write to the log file...
--
JosMaccabiani - 21 Jun 2007
aha, good stuff.

QAPC
--
GrazianoMisuraca - 22 Jun 2007