Unraid Dawarich Using Docker and AppData Always Reading
OS & Hardware Unraid with 3800X, 32 GB RAM, SSDs for docker.
Version 0.25.8
Describe the bug There is a significant increase to disk usage for the latest (0.25.8) Dawarich version. It appears to be the sidekq container. This was noticed both when Unraid's UI was sluggish and the Beszel monitoring tool.
First image shows the CPU usage for all of my containers, however notice the spike in DiskIO.
Disk IO of larger time-scale.
To Reproduce Steps to reproduce the behavior:
- Start Dawarich
- Login to user account.
- Take note of disk usage.
- Shutdown Dawarich.
Expected behavior Dawarich should not be using much if not any disk usage despite a user logged in. Imports are done manually.
Screenshots See above.
Logs
No applicable logs show a reason. Dawarich_db shows this on repeat: 2025-04-26 03:32:46.083 UTC [938] FATAL: role "postgres" does not exist. Dawarich_redis gives a nginx 502 error.
From my Observation, some Apps that are build on top of PostgreSQL can have some issues when the database is not initialised in the default way, meaning a different user being created than postgres or this new user being created without a corresponding database.
To fix that create the user/role postgres and give it superuser privileges
From my Observation, some Apps that are build on top of PostgreSQL can have some issues when the database is not initialised in the default way, meaning a different user being created than postgres or this new user being created without a corresponding database.
To fix that create the user/role postgres and give it superuser privileges
Would that need to be within the dawarich container or the sidekiq?
It needs to be done inside the database itself. Use a gui like pgadmin or heidisql to connect to the database and create the user
Not sure what's expected here. Dawarich works in background, sidekiq check queues and processes jobs, so some load is expected. Feel free to open another issue if you see some abnormal activity.