Container enter infinite restart loop upon start #98
-
When starting the container, it keeps restarting in an infinite loop (--restart always). Without the --restart always, it just exits with error code 1. Steps to reproduce this issue
root@cetus:/# cat /docker-data/samba/config.yml
global:
share:
Expected behaviour
Actual behaviour
Configuration
Docker info
Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 1 reply
-
same here. happened out of the blue and not sure what is going on. in for the updates. EDIT: blew away the cache and lib folders and redeployed. All working now as expected! |
Beta Was this translation helpful? Give feedback.
-
Thanks for this, fixed mine up too |
Beta Was this translation helpful? Give feedback.
-
Maybe that was an unexpected db migration that broke smbd. |
Beta Was this translation helpful? Give feedback.
-
I'm seeing similar behaviour with this container but removing cache and lib isn't helping, it just hangs. any ideas? |
Beta Was this translation helpful? Give feedback.
-
I had that happen 2 nights ago when I rebuilt my docker host. Usually deleting the cache and lib folders fixes it like you tried but not this time for me either. I ended up recreating the data and scans folder as my username rather than having root owning them and it started working. |
Beta Was this translation helpful? Give feedback.
-
thanks but unfortunately I already tried that approach and that hasn't worked either. think it's a permsissions issue somewhere just can't find it |
Beta Was this translation helpful? Give feedback.
-
finally got it working this morning. permissions of lib/ and cache/ needed to be root:user 755 which for some reason they weren't when the container was first started up. any idea why that happened? should the container a PUID/PGID set in the environment? |
Beta Was this translation helpful? Give feedback.
same here. happened out of the blue and not sure what is going on. in for the updates.
EDIT: blew away the cache and lib folders and redeployed. All working now as expected!