Hello,
I am having issue with migrating from MySQL to Postgres.
I am following the tutorial here: https://docs.mattermost.com/deploy/postgres-migration-assist-tool.html and I also followed the prepare your database document: https://docs.mattermost.com/install/prepare-mattermost-database.html
I installed a clear Postgress install, didi all the command and when I try to the command
./migration-assist postgres "postgres://mmuser:pass@localhost:5432/mattermost" --run-migrations --mattermost-version="9.10.1"
it will fail on
2024-08-13 16:10:13 pinging postgres...
2024-08-13 16:10:13 connected to postgres successfully.
An Error Occurred: could not check schema owner: the user "mmuser" is not owner of the "public" schema
I checked who was the owner of the DB it was mmuser, i also tried some command for setting the owner and grants that were listed on MM forums, but I was unable to fix the issue.
I also reinstalled Postgres and recreated the cluster to be sure.
Any idea what can help me fix the issue?
I am runnig Postgres 16.1 on ubuntu 22.04.4.
Hello,
I am having issue with migrating from MySQL to Postgres.
I am following the tutorial here: https://docs.mattermost.com/deploy/postgres-migration-assist-tool.html and I also followed the prepare your database document: https://docs.mattermost.com/install/prepare-mattermost-database.html
I installed a clear Postgress install, didi all the command and when I try to the command
./migration-assist postgres "postgres://mmuser:pass@localhost:5432/mattermost" --run-migrations --mattermost-version="9.10.1"it will fail on
I checked who was the owner of the DB it was mmuser, i also tried some command for setting the owner and grants that were listed on MM forums, but I was unable to fix the issue.
I also reinstalled Postgres and recreated the cluster to be sure.
Any idea what can help me fix the issue?
I am runnig Postgres 16.1 on ubuntu 22.04.4.