Skip to content

Not able to migrate secrets while migrating from sqlite to PostgreSql #20

Open
@simplyrahul1

Description

@simplyrahul1

psql:postgres_grafana_v2.sql:62753: ERROR: column "encrypted_data" is of type bytea but expression is of type bit
LINE 1: ...a_keys VALUES('P1lrPhq7k',1,'root','secretKey.v1',X'684f4f43...

Please find the line 62753 from the sql file below :
62753 INSERT INTO data_keys VALUES('P1lrPhq7k',1,'root','secretKey.v1',X'684f4f43#####ec09','2022-06-24 22:52:01','2022-06-24 22:52:01','2022-06-24/root@secretKey.v1');

The same is the case for all the secrets. Due to this no user can log in post-migration as above error repeated for all the user accounts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions