January 14, 20233 yr 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 January 14, 20233 yr by smcdonald
January 14, 20233 yr 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.