# Docker restart necessary?

**URL:** <https://vaultwarden.discourse.group/t/docker-restart-necessary/1546>\
**Category:** Help\
**Created:** [March 30, 2022, 12:36pm UTC](https://vaultwarden.discourse.group/t/docker-restart-necessary/1546 "2022-03-30T12:36:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dormi98](https://avatars.discourse-cdn.com/v4/letter/d/c4cdca/32.png) [@Dormi98](https://vaultwarden.discourse.group/u/Dormi98)\
**Post date:** [March 30, 2022, 12:36pm UTC](https://vaultwarden.discourse.group/t/docker-restart-necessary/1546/1 "2022-03-30T12:36:38Z")

</div>

Hello!

I installed vaultwarden version 2.25.1 using docker on a my debian server using [this](https://stuxsociety.co/self-hosting-vaultwarden-password-manager/) toturial.

Everything runs fine. But after 1 or 2 days. I get a bad gateway error from the nginx reverse proxy.  
I can get everything running by stopping, removing and starting the vaultwarden container again.  
This is also necessary if I reboot the server.

Where can I find a log that might give me a hint why this happens, or is this a well known problem?  
Is there a better way get it running again as by stop, remove and start?  
What do I need to do to start the container automatically when rebooting the server?

Thanks in advance

Gerald

---

<div class="post-metadata">

**Author:** ![BlackDex](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/blackdex/32/8_2.png) [@BlackDex](https://vaultwarden.discourse.group/u/BlackDex)\
**Post date:** [March 30, 2022, 2:45pm UTC](https://vaultwarden.discourse.group/t/docker-restart-necessary/1546/2 "2022-03-30T14:45:23Z")

</div>

If you have logging enabled there should be a `vaultwarden.log` file in your data volume directory.  
Else before you stop the container, type `docker logs vaultwarden`

---

<div class="post-metadata">

**Author:** ![Dormi98](https://avatars.discourse-cdn.com/v4/letter/d/c4cdca/32.png) [@Dormi98](https://vaultwarden.discourse.group/u/Dormi98)\
**Post date:** [April 1, 2022, 9:09am UTC](https://vaultwarden.discourse.group/t/docker-restart-necessary/1546/3 "2022-04-01T09:09:04Z")

</div>

OK, Thank you.  
At the moment the problem everything is fine. As soon as the problem occures I will post an update.
