Jump to content
Keint

Docker stop, how to restart automatically all the container?

10 posts in this topic Last Reply

Recommended Posts

Hello !

I m running Unraid 6.8.0.
Everything work well, but sometimes, I don t know why and how, all my containers stop to work in dockers.
I m using PLEX and it s always a problem when the conteners stop work.
I m looking for a solution to always restart plex in any situation, to have it ON 7/7 24h

I try to use a script in CA USER SCRIPT
''docker update --restart unless-stopped plex''


But it s seems It doesn't work well ...

Sorry I m a noob... Maybe I m doing something wrong... 

Thanks for you help !

Cheers 

Screenshot 2020-07-12 at 23.20.52.png

Share this post


Link to post
9 hours ago, Keint said:

Everything work well, but sometimes, I don t know why and how, all my containers stop to work in dockers.

You should post the diagnostics after this happens.

Share this post


Link to post
14 hours ago, Keint said:

--restart unless-stopped

You don't need a script to do that.  Edit the application, and simply add that to the extra parameters (in advanced view)

Share this post


Link to post
Posted (edited)

thanks for you answer and you help  ! I was waiting it happen again to post the diagnostics. 
and boom! it s happen again tonight :P

 

It s maybe something with my cache HD ... ?
 

 

 

Capture d’écran 2020-07-19 à 21.23.33.png

tower-diagnostics-20200719-2124.zip

Edited by Keint

Share this post


Link to post

You have filesystem corruption on disk1, you need to check filesystem and since that was spamming the logs it's difficult to look for other issues, post new diags after fixing that when the issue re-occurs.

Share this post


Link to post
7 hours ago, johnnie.black said:

You have filesystem corruption on disk1, you need to check filesystem and since that was spamming the logs it's difficult to look for other issues, post new diags after fixing that when the issue re-occurs.

Thanks for your answer !
Where and what do I need to check ? I m  sorry, I m a noob... 
I had previously a corruption disk on disk 1 but now it s working well, look ok from the unraid page.

Thanks !
 

Screenshot 2020-07-20 at 17.27.51.png

Share this post


Link to post
1 minute ago, Keint said:

Where and what do I need to check ? I m  sorry, I m a noob... 

Instructions are on the linked wiki page.

Share this post


Link to post
6 hours ago, johnnie.black said:

Instructions are on the linked wiki page.

Sorry I read to fast ... 
So, I followed exactly what is on the wiki page.
I m waiting the issue to re-occurs, and I ll post again the diags


Thanks again for your help ! 

tower-diagnostics-20200721-0018.zip

Share this post


Link to post
On 7/20/2020 at 12:15 PM, johnnie.black said:

You have filesystem corruption on disk1, you need to check filesystem and since that was spamming the logs it's difficult to look for other issues, post new diags after fixing that when the issue re-occurs.

Hello,

The problem is back ! 
all my dockers stop to work at the same time :(((

Please kindly find attached the diag file...

Thanks a lot for your help !

tower-diagnostics-20200802-2111.zip

Share this post


Link to post

You're running a backup of the appdata at 3am.  Part of the standard process in the backup is (unless you tell it otherwise via advanced settings) to stop all of the containers.  They will restart when the backup (and optional verify) is completed.

Share this post


Link to post

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.