From: https://id.koumbit.net/anarcat Date: Fri, 29 Nov 2013 04:46:50 +0000 (-0400) Subject: (no commit message) X-Git-Tag: debian/3.20140102~34^2~21 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/65c4c8ee77a887c7a3779ea473362bff16455116?hp=426ed67b32c625a9274d71b02a879b82a5a7ee39 --- diff --git a/doc/bugs/changes_from_the_web_interface_fail_to_get_committed.mdwn b/doc/bugs/changes_from_the_web_interface_fail_to_get_committed.mdwn new file mode 100644 index 000000000..b2c8c3117 --- /dev/null +++ b/doc/bugs/changes_from_the_web_interface_fail_to_get_committed.mdwn @@ -0,0 +1,65 @@ +For some reason, on a wiki hosted locally using [ikiwiki-hosting](http://ikiwiki-hosting.branchable.com), web edits do not get committed and pushed to the central repository anymore. + +For example, I just did an edit on the web interface, which went on without error, but then the modified files are not committed: + +[[!format txt """ +o-cats@marcos:~/source$ git status +# On branch master +# Changes not staged for commit: +# (use "git add ..." to update what will be committed) +# (use "git checkout -- ..." to discard changes in working directory) +# +# modified: 2014/summer.mdwn +# +no changes added to commit (use "git add" and/or "git commit -a") +"""]] + +The files and the .cgi are owned by the right user: + +[[!format txt """ +o-cats@marcos:~/source$ ls -al 2014/summer.mdwn +-rw-r--r-- 1 o-cats o-cats 2812 Nov 28 23:35 2014/summer.mdwn +o-cats@marcos:~/source$ ls -al /var/www/o-cats/ikiwiki.cgi +-rwxr-xr-x 1 o-cats o-cats 15596 Oct 4 12:16 /var/www/o-cats/ikiwiki.cgi +"""]] + +The virtual host is configured to run as the right user: + +[[!format txt """ + + ServerAdmin root@localhost + ServerName foo.example.com + + SuexecUserGroup o-cats o-cats + + UserDir disabled + + DocumentRoot /home/o-cats/public_html + + DirectoryIndex index.html index + AllowOverride None + + + Options Indexes MultiViews + AllowOverride None + Order allow,deny + allow from all + + + Options ExecCGI + AllowOverride None + Order allow,deny + allow from all + + ScriptAlias /ikiwiki.cgi /var/www/o-cats/ikiwiki.cgi + + ErrorLog /var/log/ikiwiki-hosting/o-cats/error.log + LogLevel warn + CustomLog /var/log/ikiwiki-hosting/o-cats/access.log combined + + + ErrorDocument 404 "/ikiwiki.cgi" + +"""]] + +What's going on all of a sudden? This is Debian wheezy. --[[anarcat]]