akaunting / docker

Docker Image for Akaunting
https://github.com/akaunting/akaunting
GNU General Public License v3.0
185 stars 86 forks source link

Enabling module rewrite. Error #49

Closed NajibNour closed 2 years ago

NajibNour commented 3 years ago

Ever since 2.1.21 Ive always had an issue with getting the new version of the latest docker image to run properly. On 2.1.25 and 2.1.26 image I seem to be getting a Module rewrite error. Enabling module rewrite. touch: setting times of '/var/lib/apache2/module/enabled_by_admin/rewrite': Operation not permitted ERROR: Failed to create marker '/var/lib/apache2/module/enabled_by_admin/rewrite'! To activate the new configuration, you need to run: service apache2 restart Module rewrite already enabled It then proceeds to time out with a 408 error This error does not show up on 2.1.21

I have a working image id of "9b238e4d0fde" wich i am using in the meantime. Version 2.1.21 More logs on 2.1.25/2.1.26.

172.20.0.2 - - [24/May/1935:10:40:33 +0000] "GET / HTTP/1.1" 302 1602 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" 172.20.0.2 - - [24/May/1935:10:40:33 +0000] "GET /1 HTTP/1.1" 200 12088 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" 172.20.0.2 - - [24/May/1935:10:40:33 +0000] "GET /1/common/widgets HTTP/1.1" 200 1624 "https://HOSTNAME.ca/1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" 172.20.0.2 - - [24/May/1935:10:40:33 +0000] "GET /1 HTTP/1.1" 200 12085 "https://HOSTNAME.ca/1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" 172.20.0.2 - - [24/May/1935:10:40:33 +0000] "GET /1/common/widgets HTTP/1.1" 200 1624 "https://HOSTNAME.ca/1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" 172.20.0.2 - - [24/May/1935:10:40:57 +0000] "GET /1/sales/invoices HTTP/1.1" 200 15177 "https://HOSTNAME.ca/1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" 172.20.0.2 - - [24/May/1935:10:40:33 +0000] "GET /public/vendor/opensans/fonts/OpenSans-Bold.ttf HTTP/1.1" 408 484 "-" "-" 172.20.0.2 - - [24/May/1935:10:40:33 +0000] "GET /public/js/common/documents.js?v=2.1.26 HTTP/1.1" 200 457319 "https://HOSTNAME.ca/1/sales/invoices" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" 172.20.0.2 - - [24/May/1935:10:40:33 +0000] "GET /1/sales/invoices HTTP/1.1" 408 484 "-" "-" 172.20.0.2 - - [24/May/1935:10:40:33 +0000] "GET /favicon.ico HTTP/1.1" 408 484 "-" "-" 172.20.0.2 - - [24/May/1935:10:40:33 +0000] "GET / HTTP/1.1" 408 484 "-" "-" 172.20.0.2 - - [24/May/1935:10:40:57 +0000] "GET / HTTP/1.1" 408 484 "-" "-" 172.20.0.2 - - [24/May/1935:10:40:33 +0000] "GET /favicon.ico HTTP/1.1" 500 16349 "https://HOSTNAME.ca/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36"

This only happens on this system. I have another same specs/architecture system that runs 2.1.26 just fine. Not sure whats going on.

some guidance would be appreciated. Thank you.

NajibNour commented 2 years ago

After digging into why Nextcloud started doing the same thing I found the following. https://github.com/nextcloud/docker/issues/1577#issuecomment-911744210

Witch then lead me to the fix of Fix/Workaround - libseccomp2 and Alpine 3.13 - Installing Raspbian Docker 19.04+ on Raspberry Pi 4 Buster

This fix ended up resolving my issue.