Closed sambenas closed 7 years ago
We introduced JSONB column named irma_probeResult. doc in 1.5.0 but didnt published a migration script (pretty easy for the structure migration but pretty hard for the data migration mongodb ->this new column). It is possible to achieve but with efforts so we announced that migration from or to 1.5.0 will not work (1.5.0 changelog) Manual install normally create the db from scratch directly with the good structure, if you don't have any important data you could just drop the database "irma-frontend" (default name) and recreate it, restarting the frontend_api will recreate the database with the correct structure. Sorry for the inconvenience.
Thank you for the response. It was a fresh install so there was no data yet. I just took a pg_dump from one of the prebuilt 1.5 images and got it working.
Good.
Manual install of version 1.5.3. File upload returns api error with this in the frontend_api.log file:
Command
alembic current
on frontend node produces:Is a migration file missing? In the frontend/extras/migrations/versions/ directory I have: 2cc69d5c53eb_db_revision_creation.py 56608def7269_version_1_5_2.py 430a70c8aa21_version_1_2_1.py
eb7141efd75a_version_1_3_0.py
Table irma_probeRresult in postgres shows the following fields: id | type | name | nosql_id | status | id_file