dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

Unraid Dawarich Using Docker and AppData Always Reading

Open adamzvolanek opened this issue 8 months ago • 3 comments

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. Image

Disk IO of larger time-scale.

Image

To Reproduce Steps to reproduce the behavior:

  1. Start Dawarich
  2. Login to user account.
  3. Take note of disk usage.
  4. 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.

adamzvolanek avatar Apr 26 '25 03:04 adamzvolanek

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

adromir avatar Apr 27 '25 14:04 adromir

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?

adamzvolanek avatar Apr 30 '25 02:04 adamzvolanek

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

adromir avatar Apr 30 '25 06:04 adromir

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.

Freika avatar Jun 10 '25 18:06 Freika