-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Migration Failure Issue
Problem Description
I ran into an issue where a migration failed.
Steps to Reproduce
Step 1: Download dump data
Download the dump data from the following URL:
wget -c https://trustify-dumps.s3.eu-west-1.amazonaws.com/20250604T002104Z/dump.sql.gz -o dump.sql.gzStep 2: Start PostgreSQL
Start PostgreSQL using Podman:
podman run --rm -it --name trustify-postgres \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=trustify \
-e POSTGRES_DB=trustify \
-p 5432:5432 \
postgres:17Step 3: Import dump data
Import the downloaded dump data into PostgreSQL:
gzcat dump.sql.gz | env PGPASSWORD=trustify psql -U postgres -d trustify -h localhost -p 5432 -v ON_ERROR_STOP=1
echo "VACUUM ANALYZE; REINDEX database trustify;" | env PGPASSWORD=trustify psql -U postgres -d trustify -h localhost -p 5432 -v ON_ERROR_STOP=1Step 4: Start trustify
Start trustify with the following command:
RUST_LOG=debug cargo run --bin trustd -- api --auth-disabled --devmodeError
However, startup failed with the following error:
Environment
- Database: PostgreSQL 17
- Container Runtime: Podman
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status