Need help with docker problem with one app not starting?

Suddenly one of my apps (Vaultwarden) does not work anymore.

When I log into Scale and look under applications, this application does not show up in the GUI. All other apps are there and working.

When looking under discover apps and vaultwarden it says its already installed.

I have no clue to what might have happened. Can some give me some advice in which logfiles to look or any docker commands that I can use to find out what might have happened?

I’m running ElectricEel-24.10.2.2 and it has been running on this version so something has just happened suddenly and I need to find out what.


Just found out the docker ps -a command and this is the output for my vaultwarden instance, but still need further help why its not showing and starting:

c6ecde7669e8 vaultwarden/server:1.34.1 “/start.sh” 4 weeks ago Exited (0) 11 days ago 80/tcp, 0.0.0.0:30032->30032/tcp, :::30032->30032/tcp ix-vw-vaultwarden-1
d5d9106a25ab postgres:15.13 “docker-entrypoint.s…” 4 weeks ago Exited (0) 11 days ago 5432/tcp ix-vw-postgres-1

going from the ps -a command it looks like the postgres db has either crashed or failed to start after a reboot and that’s the reason the app did not start.
have you checked from shell with cat /var/log/app_lifecycle.log if the log shows any more information on why tha app crashed?

Hi, havent found anything in the app_lifecycle log. 11 days ago my system crasched and I needed to restart the server and I thought everything was ok but it seems as vaultwarden didnt restart then. the app_lifecycle.log does not show anything since 28/6 but no errors or strange thing in that as far as i can see

I don’t run my apps via truenas gui but portainer (which also lists crashed apps), so i’m a bit confused as to why the app doesn’t show up in the truenas gui. I’d propably try with standard docker commands to stop the vaultwarden app, kill the crashed postgres app and hope that it’ll show up in the gui again and then try to start it again from the gui.

Ok, thanks. Could you give me some help of the commands to use. I havent really worked in docker previously

docker ps -a to list all container and find the container names
docker stop <container name> to stop a running container
docker kill <container name> to kill a crashed container

hmm, but if the container is not running (exited (0) 11 days ago) then i guess I canot stop or kill it? and is the same as container id (when running docker ps -a)?

I never had to do this from shell myself since i use portainer to manage my docker stack and if a app crashes there it shows there and i can then click in the gui to stop/kill/restart/remove it and can use my saved stack to quickly rebuild it.

I installed portainer on the truenas and started the 2 containers and they seem to be working now, but they dont show up in the truenas scale gui, strange

Anyhow, thanks for the help, now I can try to find out what the problem is in truenas

Yeah, that’s one downside to the management via portainer or dockge, they don’t show up in the truenas gui.

by the way, if you handle the apps in portainer, how do you handle the updates that is released on a regular basis by the truenas community?

Since I don’t use any truenas apps I can’t answer that question. All my apps are deployed via custom docker compose stacks from the portainer GUI.