SID-01929: ci errors
| Status: |
Answered |
TWiki version: |
6.0.0 |
Perl version: |
Perl 5.18.2 |
| Category: |
CategoryVersionControl |
Server OS: |
Ubuntu 14.04 - Minimal Virtual Machine |
Last update: |
11 years ago |
I'm building a new web application server that will host our corporate Wiki and other applications. I am able to successfully install TWiki, and perform basic configuration using the configure script.
But once I log in, then try to modify some of the preferences in the
WebPreferences of a web, I get the following error:
/usr/bin/ci -m%COMMENT|U% -t-none -w%USERNAME|S% -u %FILENAME|F% of .../TWiki/WebPreferences.txt failed: 1
I have tried
RcsWrap and
RcsLite and
RcsLite provides other errors.
System details below
--
Dorien Takeshi - 2014-05-29
Discussion and Answer
Very possible a file ownership issue. Make sure all dirs and files below the twiki root are owned by the webserver user.
--
Peter Thoeny - 2014-05-29
Yup, good'ol chmod -R www-data that directory as part of my initial install. All folders are owned by the server, and all files in the data directory have RW.
--
Dorien Takeshi - 2014-05-29
Actually, what I have noticed, is that under my "Store" settings, the permissions appear as
Folder: 02523
File: 02264
I recall entering it as 0775 and 0664.
--
Dorien Takeshi - 2014-05-29
We got reports already that the octal number is converted by configure to some gibberish. Looks like a bug, but I can't reproduce it at this time. For now please revert back to original state by editing
twiki/lib/LocalSite.cfg:
$TWiki::cfg{RCS}{dirPermission} = 0755;
$TWiki::cfg{RCS}{filePermission} = 0644;
--
Peter Thoeny - 2014-05-29
To help debug, could you please try in configure script to set
{RCS}{dirPermission} to
0755, and
{RCS}{filePermission} to
0644. Please note that the leading
0 is significant, it denotes an octal number in Perl. The configure script will save the octal numbers in decimal format, so you will see
493 and
420 in
LocalSite.cg, respectively.
--
Peter Thoeny - 2014-05-29
Thanks, yeah, so I checked the $TWiki::cfg{RCS}{dirPermissions} value, and they appeared to be correct, although in the configure script it generates something else. However, they were wrapped with the '' marks, I removed those and everything works fine now.
--
Dorien Takeshi - 2014-05-30
I am glad it worked out. Once I can reproduce it we can fix the issue.
--
Peter Thoeny - 2014-05-30
Also, just deployed the
LdapContrib plugin, and the configure script has severely destroyed the Ldap settings, when editing the values, I'm getting weird characters etc being included.
--
Dorien Takeshi - 2014-06-03
That is very odd. Until this is fixed I recommend to edit
lib/LocalSite.cfg directly.
--
Peter Thoeny - 2014-06-03
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.