Skip to content

Commit 616aad6

Browse files
authored
Added hint to docker install docs, that you need to run sudo with -E command
That should prevent isssues like in #882 and #871
1 parent bcc7547 commit 616aad6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/installation/installation_docker.md

+4
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ You also have to create the database as described above in step 4.
201201
You can run the console commands described in README by
202202
executing `docker exec --user=www-data -it partdb bin/console [command]`
203203

204+
{: .warning }
205+
> If you run a root console inside the container, and wanna execute commands on the webserver behalf, be sure to use `sudo -E` command (with the `-E` flag) to preserve env variables from the current shell.
206+
> Otherwise Part-DB console might use the wrong configuration to execute commands.
207+
204208
## Troubleshooting
205209

206210
*Login is not possible. Login page is just reloading and no error message is shown or something like "CSFR token invalid"*:

0 commit comments

Comments
 (0)