You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting up the Mealie containers the startup time for the DB is very Slow.
I have over 15,000 recipes and each time I need to restart my docker stack the mealie server looks for and runs migrations:
Switching to dedicated user
User uid: 1000
User gid: 1000
INFO 2024-11-25T09:10:15 - Started server process [1]
INFO 2024-11-25T09:10:15 - Waiting for application startup.
INFO 2024-11-25T09:10:15 - start: database initialization
INFO 2024-11-25T09:10:15 - Database connection established.
INFO 2024-11-25T09:10:15 - Context impl PostgresqlImpl.
INFO 2024-11-25T09:10:15 - Will assume transactional DDL.
INFO 2024-11-25T09:10:15 - Checking for migration data fixes
INFO 2024-11-25T09:15:18 - end: database initialization
INFO 2024-11-25T09:15:18 - -----SYSTEM STARTUP-----
INFO 2024-11-25T09:15:18 - ------APP SETTINGS------
As you can see the migration and data fixes takes a little over 5 minutes to complete.
I fully understand this during an upgrade as the system needs to check to ensure that the data is migrated correctly, but the majority of theses restarts are for editing env variables or a system reboot.
Steps to Reproduce
load 15,000 recipes into Mealie
shutdown the docker stack
start the docker stack.
Please provide relevant logs
Switching to dedicated user
User uid: 1000
User gid: 1000
INFO 2024-11-25T09:10:15 - Started server process [1]
INFO 2024-11-25T09:10:15 - Waiting for application startup.
INFO 2024-11-25T09:10:15 - start: database initialization
INFO 2024-11-25T09:10:15 - Database connection established.
INFO 2024-11-25T09:10:15 - Context impl PostgresqlImpl.
INFO 2024-11-25T09:10:15 - Will assume transactional DDL.
INFO 2024-11-25T09:10:15 - Checking for migration data fixes
INFO 2024-11-25T09:15:18 - end: database initialization
INFO 2024-11-25T09:15:18 - -----SYSTEM STARTUP-----
INFO 2024-11-25T09:15:18 - ------APP SETTINGS------
Mealie Version
Mealie version: 2.2.0
DB type: PostgreSQL
Deployment type: Docker stack via Portainer
Volumes: Local directories - I am not using docker volumes.
Deployment
Docker (Linux)
Additional Deployment Details
No response
The text was updated successfully, but these errors were encountered:
First Check
What is the issue you are experiencing?
When starting up the Mealie containers the startup time for the DB is very Slow.
I have over 15,000 recipes and each time I need to restart my docker stack the mealie server looks for and runs migrations:
Switching to dedicated user
User uid: 1000
User gid: 1000
INFO 2024-11-25T09:10:15 - Started server process [1]
INFO 2024-11-25T09:10:15 - Waiting for application startup.
INFO 2024-11-25T09:10:15 - start: database initialization
INFO 2024-11-25T09:10:15 - Database connection established.
INFO 2024-11-25T09:10:15 - Context impl PostgresqlImpl.
INFO 2024-11-25T09:10:15 - Will assume transactional DDL.
INFO 2024-11-25T09:10:15 - Checking for migration data fixes
INFO 2024-11-25T09:15:18 - end: database initialization
INFO 2024-11-25T09:15:18 - -----SYSTEM STARTUP-----
INFO 2024-11-25T09:15:18 - ------APP SETTINGS------
As you can see the migration and data fixes takes a little over 5 minutes to complete.
I fully understand this during an upgrade as the system needs to check to ensure that the data is migrated correctly, but the majority of theses restarts are for editing env variables or a system reboot.
Steps to Reproduce
Please provide relevant logs
Switching to dedicated user
User uid: 1000
User gid: 1000
INFO 2024-11-25T09:10:15 - Started server process [1]
INFO 2024-11-25T09:10:15 - Waiting for application startup.
INFO 2024-11-25T09:10:15 - start: database initialization
INFO 2024-11-25T09:10:15 - Database connection established.
INFO 2024-11-25T09:10:15 - Context impl PostgresqlImpl.
INFO 2024-11-25T09:10:15 - Will assume transactional DDL.
INFO 2024-11-25T09:10:15 - Checking for migration data fixes
INFO 2024-11-25T09:15:18 - end: database initialization
INFO 2024-11-25T09:15:18 - -----SYSTEM STARTUP-----
INFO 2024-11-25T09:15:18 - ------APP SETTINGS------
Mealie Version
Mealie version: 2.2.0
DB type: PostgreSQL
Deployment type: Docker stack via Portainer
Volumes: Local directories - I am not using docker volumes.
Deployment
Docker (Linux)
Additional Deployment Details
No response
The text was updated successfully, but these errors were encountered: