aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/changes_from_the_web_interface_fail_to_get_committed.mdwn
blob: 67a48a2e3a304cafa5d53ce5ec14923d91279059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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 <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." 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 """
<VirtualHost *:80>
        ServerAdmin root@localhost
        ServerName foo.example.com

        SuexecUserGroup o-cats o-cats

        UserDir disabled

        DocumentRoot /home/o-cats/public_html
        <Directory />
                DirectoryIndex index.html index
                AllowOverride None
        </Directory>
        <Directory /home/o-cats/public_html>
                Options Indexes MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>
        <Directory /var/www>
                Options ExecCGI
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>
        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"
</VirtualHost>
"""]]

What's going on all of a sudden? This is Debian wheezy. --[[anarcat]]

> Oh... it seems like this is related yet again to the disruptive git upgrade:
> 
>     [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
>
> So this is [[fixed|done]] as of 3.20130711. Shouldn't we backport to wheezy now? :) --[[anarcat]]