Skip to content

ERROR Bad character - in base64 decode #415

@jmccann

Description

@jmccann

This seems related to #60

I'm using a CI/CD tool called Drone and started using it with sqlite3. I'm trying to migrate to postgresql.

When using pgloader to migrate the data I see:

2016-05-26T02:57:20.711000Z ERROR Bad character - in base64 decode

It seems when it tries to migrate data in sqlite3 table like: https://github.com/drone/drone/blob/v0.4.2/store/datastore/ddl/sqlite3/1_init.sql#L50-L57

That it fails to properly decode the data. As you can see the BLOBs are public/private keys that contain '-' in them.

The postgresql schema is defined like: https://github.com/drone/drone/blob/v0.4.2/store/datastore/ddl/postgres/1_init.sql#L40-L47

Just curious if you had any thoughts on how to workaround this issue.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions