diff options
author | Florent Poinsaut <florent@poinsaut.fr> | 2018-04-15 22:28:05 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-16 09:33:49 +0200 |
commit | 399d20eae6ec4e7a7fda1afd0e8b1a11a2cb1714 (patch) | |
tree | bdcfae14155f42e6ad8b3779ad8a7b50a2a9a2a4 /support/doc | |
parent | 864e782bc2306f7154a185361ebf94e6e86472e8 (diff) | |
download | PeerTube-399d20eae6ec4e7a7fda1afd0e8b1a11a2cb1714.tar.gz PeerTube-399d20eae6ec4e7a7fda1afd0e8b1a11a2cb1714.tar.zst PeerTube-399d20eae6ec4e7a7fda1afd0e8b1a11a2cb1714.zip |
use gosu to fix /data permissions errors
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/docker.md | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/support/doc/docker.md b/support/doc/docker.md index 3d25d06c4..e0c03a1dc 100644 --- a/support/doc/docker.md +++ b/support/doc/docker.md | |||
@@ -50,18 +50,6 @@ balancer, although any HTTP reverse proxy will work fine. See the example | |||
50 | Nginx configuration `support/nginx/peertube` file to get an idea of | 50 | Nginx configuration `support/nginx/peertube` file to get an idea of |
51 | recommendations and requirements to run PeerTube the most efficiently. | 51 | recommendations and requirements to run PeerTube the most efficiently. |
52 | 52 | ||
53 | When starting the containers for the first time, you will get permissions errors for the data volume, like this one: | ||
54 | |||
55 | ``` | ||
56 | Error: EACCES: permission denied, mkdir '/data/logs' | ||
57 | ``` | ||
58 | |||
59 | The peertube user inside the container has a UID and GID of 991 so you have to change the folder's owner, in the case you're using `./data`: | ||
60 | |||
61 | ``` | ||
62 | chown -R 991:991 data/ | ||
63 | ``` | ||
64 | |||
65 | **Important**: note that you'll get the initial `root` user password from the | 53 | **Important**: note that you'll get the initial `root` user password from the |
66 | program output, so check out your logs to find them. | 54 | program output, so check out your logs to find them. |
67 | 55 | ||