crater-invoice / crater

Open Source Invoicing Solution for Individuals & Businesses
https://craterapp.com
GNU Affero General Public License v3.0
7.62k stars 1.53k forks source link

Crater installation via Docker still failing like 3 years ago #1230

Open noseshimself opened 1 year ago

noseshimself commented 1 year ago

Describe the bug See https://github.com/crater-invoice/crater/issues/236

The issue was closed without fixing it and still reports on its presence coming in.

The bug is using an arbitrary user ID that is known to be in use on several distributions AND a documentation error (you have to chown the crater tree to the UID the application will be running as AND you have to execute docker-compose/setup.sh after doing the chown step).

Expected behavior You follow the docs and the application is running.

Please complete the following information:

Optional info

Fix Create a new user using adduser and add that ID to .env. Use it in docker compose (also using the --user parameter on docker exec in setup.sh). Add an appropriate chown -R ID:GROUP to setup.sh