Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to make a docker run as nobody? romancin/bliss

Featured Replies

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

 

image.png.2c3ffec375271186d147145bfce92933.png

 

image.thumb.png.5f1c62cfff607f5e9b8023be7db2710d.png

 

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

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.

  • 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

 

image.thumb.png.f13c6ed0adaee62f52bd065d7f265627.png

 

 

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

 

image.png.19a1f72959045b10774db2b2bf5f164b.png

It's simply because the author didn't care to set it up so you can set the user ID to have correct permissions.

  • 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.

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.

  • Author

ok, being trying to contact him since Feb with no joy so I will make this my project 🙂

 

Thank you

  • Author
13 hours ago, Squid said:

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

 

image.thumb.png.e2adb4206ac10cdcd19ed00c9d65e4bf.png

 

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)

They setting it to a different appdata folder

Sent from my NSA monitored device

  • 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.. 

Since tapatalk mangled my prior post, did you try a different appdata folder?

  • Author

Haha well done tapatalk! 😄

 

This is the appdata I am using

 

/mnt/cache/appdata/bliss2

 

 

  • Author

just tried /mnt/cache/appdata/bliss as well with the same result

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.