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
[BUG] - Error in Log when creating a backup (alchemy_exporter.py:186: SAWarning: Cannot correctly sort tables; there are unresolvable cycles between tables "recipes, users"(
#4834
Open
5 of 6 tasks
Christian-Me opened this issue
Jan 5, 2025
· 0 comments
When creating a backup i get this error message in the log. Don't know if this is relevant.
INFO 2025-01-05T14:58:09 - [172.17.0.1:51538] 200 OK "GET /api/admin/backups HTTP/1.1"
INFO 2025-01-05T14:58:12 - Checking for migration data fixes
/app/mealie/services/backups_v2/alchemy_exporter.py:186: SAWarning: Cannot correctly sort tables; there are unresolvable cycles between tables "recipes, users", which is usually caused by mutually dependent foreign key constraints. Foreign key constraints involving these tables will not be considered; this warning may raise an error in a future release.
for table in self.meta.sorted_tables
Steps to Reproduce
create a backup
Please provide relevant logs
INFO 2025-01-05T14:58:09 - [172.17.0.1:51538] 200 OK "GET /api/admin/backups HTTP/1.1"
INFO 2025-01-05T14:58:12 - Checking for migration data fixes
/app/mealie/services/backups_v2/alchemy_exporter.py:186: SAWarning: Cannot correctly sort tables; there are unresolvable cycles between tables "recipes, users", which is usually caused by mutually dependent foreign key constraints. Foreign key constraints involving these tables will not be considered; this warning may raise an error in a future release.
for table in self.meta.sorted_tables
Mealie Version
docker image 2.4.1
Deployment
Docker (Windows)
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 creating a backup i get this error message in the log. Don't know if this is relevant.
Steps to Reproduce
create a backup
Please provide relevant logs
INFO 2025-01-05T14:58:09 - [172.17.0.1:51538] 200 OK "GET /api/admin/backups HTTP/1.1"
INFO 2025-01-05T14:58:12 - Checking for migration data fixes
/app/mealie/services/backups_v2/alchemy_exporter.py:186: SAWarning: Cannot correctly sort tables; there are unresolvable cycles between tables "recipes, users", which is usually caused by mutually dependent foreign key constraints. Foreign key constraints involving these tables will not be considered; this warning may raise an error in a future release.
for table in self.meta.sorted_tables
Mealie Version
docker image 2.4.1
Deployment
Docker (Windows)
Additional Deployment Details
No response
The text was updated successfully, but these errors were encountered: