Docker logs with custom application not working after migrated to Electric Eel

Hi,
I recently upgraded my system from 24.04 to currently 24.10.0
Previous I had installed nginx proxy manager as a custom application (because I wanted to use port 80 and 443) and it worked and was able to see the logs from the UI by clicking on “View logs”.
Now that I’ve upgraded to new version, going into Container logs all I see is the following:

2024-11-02 00:00:002
0
2024-11-02 00:00:002
2024-11-04 00:00:004
-
2024-11-01 00:00:001
2024-11-01 00:00:001
-
0
2024-11-01 00:00:001
T
2024-11-02 00:00:002
0
:
2024-11-04 00:00:004
0
:
0
2024-11-06 00:00:006
.
2024-11-09 00:00:009
0
2024-11-03 00:00:003
0
2024-11-06 00:00:006
2024-11-06 00:00:006
2024-11-08 00:00:008
2024-11-01 00:00:001
2024-11-02 00:00:002
Z

which doesn’t look correct.
How can I fix this? Thank you

Note:
Going into the shell, I am able to see the logs

# ls
fallback_access.log              proxy-host-10_access.log  proxy-host-1_access.log  proxy-host-3_access.log  proxy-host-5_access.log  proxy-host-7_access.log  proxy-host-9_access.log
fallback_error.log               proxy-host-10_error.log   proxy-host-1_error.log   proxy-host-3_error.log   proxy-host-5_error.log   proxy-host-7_error.log   proxy-host-9_error.log
letsencrypt-requests_access.log  proxy-host-11_access.log  proxy-host-2_access.log  proxy-host-4_access.log  proxy-host-6_access.log  proxy-host-8_access.log
letsencrypt-requests_error.log   proxy-host-11_error.log   proxy-host-2_error.log   proxy-host-4_error.log   proxy-host-6_error.log   proxy-host-8_error.log

just not via UI

Can someone help? Thanks
Friendly bump

The docker logs are not the same as the in app logs.

From a shell in System - Shell, as root:

docker ps

which will give you the IDs for all running containers.

then

docker logs CONTAINERID (or container name)

Hi Craig,
Yes I am able to see the docker logs via docker logs command from shell.
Before upgrading to Electric Eel, I was able to view these logs from the UI but now I don’t see them.

Bump for getting more help

Friendly bump for getting help

1 Like

Hey @bobcat,

I had the same problem when custom app was defined in UI (as docker container) directly.
Later truenas wraps the container spec. into a docker compose yaml … somewhere along this process this gets broken (container logs are not used as docker compose wrapped stdout log).

What you can do NOW to solve this is use the custom app spec. in the form of docker compose yaml directly … this avoids truenas wrapping it and botching the logging along the way.

E.g. docker-compose.yaml I’m using to have a dropbox container syncing to local filesystem AND having it later shared as smb share from trunas:

services:
  dropbox:
    container_name: dropbox
    deploy:
      resources:
        limits:
          cpus: '2.00'
          memory: 1024M
    environment:
      - TZ=Europe/Warsaw
      - DROPBOX_UID=1000
      - DROPBOX_GID=1000
      - POLLING_INTERVAL=20
    image: otherguy/dropbox:latest
    network_mode: host
    restart: unless-stopped
    user: '0:0'
    volumes:
      - /mnt/nas_pool/Docker/Dropbox:/opt/dropbox

Niceee logs as result:

2024-11-17 15:19:28.893189+00:00Syncing 10,099 files • 1 hour
2024-11-17 15:19:28.893273+00:00Downloading 10,099 files (LAN) (68,246 KB/sec, 1 hour)
2024-11-17 15:19:48.957665+00:00Syncing 9,803 files • 1 hour
2024-11-17 15:19:48.957733+00:00Downloading 9,803 files (78,276 KB/sec, 1 hour)
2024-11-17 15:20:09.024484+00:00Syncing 9,497 files • 1 hour
2024-11-17 15:20:09.024567+00:00Downloading 9,497 files (80,279 KB/sec, 1 hour)
2024-11-17 15:20:29.087997+00:00Syncing 9,218 files • 2 hrs
2024-11-17 15:20:29.088048+00:00Downloading 9,218 files (45,174 KB/sec, 2 hrs)
2024-11-17 15:20:49.160576+00:00Syncing 9,029 files • 1 hour
2024-11-17 15:20:49.160641+00:00Indexing 2 files (1 sec)
2024-11-17 15:20:49.160651+00:00Uploading 87 files...
2024-11-17 15:20:49.160668+00:00Downloading 8,940 files (72,051 KB/sec, 1 hour)
2024-11-17 15:21:09.221510+00:00Syncing 8,672 files • 1 hour
2024-11-17 15:21:09.221572+00:00Downloading 8,672 files (79,287 KB/sec, 1 hour)
2024-11-17 15:21:29.278011+00:00Syncing 8,393 files • 1 hour
2024-11-17 15:21:29.278086+00:00Downloading 8,393 files (60,319 KB/sec, 1 hour)
2024-11-17 15:21:49.334979+00:00Syncing 8,147 files • 1 hour
2024-11-17 15:21:49.335041+00:00Downloading 8,147 files (79,009 KB/sec, 1 hour)
2024-11-17 15:22:09.405087+00:00Syncing 7,892 files • 1 hour

Hi Lucas,
Thanks for the suggestion. I’ll play around with custom applications using docker compose yaml and see if it works. Obviously I would still like container logs to work through the UI using default trueNas custom application setup.

If this is true, it sounds like a bug. @bobcat are you able to save a debug from a system that still has this app installed? If so can you please submit a bug report and upload the debug?