No logs read with 1.0.6 (traefik-log-dashboard discussion #46)

:speech_balloon: GitHub discussion traefik-log-dashboard #46 in Help, started by fhptech on GitHub

With a working 1.0.5 configuration, changing to the 1.0.6 release, no logs are read but no errors shown in logs that I can see. Was there a breaking change or something I missed? I’m using a mounted NFS folder with two subfolders, both listed for log reading. Snipped below

        env:
          - name: NODE_ENV
            value: production
          - name: PORT
            value: "3001"
          - name: TRAEFIK_LOG_FILE
            value: /logs/logs/,/logs/vlogs/
        volumeMounts:
          - name: traefik-logs
            mountPath: /logs/
      volumes:
        - name: traefik-logs
          nfs:
            server: fhp-afs-nfs.fhpaschen.com
            path: /nfsvol/traefik/

:speech_balloon: Join in here or on GitHub.

hhftechnology commented on GitHub:

try latest 1.0.7

fhptech commented on GitHub:

Same result with ‘latest’ (no 1.0.7 tag yet)

[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env: export GIN_MODE=release
 - using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET    /api/stats                --> main.getStats (4 handlers)
[GIN-debug] GET    /api/logs                 --> main.getLogs (4 handlers)
[GIN-debug] GET    /api/services             --> main.getServices (4 handlers)
[GIN-debug] GET    /api/routers              --> main.getRouters (4 handlers)
[GIN-debug] GET    /api/geo-stats            --> main.getGeoStats (4 handlers)
[GIN-debug] GET    /api/geo-processing-status --> main.getGeoProcessingStatus (4 handlers)
[GIN-debug] POST   /api/set-log-file         --> main.setLogFile (4 handlers)
[GIN-debug] POST   /api/set-log-files        --> main.setLogFiles (4 handlers)
[GIN-debug] GET    /api/maxmind/config       --> main.getMaxMindConfig (4 handlers)
[GIN-debug] POST   /api/maxmind/reload       --> main.reloadMaxMindDatabase (4 handlers)
[GIN-debug] POST   /api/maxmind/test         --> main.testMaxMindDatabase (4 handlers)
[GIN-debug] GET    /api/websocket/status     --> main.getWebSocketStatus (4 handlers)
[GIN-debug] GET    /health                   --> main.healthCheck (4 handlers)
[GIN-debug] GET    /ws                       --> main.handleWebSocket (4 handlers)
2025/08/05 16:52:20 Server running on port 3001
2025/08/05 16:52:20 MaxMind configuration: {Enabled:false DatabasePath:/maxmind/GeoLite2-City.mmdb FallbackToOnline:true DatabaseLoaded:false DatabaseError:}
2025/08/05 16:52:20 WebSocket clients tracking enabled
2025/08/05 16:52:20 Setting up monitoring for log file(s): [/logs/logs/ /logs/vlogs/]
2025/08/05 16:52:20 Loading last 0 log entries from /logs/logs/

Strangely also now, 1.0.5 is are entering a crashbackoff loop without anything unusual being logged

2025/08/05 18:44:24 Server running on port 3001
2025/08/05 18:44:24 Setting up monitoring for 2 log path(s)
2025/08/05 18:44:24 MaxMind configuration: {Enabled:false DatabasePath:/maxmind/GeoLite2-City.mmdb FallbackToOnline:false DatabaseLoaded:false DatabaseError:}
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env: export GIN_MODE=release
 - using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET    /api/stats                --> main.getStats (4 handlers)
[GIN-debug] GET    /api/logs                 --> main.getLogs (4 handlers)
[GIN-debug] GET    /api/services             --> main.getServices (4 handlers)
[GIN-debug] GET    /api/routers              --> main.getRouters (4 handlers)
[GIN-debug] GET    /api/geo-stats            --> main.getGeoStats (4 handlers)
[GIN-debug] GET    /api/geo-processing-status --> main.getGeoProcessingStatus …

hhftechnology commented on GitHub:

        env:
          - name: NODE_ENV
            value: production
```not needed
we are using go for backend

hhftechnology commented on GitHub:

try thr new dev tag and please report back. it should scan dir.

fhptech commented on GitHub:

With :dev tag. Same results


[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env: export GIN_MODE=release
 - using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET    /api/stats                --> main.getStats (4 handlers)
[GIN-debug] GET    /api/logs                 --> main.getLogs (4 handlers)
[GIN-debug] GET    /api/services             --> main.getServices (4 handlers)
[GIN-debug] GET    /api/routers              --> main.getRouters (4 handlers)
[GIN-debug] GET    /api/geo-stats            --> main.getGeoStats (4 handlers)
[GIN-debug] GET    /api/geo-processing-status --> main.getGeoProcessingStatus (4 handlers)
[GIN-debug] POST   /api/set-log-file         --> main.setLogFile (4 handlers)
[GIN-debug] POST   /api/set-log-files        --> main.setLogFiles (4 handlers)
[GIN-debug] GET    /api/maxmind/config       --> main.getMaxMindConfig (4 handlers)
[GIN-debug] POST   /api/maxmind/reload       --> main.reloadMaxMindDatabase (4 handlers)
[GIN-debug] POST   /api/maxmind/test         --> main.testMaxMindDatabase (4 handlers)
[GIN-debug] GET    /api/websocket/status     --> main.getWebSocketStatus (4 handlers)
[GIN-debug] GET    /health                   --> main.healthCheck (4 handlers)
[GIN-debug] GET    /ws                       --> main.handleWebSocket (4 handlers)
2025/08/07 13:08:14 Server running on port 3001
2025/08/07 13:08:14 MaxMind configuration: {Enabled:false DatabasePath:/maxmind/GeoLite2-City.mmdb FallbackToOnline:false DatabaseLoaded:false DatabaseError:}
2025/08/07 13:08:14 WebSocket clients tracking enabled
2025/08/07 13:08:14 Setting up monitoring for log file(s): [/logs/logs/ /logs/vlogs/]
2025/08/07 13:08:14 Loading last 0 log entries from /logs/logs/
2025/08/07 13:08:14 Starting background geo processing...

fhptech commented on GitHub:

Saw in the other issue/thread that the ghrc images weren’t updated. I tried the 1.1.0 image from dockerhub and can report that the logs are loading fine in my configuration now. Glad to see the OTLP support also. Thanks!