dockerbunker
dockerbunker copied to clipboard
Error when trying to restart all containers and starting all stopped containers
This is my first ever issue so be gentle
I am getting the error below when selecting #42 in this particular dialogue
36) Start all stopped containers
37) Stop nginx container
38) Restart nginx container
39) Renew Let's Encrypt certificates
40) Destroy everything
41) Stop all running containers
42) Restart all containers
43) Exit
#? 42
→ Checking service status
./dockerbunker.sh: line 186: /home/hbic/dockerbunker/data/services//.sh: No such file or directory`
Line 186 in dockerbunker.sh for me is
source "${BASE_DIR}"/data/services/${SERVICES_ARR[$choice]}/${SERVICES_ARR[$choice]}.sh
I also noticed that I get another error when trying to start all stopped containers
`Starting nginx container ✔
/home/hbic/dockerbunker/data/include/functions/menu_functions.sh: line 697: /home/hbic/dockerbunker/data/env/wordpress.env: No such file or directory
Starting containers
/home/hbic/dockerbunker/data/include/functions/menu_functions.sh: line 697: /home/hbic/dockerbunker/data/env/wordpress.env: No such file or directory
Starting containers
/home/hbic/dockerbunker/data/include/functions/menu_functions.sh: line 697: /home/hbic/dockerbunker/data/env/wordpress.env: No such file or directory
Starting containers
/home/hbic/dockerbunker/data/include/functions/menu_functions.sh: line 697: /home/hbic/dockerbunker/data/env/wordpress.env: No such file or directory
Starting containers
/home/hbic/dockerbunker/data/include/functions/menu_functions.sh: line 697: /home/hbic/dockerbunker/data/env/wordpress.env: No such file or directory
Starting containers
/home/hbic/dockerbunker/data/include/functions/menu_functions.sh: line 697: /home/hbic/dockerbunker/data/env/wordpress.env: No such file or directory
Starting containers
/home/hbic/dockerbunker/data/include/functions/menu_functions.sh: line 697: /home/hbic/dockerbunker/data/env/wordpress.env: No such file or directory
Starting containers
Restarting nginx container ✔
Done.`
I do seem to be able to individually go into each app/service and start the containers that way but not in any bulk or group
The apps I have enabled are:
- Ghost
- Hastebin
- Mailcow
- Mailpile
- Rocket.Chat
- Send
- Wekan
Let me know how I can assist in any troubleshooting or debugging
Hi @mosi1276, this is not you fault.
@chaosbunker FYI:
imho its a bug with a missing menu-entry within switch-case statement to recognize $restartall.
The menu should contain some menu-code, like the following fix from my dockerbunker-fork
"$restartall")
prevent_nginx_restart=1
restart_all
say_done
sleep 1
break
;;
greetings