Question
I recently lost my Twiki Cairo Server due to a power surge (old server was Windows 2000 using cygwin, apache2). We have built a new dakar server and have recovered the original data from backups. The problem is that if we copy over the files into the new data/Main directory the *.txt,v files appear to cause a problem when editing the files. the error we get on save of an old recovered topic is:
=RCS: /usr/bin/rcs -l %FILENAME|F% failed: =
-or-
During save of Main.BenBurnettOld an error was found by the version control system. Please notify your TWiki administrator.
=/usr/bin/rcs -o%REVISION|N% %FILENAME|F% of /usr/share/twiki/data/Main/BenBurnettOld.txt failed: =
Go back in your browser and save your changes locally.
New topics are fine.
the old server created *.lock files and the new server creates *.lease files, this does not appear to have any affect on the problem. I have check the *.txt,v files and the old topics have format="1.0" and the new topics have format="1.1". Is there an
RCS conversion tool? I have checked various sites for something like this with no luck, a similar sounding support request (
http://twiki.org/cgi-bin/view/Support/UnableToSaveOldTopicsOnlyNewOnes ) didn't help either.
Thanks for any information or help that may help me solve my problem.
--
BenBurnett - 10 May 2006
Environment
--
TWikiGuest - 10 May 2006
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
Ben, I think you need to unlock the ,v files - see the third step in the manual upgrade procedure in
TWikiUpgradeGuide.
--
SvenDowideit - 11 May 2006
Thank you for your reply, We got it figured out, you are correct. The problem was with the
RCS locking and unlocking. The Twiki interface wasn't able to see that the files were no longer locked, or didn't need to be locked (difference in the Twiki Cairo 3.x version and the Twiki Dakar 4.0 version maybe) to fix the problem we had to break the locks:
rcs -u *.txt
we ran this as root, which changes the ownership of the files, so you have to make sure the ownership of the files are set back to the right user (in this case www-data)
Thanks for the help.
--BenBurnett - 11 May 2006
--
BenBurnett - 11 May 2006