Update README.md

add some notes regarding permission errors
This commit is contained in:
LRVT 2023-04-02 17:42:17 +02:00 committed by GitHub
parent a2ae0fd5c0
commit 3627f0d091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,20 @@
# References # References
- https://github.com/RocketChat/Docker.Official.Image - https://github.com/RocketChat/Docker.Official.Image
# Notes
The mongodb container will likely throw a permission error when bein started for the first time.
````
error: 'An error occurred when creating an index for collection "users: getaddrinfo EAI_AGAIN mongodb',
reason: undefined,
details: undefined,
errorType: 'Meteor.Error'
````
Therefore, you have to adjust the permissions of the mongodb volume path. For example with the following command:
````
sudo chmod -R 777 /mnt/docker-volumes/rocketchat
````