]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/changes_from_the_web_interface_fail_to_get_committed.mdwn
Merge branch 'master' into debian-jessie-backports
[git.ikiwiki.info.git] / doc / bugs / changes_from_the_web_interface_fail_to_get_committed.mdwn
1 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.
3 For example, I just did an edit on the web interface, which went on without error, but then the modified files are not committed:
5 [[!format txt """
6 o-cats@marcos:~/source$ git status
7 # On branch master
8 # Changes not staged for commit:
9 #   (use "git add <file>..." to update what will be committed)
10 #   (use "git checkout -- <file>..." to discard changes in working directory)
11 #
12 #       modified:   2014/summer.mdwn
13 #
14 no changes added to commit (use "git add" and/or "git commit -a")
15 """]]
17 The files and the .cgi are owned by the right user:
19 [[!format txt """
20 o-cats@marcos:~/source$ ls -al 2014/summer.mdwn
21 -rw-r--r-- 1 o-cats o-cats 2812 Nov 28 23:35 2014/summer.mdwn
22 o-cats@marcos:~/source$ ls -al  /var/www/o-cats/ikiwiki.cgi
23 -rwxr-xr-x 1 o-cats o-cats 15596 Oct  4 12:16 /var/www/o-cats/ikiwiki.cgi
24 """]]
26 The virtual host is configured to run as the right user:
28 [[!format txt """
29 <VirtualHost *:80>
30         ServerAdmin root@localhost
31         ServerName foo.example.com
33         SuexecUserGroup o-cats o-cats
35         UserDir disabled
37         DocumentRoot /home/o-cats/public_html
38         <Directory />
39                 DirectoryIndex index.html index
40                 AllowOverride None
41         </Directory>
42         <Directory /home/o-cats/public_html>
43                 Options Indexes MultiViews
44                 AllowOverride None
45                 Order allow,deny
46                 allow from all
47         </Directory>
48         <Directory /var/www>
49                 Options ExecCGI
50                 AllowOverride None
51                 Order allow,deny
52                 allow from all
53         </Directory>
54         ScriptAlias /ikiwiki.cgi /var/www/o-cats/ikiwiki.cgi
56         ErrorLog /var/log/ikiwiki-hosting/o-cats/error.log
57         LogLevel warn
58         CustomLog /var/log/ikiwiki-hosting/o-cats/access.log combined
61         ErrorDocument 404 "/ikiwiki.cgi"
62 </VirtualHost>
63 """]]
65 What's going on all of a sudden? This is Debian wheezy. --[[anarcat]]
67 > Oh... it seems like this is related yet again to the disruptive git upgrade:
68
69 >     [Thu Nov 28 23:35:01 2013] [error] [client 2001:1928:1:9::1] Aborting commit due to empty commit message., referer: http://foo.example.com
70 >
71 > So this is [[fixed|done]] as of 3.20130711. Shouldn't we backport to wheezy now? :) --[[anarcat]]