Skip to content

Mariadb stuck during startup #651

@anshulkothari810

Description

@anshulkothari810

I have been running the firefly_iii app on a proxmox lxc for sometime. The app makes use of mariadb. The setup was working fine but recently it has stopped working as mariadb is not starting up.

I think the issue has been happening since 06/30. The mariadb container is using 100% of the CPU but the container logs only show the following three log lines so its not clear to me what's going on:

2025-07-04 20:04:59+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.8.2+maria~ubu2404 started.
2025-07-04 20:05:07+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
2025-07-04 20:05:07+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

My docker config to start mariadb is:

db:
image: mariadb:lts
hostname: fireflydb
container_name: firefly_iii_db
restart: always
env_file: .db.env
volumes:
- firefly_iii_db:/var/lib/mysql
networks:
- firefly_iii

I have tried doing a clean installation as well as downgrading to 11.4 but nothing helps as I observe the same behavior.

I have tried attaching to the docker container and looking at /var/logs/mysql to see if I can see any more logs but it is empty.

Any idea on how to debug this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions