mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
[Bug]: Logging doesn't work #882
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 @k7deubo4 on GitHub (Dec 15, 2025).
Where is the problem occurring?
I encountered the problem while interacting with the server (Backend)
What browsers are you seeing the problem on?
Chrome, Firefox, Brave, Microsoft Edge
Current behavior
I followed the all necessary steps described here https://docs.planka.cloud/docs/configuration/logging/
to enable Logging on my Planka enviroment, but without success.
When running docker compose logs 'container_name' I got again no logs.
Here is my docker-compose.yaml file:
services:
planka:
image: ghcr.io/plankanban/planka:2.0.0-rc.4
restart: on-failure
volumes:
- favicons:/app/public/favicons
- user-avatars:/app/public/user-avatars
- background-images:/app/public/background-images
- attachments:/app/private/attachments
- ./logs/:/app/logs/
# Optionally override this to your user/group
# user: 1000:1000
# tmpfs:
# - /app/.tmp:mode=770,uid=1000,gid=1000
ports:
- 3000:1337
environment:
# - BASE_URL=******
- BASE_URL=*******
- DATABASE_URL=postgresql://postgres@postgres/planka
# Optionally store the database password in secrets:
# - DATABASE_URL=postgresql://postgres:$${DATABASE_PASSWORD}@postgres/planka
# - DATABASE_PASSWORD__FILE=/run/secrets/database_password
# And add the following to the service:
# secrets:
# - database_password
postgres:
image: postgres:16-alpine
restart: on-failure
volumes:
- db-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=planka
- POSTGRES_HOST_AUTH_METHOD=trust
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d planka"]
interval: 10s
timeout: 5s
retries: 5
volumes:
logs:
favicons:
user-avatars:
background-images:
attachments:
db-data:
Desired behavior
I would like to see any logs from my system.
Steps to reproduce
I followed the all necessary steps described here https://docs.planka.cloud/docs/configuration/logging/
to enable Logging on my Planka enviroment, but without success.
When running docker compose logs 'container_name' I got again no logs.
I've already change the permissions for writing and tested inside the container too, but without success again.
Other information
No response
@vaibhav0320 commented on GitHub (Dec 30, 2025):
I faced similar issue and it's being due to diffrent user id in on host and container. Check the user id of logs directory on system and inside docker and make sure they are same or can do
chmod 777and test ( not recommended though )@Signum commented on GitHub (Jan 6, 2026):
I found that even without setting up a volume like
./logs/:/app/logs/even LOG_LEVEL=trace does not change the log output. I would suspect that somehow the ENV variable is not obeyed.