aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/changes_from_the_web_interface_fail_to_get_committed.mdwn
diff options
context:
space:
mode:
authorhttps://id.koumbit.net/anarcat <https://id.koumbit.net/anarcat@web>2013-11-29 00:46:50 -0400
committeradmin <admin@branchable.com>2013-11-29 00:46:50 -0400
commit65c4c8ee77a887c7a3779ea473362bff16455116 (patch)
treede7ba559b5da54b573c4db88251733032b5b69d7 /doc/bugs/changes_from_the_web_interface_fail_to_get_committed.mdwn
parent426ed67b32c625a9274d71b02a879b82a5a7ee39 (diff)
downloadikiwiki-65c4c8ee77a887c7a3779ea473362bff16455116.tar
ikiwiki-65c4c8ee77a887c7a3779ea473362bff16455116.tar.gz
Diffstat (limited to 'doc/bugs/changes_from_the_web_interface_fail_to_get_committed.mdwn')
-rw-r--r--doc/bugs/changes_from_the_web_interface_fail_to_get_committed.mdwn65
1 files changed, 65 insertions, 0 deletions
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 <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]]