Replies: 1 comment 2 replies
-
This has been addressed in latest firmware, this error message has been removed, you can ignore this one.
Error 3 is the same thing here. Likely that the database username/password you have configured in your InvenTree settings does not have the correct permissions to access the database |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
InvenTree noob trying to manually set up a bare metal installation (ubuntu 22.04, python 3.10, postgresql 16).
Added database access details and static/media/backup dirs in config.yaml.
The initial 'invoke update' fails with the following 3 errors:
Error 1:
Updating plugin registry hash: ...
Failed to update plugin registry hash: relation "common_inventreesetting" does not exist
Error 2:
Running migrations:
psycopg2.errors.InsufficientPrivilege: permission denied for schema public
LINE 1: CREATE TABLE "django_migrations" ("id" serial NOT NULL PRIMA...
Error 3:
django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table (permission denied for schema public
LINE 1: CREATE TABLE "django_migrations" ("id" serial NOT NULL PRIMA...
Tried granting permissions for inventree user in the public schema as in https://stackoverflow.com/a/12236582:
psql inventree -c "GRANT ALL ON ALL TABLES IN SCHEMA public to inventree;"
psql inventree -c "GRANT ALL ON ALL SEQUENCES IN SCHEMA public to inventree;"
psql inventree -c "GRANT ALL ON ALL FUNCTIONS IN SCHEMA public to inventree;"
It did not help. What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions