Skip to content

Schema mismatch right after install #1195

Open
@maringuu

Description

FACT version

4.1.1

Environment

Ubuntu 20.04.06 LTS

Steps to reproduce

  1. Install FACT
  2. Run the backend
  3. FACt will complain about a schema mismatch, despite the fact that it is freshly installed

Expeced Behavior

It works.

Installation logs

No response

Backend logs

[2024-02-16 15:43:36][migration][INFO]: Context impl PostgresqlImpl.
[2024-02-16 15:43:36][migration][INFO]: Will assume transactional DDL.
[2024-02-16 15:43:36][fact_base][ERROR]: The database schema in "storage/schema.py" does not match the schema of the configured database. Please run `alembic upgrade head` from `src` to update the schema.
Traceback (most recent call last):
  File "./start_fact_backend", line 125, in <module>
    FactBackend().main()
  File "./start_fact_backend", line 48, in __init__
    super().__init__()
  File "/home/maringuu/opt/FACT_core-v4.1.1/src/fact_base.py", line 40, in __init__
    self.do_self_test()
  File "/home/maringuu/opt/FACT_core-v4.1.1/src/fact_base.py", line 88, in do_self_test
    raise DbInterfaceError('Schema mismatch')
storage.db_interface_base.DbInterfaceError: Schema mismatch

Frontend logs

No response

Other information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions