Apps work but Truenas UI shows "Failed to start docker service"

Problem
After reboot all apps start normally and they work fine. However, in Truenas Scale UI the Apps page shows “Applications are not running”, “Error In Apps Service” and “Failed to start docker service”. How can I solve the problem so apps shows after reboot?

Version
ElectricEel-24.10.2.2

What I have tried

truenas% systemctl status docker                                             
● docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; disabled; preset: disabled)
    Drop-In: /etc/systemd/system/docker.service.d
             └─override.conf
     Active: active (running) since Wed 2025-09-03 10:04:52 CEST; 26min ago
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
    Process: 1169970 ExecStartPost=/bin/sh -c iptables -P FORWARD ACCEPT && ip6tables -P FORWARD ACCEPT (code=exited, status=0/SUCCESS)
   Main PID: 1163965 (dockerd)

Read the log, but it seems fine:

Sep 03 01:30:48 truenas dockerd[6171]: time="2025-09-03T01:30:48.580571041+02:00" level=info msg="Loading containers: done."
Sep 03 01:30:48 truenas dockerd[6171]: time="2025-09-03T01:30:48.857945299+02:00" level=info msg="Docker daemon" commit=cc13f95 containerd-snapshotter=false storage-driver=overlay2 version=27.1.1
Sep 03 01:30:48 truenas dockerd[6171]: time="2025-09-03T01:30:48.858527137+02:00" level=info msg="Daemon has completed initialization"
Sep 03 01:32:47 truenas dockerd[6171]: time="2025-09-03T01:32:47.728805836+02:00" level=info msg="API listen on /run/docker.sock"
Sep 03 01:32:47 truenas systemd[1]: Started docker.service - Docker Application Container Engine.

Checked file override.conf for problems but the file is clean with only this:

[Service]
ExecStartPost=/bin/sh -c "iptables -P FORWARD ACCEPT && ip6tables -P FORWARD ACCEPT"

The only solution I have found

  1. In UI go to Apps
  2. Select Configuration → Unset pool
  3. Select Configuration → Choose pool and select the same pool again
  4. All apps are back in UI

How can I automatically get all apps back in Truenas UI after reboot without reselecting the app pool?

This is interesting, I am not having this issue. After I restart all my apps will run automatically and do not need to unset&set pool. Are those apps custom app?

Thanks for your answer. :slight_smile: All apps start automatically and are running. The problem is that when I click Apps in the Truenas menu the app page shows error messages instead of the app list. So Truenas UI shows they are not running while they in reality are running in background. All apps are from Truenas app library except cloudflare-ddns which is installed from docker.

I did now update my Truenas Scale from ElectricEel-24.10.2.2 to Fangtooth-25.04.2.3 which solved the problem. After update the apps starts and are shown in UI apps page.