Migration to postgress failure

Hello,

I try to migrate from mariadb/mysql to postgress, but nothing works.

i try 20 times, but alwys failure.

last try with the command step2:

2025-06-19 09:50:34 pinging postgres…
2025-06-19 09:50:34 connected to postgres successfully.
2025-06-19 09:50:34 schema owner check passed.
2025-06-19 09:50:34 checking if tables are empty…
2025-06-19 09:50:34 cloning repository@10.5.8
2025-06-19 09:50:34 git version: git version 2.34.1
2025-06-19 09:50:35 checking out…
2025-06-19 09:50:36 removing existing migrations…
2025-06-19 09:50:36 moving migration files into a better place..
2025-06-19 09:50:36 running migrations..
An Error Occurred: could not run migrations: could not initialize driver: driver: postgres, message: failed to fetch current schema, command: current_schema, originalError: sql: Scan error on column index 0, name “current_schema”: converting NULL to string is unsupported, query:

SELECT CURRENT_SCHEMA()

how can i handle this?

MariaDB is not supported, and never has been. It is not the same as MySQL. I’d suggest getting your MariaDB migrated to MySQL, and then use the Mattermost tools to migrate to Postgres.