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.

6.11.5 groupadd command inside docker container not found

Featured Replies

Hi @all,

 

this is my first post. I don't know if the place is correct so please say so if I should move this thread.

 

I installed UNRAID some days ago and love it. Started to install photoprism and stuff today. Also want to manage the directories myself and trigger the re-index per script.

 

I found a docker container inotify-command for watch on the import directory and trigger a script afterwards in which I would sort the image into the correct dir etc. In the docker container runs a script for create the correct user and group for remapping stuff. 

 

The script in the docker container logs following error:

/files/runas.sh: line 82: groupadd: command not found

 

When I exec into the container and execute groupadd there is no error. Anyone knows this problem when a script in the container does not find commands which should be there? 

 

I hope you get my question... No matter if you know the notify or not cause it should be a general problem, or?

 

thx,

 Stephan

Edited by smcdonald

  • smcdonald changed the title to 6.11.5 groupadd command inside docker container not found
  • Author

Nevermind. I think I got it. The docker image uses baseimage which runs following code:

 

PATH=/bin:/sbin:/usr/bin

# run all scripts in the run_once folder
if ! /bin/run-parts /etc/run_once
then
  echo "Run-once scripts failed. Stopping container"
  shutdown
fi

exec env - PATH=$PATH runsvdir -P /etc/service &

 

groupadd is not in the given PATH. No idea how I can change this. Maybe I will create a complete new docker image which also sort the images into the correct folders.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.