Question
After upgrading a fully working twiki installation from 01-dec-2001 to 01-feb-2003, attaching files does not work any more
Environment
More Details
After pressing the "Upload" button, the following error message appears in the browser:
Topic save error
During save of file Main.TestPage an error was found by the version control system. Please notify your TWiki administrator.
/usr/bin/ci -q -l -m'none' -t-none -w'EdgarHartsuiker' /home/edgar/twiki/pub/Main/TestPage/Test 2>&1
ci: /home/edgar/twiki/pub/Main/TestPage/RCS/Test: No such file or directory
Go back in your browser and save your changes locally.
Otherwise, everything seems to work ok.
Apache error log:
[Mon Jul 26 14:00:08 2004] [error] [client xxx.xxx.xxx.xx] File does not exist: /home/edgar/twiki/home/edgar/twiki/bin/oops/TWiki/TWikiRegistration
[Mon Jul 26 14:00:09 2004] upload: copy(/var/tmp/CGItemp12334, /home/edgar/twiki/pub/Main/TestPage/Test) failed: No such file or directory at /home/edgar/twiki/lib/
TWiki/Store/RcsFile.pm line 453.
Testenv link
shows the testenv output with a recent testenv script
TWiki.cfg shows my TWiki.cfg
--
EdgarHartsuiker - 26 Jul 2004
Answer
See the question at the end of
ProblemWithAttaching and answer it; you are probably having permissions problems, or you twiki is configured to point to a non-existant pub directory.
--
CrawfordCurrie - 26 Jul 2004
Thanks for the quick reply, you pointed me in the right direction. It was indeed a permission problem, sorry I didn't figure it out myself. My /twiki/pub/Main directory was not writable by user www-data. I still don't understand why it worked in the previous installation before I upgraded, as (at least in the backup of the installation) the /twiki/pub/Main (and other web directories) were not writable by user www-data....
Anyway, it works now, thanks a lot!!
--
EdgarHartsuiker - 26 Jul 2004