October 2, 20196 yr Hi, I downloaded this bliss docker in feb Author:romancin DockerHub:romancin/bliss Repository:DockerHub Repository Private Repository and although it works whenever it creates new files it does so with root privilages and gets itself in a knot. Is there a way I can get it to run as nobody? the files it tries to modify are set to nobody but it then tries to create a new file as root? Any help would be massively appreciated as I asked for help back in Feb on his github but yet to receive a reply. Thank you Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/11%20-%20Gruff%20Rhys%20-%20John%20Adoring%20at%20Yale.mp3 Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/12%20-%20Gruff%20Rhys%20-%20Set%20Fire%20to%20the%20Strings.mp3 Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/07%20-%20Gruff%20Rhys%20-%20After%20Hours_Tension.mp3 Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/04%20-%20Gruff%20Rhys%20-%20Tremble%20(Down).mp3 Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/10%20-%20Gruff%20Rhys%20-%20Log%20Cabin%203.mp3 Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/05%20-%20Gruff%20Rhys%20-%20Tremble%20to%20the%20Light.mp3 Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/22%20-%20Gruff%20Rhys%20-%20Dylan's%20Demons.mp3 Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/06%20-%20Gruff%20Rhys%20-%20Tremble%20(Up).mp3 Couldn't write artwork to enforce artwork count in file:/music/Artists-Bands/Gruff%20Rhys/Set%20Fire%20to%20the%20Stars/13%20-%20Gruff%20Rhys%20-%20After%20Hours_Tender.mp3
October 2, 20196 yr Looks like he is using our base image, so you can try to add the PUID and PGID variables to your template. PUID should be 99. PGID should be 100.
October 2, 20196 yr Author Thanks so much for that @saarg I tried it but no success sadly, I also removed the old USER_ID & GROUP_ID variables so got left with just the PUID & GUID as recommended but still have the same result sadly. Cannot understand why it is trying to create these files with these permissions The files in green are the files I put into the directory, the .new files are what the docker creates when trying to process them
October 2, 20196 yr It's simply because the author didn't care to set it up so you can set the user ID to have correct permissions.
October 2, 20196 yr Author Thanks for the reply @saarg I will try to learn how to find a way to do this, do you think it is possible to "fix" this docker or should I try to create one from scratch, please bear in mind I will be learning from zero. Again, thank you for your time.
October 2, 20196 yr 2 hours ago, mbc0 said: Thanks for the reply @saarg I will try to learn how to find a way to do this, do you think it is possible to "fix" this docker or should I try to create one from scratch, please bear in mind I will be learning from zero. Again, thank you for your time. The easiest would be to ask the author to fix it. Or create one from scratch.
October 2, 20196 yr Author ok, being trying to contact him since Feb with no joy so I will make this my project 🙂 Thank you
October 2, 20196 yr Can you do this? https://medium.com/redbubble/running-a-docker-container-as-a-non-root-user-7d2e00f8ee15
October 3, 20196 yr 9 hours ago, Squid said: Can you do this? https://medium.com/redbubble/running-a-docker-container-as-a-non-root-user-7d2e00f8ee15 That parameter I completely forgot about. Should work.
October 3, 20196 yr Author 13 hours ago, Squid said: Can you do this? https://medium.com/redbubble/running-a-docker-container-as-a-non-root-user-7d2e00f8ee15 Thanks so much for your post, what I read from that link is to do this? problem is the docker does not run due to access denied exception No existing installation in /?/.bliss/code. Will install from /bliss/lib java.nio.file.AccessDeniedException: /? at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) at java.nio.file.Files.createDirectory(Files.java:674)
October 3, 20196 yr Author ok, it's a shame as it works without the --user parameter just privileges are wrong. but with the --user parameter the docker won't load. I am going to have to try and learn how to make a docker from scratch I guess like @saarg suggested..
October 3, 20196 yr Author Haha well done tapatalk! 😄 This is the appdata I am using /mnt/cache/appdata/bliss2
Archived
This topic is now archived and is closed to further replies.