-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot access files on mounted volume #6
Comments
Did u use old files from another TS3-Install or was it a "fresh" install (/data/teamspeak was empty before running the container)? |
So, in general you dont need to keep the complete TS3-folder and put it into the /data/teamspeak-dir, because all runtime-files of the server are meant to stay inside the actual TS3-container. (Like the startscripts) |
Does the server in the docker image create the folder for the logfiles inside my /data/teamspeak or in a custom folder inside the docker image? But if you also dont know any more things which I can try, I will do some more research and try to fix this and will get back to you ^^ |
Sorry, i never tried to import old data ^^ |
Mh yes, there is a problem with the permissions ... didnt see this error message until now ... |
In the new beta-branch i implemented an ENV-variable to set the UID of the internal user in the actual container, maybe it is of any help: |
I figured out why i got problems with my permissions. Here I found the solution. I have to create the docker image with the Now everything works like a charm 👍 Thank you very much for your help @devalx |
You are welcome, thank you for sharing the solution! |
Thanks, the solution with the labels is working and is even better. Didnt see, that there is this option. Thank you very much |
Does the volume on my drive need special permission or a special user / group?
Do I have to create a user for each volume or do I have to launch the
docker run
command with a special user?I start the docker with the following command
docker run --name teamspeak -d -p 9987:9987/udp -p 30033:30033 -p 10011:10011 -v /data/teamspeak:/teamspeak3 devalx/docker-teamspeak3:latest
If i inspect the created container the correct folder is mounted in RW mode, but on start the ts3server.ini never can be found and everytime i get error messages...
ERROR: openFile( file:/teamspeak3/logs//ts3server_2016-02-18__20_38_58.281412_0.log) failed
My files are direct in the directory /data/teamspeak ...
/data/teamspeak/ts3server.ini
/data/teamspeak/ts3server.sqlitedb
...
Thank you very much, Raimund
The text was updated successfully, but these errors were encountered: