I've installed TWiki, and it works great.
The only problem is when I make revisions. It just doesn't want to record the changes.
I can get it to record one set of changes, if I make a directory called
RCS in twiki/data/Main and set permissions to 777. However, it will only record additional changes as revision 1.2, throwing away all the previous versions.
My platform is:
FreeBSD isis.merrion.nua.net 2.2.8-STABLE
FreeBSD 2.2.8-STABLE #0: Mon Dec 14 17
:40:15 GMT 1998
tony@isisPLEASENOSPAM.merrion.nua.net:/usr/src/sys/compile/NUASERVER i3
86
The version of
RCS is
RCS version 5.7
Any ideas!?
Antoin -
antoin@nuaPLEASENOSPAM.ie
--
TWikiGuest - 18 May 2000
- Your RCS version is fine.
- Do not create a RCS directory. The repository files will be created in the web directory.
- Note that a new revision is created only after one hour of inactivity (no edit-preview-save) by the same user. this is to prevent unnecessary revisions.
- Can you see diffs of existing topics? What happens if you edit an existing topic? You need to delete the existing *,v files from the distribution if your CGI user is not 'nobody' (or unlock, then lock as your CGI user.)
- Look also at the httpd access and error log if you find something unusual.
Please set this topic to
BugResolved if it works. If not, give some more details.
--
PeterThoeny - 18 May 2000
Two things:
- As Peter said, you may have to remove all the *,v files if your server is running with a uid that isn't "nobody".
- Our server was recently upgraded from Solaris 2.5.x to 2.6.x. In the process, the command arguments to diff changed. Look in wikicfg.pm for the line:
$revDiffCmd = "$rcsDir/rcsdiff -q -w -B -r%REVISION1% -r%REVISION2% %FILENAME%";
I had to change the -B to -b. Check your rcsdiff and diff man pages to see if you have the correct flags set.
--
JohnAltstadt - 19 May 2000
Peter's comment looks like it was right. The problem was the amount of time between edits. Everything appears to be working fine now.
As a matter of interest, where is this one hour timeframe set? Is it in TWiki, or in
RCS?
Thanks to John and Peter for the help.
antoin -
antoin@nuaPLEASENOSPAM.ie
--
TWikiGuest - 19 May 2000
The time is set in
wikicfg.pm :
$editLockTime = "3600";
--
PeterThoeny - 19 May 2000