# pgloader boards.load
2024-08-17T04:35:55.012001Z LOG pgloader version "3.6.10~devel"
2024-08-17T04:35:55.092002Z LOG Migrating from #<MYSQL-CONNECTION mysql://mmuser@x.x.x.x:3306/mattermost {1006E3C1C3}>
2024-08-17T04:35:55.096002Z LOG Migrating into #<PGSQL-CONNECTION pgsql://mmuser@x.x.x.x:5432/mattermost {1006E3C393}>
2024-08-17T04:35:55.244005Z ERROR Database error 22007: invalid input syntax for type timestamp with time zone: "current_timestamp(6)"
QUERY: CREATE TABLE mattermost.focalboard_blocks
(
id varchar(36) not null,
insert_at timestamptz not null default 'current_timestamp(6)',
parent_id varchar(36) default NULL,
schema bigint default NULL,
type text default NULL,
title text default NULL,
fields json default NULL,
create_at bigint default NULL,
update_at bigint default NULL,
delete_at bigint default NULL,
root_id varchar(36) default NULL,
modified_by varchar(36) not null,
channel_id varchar(36) not null,
created_by varchar(36) not null,
board_id varchar(36) default NULL
);
2024-08-17T04:35:55.248005Z FATAL Failed to create the schema, see above.
KABOOM!
UNDEFINED-TABLE: Database error 42P01: relation "mattermost.focalboard_blocks" does not exist
QUERY: UPDATE mattermost.focalboard_blocks SET "fields" = '{}'::json WHERE "fields"::text = '';
An unhandled error condition has been signalled:
Database error 42P01: relation "mattermost.focalboard_blocks" does not exist
QUERY: UPDATE mattermost.focalboard_blocks SET "fields" = '{}'::json WHERE "fields"::text = '';
2024-08-17T04:35:55.256005Z ERROR Database error 42P01: relation "mattermost.focalboard_blocks" does not exist
QUERY: UPDATE mattermost.focalboard_blocks SET "fields" = '{}'::json WHERE "fields"::text = '';
What I am doing here?
Database error 42P01: relation "mattermost.focalboard_blocks" does not exist
QUERY: UPDATE mattermost.focalboard_blocks SET "fields" = '{}'::json WHERE "fields"::text = '';
Hi,
Thank you for helping us with this tool. I was able to run pretty much but stuck when doing
boards.loadand the subsequent ones.I used the below mentioned container images and the result has been the same:
https://docs.mattermost.com/deploy/manual-postgres-migration.html#pull-the-docker-image-and-verify-pgloader
https://pgloader.readthedocs.io/en/latest/install.html#docker-images
The error is as follows:
Looks like a known issue dimitri/pgloader#1403