Tags:
create new tag
view all tags

Question

After upgrading a fully working twiki installation from 01-dec-2001 to 01-feb-2003, attaching files does not work any more

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, CommentPlugin, GnuSkinPlugin, SessionPlugin
Server OS: Debian (Knoppix) Linux, 2.4.22
Web server: apache 1.3.28
Perl version: 5.8.3
Client OS: Linux
Web Browser: Konqueror/firefox

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

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatcfg TWiki.cfg r1 manage 20.8 K 2004-07-26 - 14:38 UnknownUser  
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2004-07-26 - WillNorris
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.