docker-goaccess icon indicating copy to clipboard operation
docker-goaccess copied to clipboard

Support for read-only volumes

Open fatflyingpigs opened this issue 4 years ago • 2 comments

Not sure why goaccess would need write or execute access to my logs. Trying to run the volume as read-only results with:

...
chown: /opt/log/error.log.14.gz: Read-only file system
...```

At the very end it will give a `nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)`

fatflyingpigs avatar Jul 29 '21 23:07 fatflyingpigs

GoAccess does not require write access to the logs. However, nginx is used in tandem with goaccess in this container to centralize goaccess services through a single port, and fix some strange websockets behavior. I believe nginx attempts to create an error.log file if it does not exist, and/or make sure it can write to it.

GregYankovoy avatar Jul 30 '21 05:07 GregYankovoy

GoAccess does not require write access to the logs. However, nginx is used in tandem with goaccess in this container to centralize goaccess services through a single port, and fix some strange websockets behavior. I believe nginx attempts to create an error.log file if it does not exist, and/or make sure it can write to it.

What is path in unraid docker should be for /opt/log im using NginxProxyManager ? im having same error

masterwishx avatar Dec 07 '21 22:12 masterwishx