Serialization crashes on dump if there's no collections #16931
Labels
Operation/Serialization
Enterprise contents migration
Priority:P2
Average run of the mill bug
.Regression
Bugs that were previously fixed and/or bugs unintentionally shipped with new features.
Type:Bug
Product defects
Milestone
Describe the bug
When trying to create a dump without using "--user" flags, the process exits with an error
Logs
With PostgreSQL:
With MySQL
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The dump works or we give our users a warning, but we don't fail with a SQL error
Screenshots
Logs attached
Information about your Metabase Installation:
Severity
It breaks serialization if not using a --user, so users that are not using this flag have their serialization process broken
Additional context
Reported by a person on a trial
EDIT: just saw the DB logs and it says
Also, when running this script that we have in our documentation the process fails even with --user flag
but when doing the process raising the following docker-compose file and then doing the steps manually it works with the --user flag:
The text was updated successfully, but these errors were encountered: