-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Smith schrieb am 29.05.2006 11:36: > Werner Flamme wrote: >> Hi, >> >> I installed DokuWiki via darcs and some plugins too (darcs, box, >> definitionlist, folded, latex). When calling Admin -> darcs >> repository, I sometimes see patches for the plugins, but for DokuWiki >> itself I'm told it's up to date. >> >> When I enter the DokuWiki directory in a shell and enter "darcs pull", >> the patches I read about in this mailinglist ("darcs changes") are >> pulled and applied - so DokuWiki was not up to date before. >> >> Someone else with this issue? The "generator" meta tag says I'm using >> "DokuWiki Darcs 2006-05-28" now. >> >> Regards, >> Werner > Darcs maybe failing when it is attempting to pull for DokuWiki. I did > have something similar happen to me once. I can't recall how I overcame > it. Sorry :) > > You may want to look at the permissions for your DokuWiki installation. > Darcs will probably be run under whatever user/group your webserver runs > under it may not have write access to its own files (or DokuWiki main > files). > > Cheers, > > Chris Chris, today I looked for the permissions in the repository: ls -l doku* dokuwiki: total 64 drwxr-xr-x 10 root root 4096 May 31 09:40 . drwxr-xr-x 28 wwwrun www 4096 May 22 10:22 .. - -rw-r--r-- 1 root root 976 May 22 10:22 .htaccess.dist - -rw-rw-r-- 1 wwwrun www 17992 May 22 10:22 COPYING - -rw-rw-r-- 1 wwwrun www 264 May 22 10:22 README drwxrwxrwx 7 wwwrun www 98 May 31 09:44 _darcs drwxrwxrwx 4 wwwrun www 4096 May 22 10:22 _test drwxrwxr-x 2 wwwrun www 63 May 22 10:22 bin drwxrwxr-x 2 wwwrun www 4096 May 26 10:04 conf drwxrwxr-x 8 wwwrun www 111 May 16 15:14 data - -rw-rw-r-- 1 wwwrun www 1937 May 22 10:22 doku.php - -rw-rw-r-- 1 wwwrun www 6106 May 29 10:55 feed.php drwxrwxr-x 6 wwwrun www 4096 May 30 09:57 inc - -rw-rw-r-- 1 wwwrun www 185 May 22 10:22 index.php drwxrwxr-x 8 wwwrun www 80 May 22 10:22 lib drwxrwxr-x 2 wwwrun www 6 May 22 14:59 phpincludes rz36:/srv/www/htdocs/dokuwiki/ # cd _darcs/ rz36:/srv/www/htdocs/dokuwiki/_darcs # ls -l total 36 drwxrwxrwx 7 wwwrun www 98 May 31 09:44 . drwxr-xr-x 10 root root 4096 May 31 09:40 .. drwxrwxrwx 2 wwwrun www 93 May 22 10:22 checkpoints drwxrwxrwx 8 wwwrun www 4096 May 29 10:55 current drwxrwxrwx 2 wwwrun www 4096 May 22 10:22 inventories - -rwxrwxrwx 1 wwwrun www 10896 May 30 09:57 inventory drwxrwxrwx 2 wwwrun www 8192 May 30 09:57 patches drwxrwxrwx 2 wwwrun www 88 May 31 09:40 prefs Then I did a "chmod 777 * -R" again, and entered "darcs pull" as root. darcs pulled 3 patches, but I told darcs not to apply them. I su'd to wwwrun and re-entered "darcs pull": wwwrun@rz36:/srv/www/htdocs/dokuwiki> darcs pull darcs failed: Not a repository: http://dev.splitbrain.org/darcs/dokuwiki Hmmmmm, that's obviously not true... Why does darcs recognize a repository when called by root and why does it not when called by wwwrun? The installed darcs rpm consists of 3 files: rpm -ql darcs | xargs ls -l - -rw-r--r-- 1 root root 1849 Apr 22 11:28 /etc/bash_completion.d/darcs - -rwxr-xr-x 1 root root 7928802 Apr 22 11:28 /usr/bin/darcs - -rw-r--r-- 1 root root 3127 Apr 22 11:28 /usr/man/man1/darcs.1.gz all files may be read by everyone. Hm. I renamed the dokuwiki subdir and did a "darcs get --partial http://dev.splitbrain.org/darcs/dokuwiki"; as wwwrun. Now "darcs pull" does not throw an error! Tomorrow I expect the darcs plugin to work properly... Why that? :-? Regards Werner - -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: werner.flamme@xxxxxx -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFEfVPdk33Krq8b42MRAgNaAJ9vORs6/NR4vsv0dpJEqt8w3BKp7ACfTPWU a62OWFvD7GCh77ZXo6sM1U8= =AprJ -----END PGP SIGNATURE----- -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist