-
Notifications
You must be signed in to change notification settings - Fork 23
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
correct ownership of /external-media folder #7
Comments
I've looked into this, but am missing something and it's time to check in. Neither line 36 of the Dockerfile, nor my various attempts haven't been able to change folder ownership out of the box when an existing folder on the host is specified for All fresh containers I've created still show the following:
I've tried adding
at the very end of the Dockerfile, after firstrun.sh does its Media Setup business. Not even adding Thanks all! |
did not even create the folders. perhaps i'm misunderstanding something related to the way the volume is mounted in docker-compose? |
For me I found that I needed to change the permissions of my local folder external to docker and I just decided to do |
Documentation updated last week to address this, Ideally the files should be owned by the same owner on the parent host as the Libratime user within the container -- In reality this is probably never going to be the case if you're writing to directory from outside of the container as well, so it's will need to come back and have a closer look at this in the future, if you're only uploading files from within the Libretime UI it will be fine. |
Upon initial installation with a
LOCAL_MUSIC_MAPPING
path specified in the.env
file, I've been unable to upload audio files until I've manually changed ownership or permissions of the/external-media
folder (which by default is owned by1000:celery
) in order to give thewww-data
user permission to create theimported
andorganized
folders into which to copy files.Perhaps there is a better fix for this than my manual hack? This seems like precisely the kind of extra step that is frustrating to new users who have no experience troubleshooting.
I'm seeing this behaviour on fresh docker-ce installs in debian. no vm or sshfs complications, just a mounting a standard
755
folder owned by the default user in the host system.The text was updated successfully, but these errors were encountered: