mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 11:21:03 +03:00
[Bug]: planka not writing logs #628
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @WirtsLegs on GitHub (Jan 11, 2025).
Where is the problem occurring?
Docker Swarm deployment
What browsers are you seeing the problem on?
N/A
Current behaviour
planka.log is created but remains empty regardless of if it is mounted to the host or internal to the container, suspect the lack of logs is somehow tied to OIDC being enabled as I was getting some logs via docker logs command prior to enabling it, since enabling that docker logs returns nothing and planka.log is empty
Desired behaviour
planka.log should contain logs
Steps to reproduce
Stand up planka on docker swarm with the following compose (note sensitive bits obviously redacted)
Other information
I have seen https://github.com/plankanban/planka/issues/738 and https://github.com/plankanban/planka/issues/850
in both cases the issue was resolved via chowning the log folder, I have attempted to mount to a directory and ensured it was owned by 1000:1000 with no change. The planka.log file is being created so it has access but the file remains empty.
@Knatschsack commented on GitHub (Jan 14, 2025):
Same for me with docker compose. Can see docker logs and docker compose logs for planka database but no output for planka webservice. the logfile in the container exists but remains empty.
@Morriz commented on GitHub (Apr 22, 2025):
why is help needed @meltyshev ? You can just output to both logs and stdout+stderr with
tee...