Unable to create the django_migrations table during installation #11314
Replies: 8 comments 19 replies
-
Did you create the database with the user you have defined in your configuration as specified at https://docs.netbox.dev/en/stable/installation/1-postgresql/ |
Beta Was this translation helpful? Give feedback.
-
Found the issue. The error is related to how PostgreSQL grants permissions. More information can be found at https://www.cybertec-postgresql.com/en/error-permission-denied-schema-public/ A simple solution is to replace the GRANT ALL step with
This fixes the error. This should be reflected in the documentation. It would work with all PostgreSQL versions. |
Beta Was this translation helpful? Give feedback.
-
I also ran into this error today. Thanks for the fix |
Beta Was this translation helpful? Give feedback.
-
This solution worked for me as well, thank you! |
Beta Was this translation helpful? Give feedback.
-
The error message is a bit confusing. I tried to grant all permissions to the user on the public SCHEMA, but that didn't work. |
Beta Was this translation helpful? Give feedback.
-
This really should just work out of the box for new Netbox installs. Is there some documentation or error message improvement needed, or is this really something in the code? |
Beta Was this translation helpful? Give feedback.
-
damn actually work...thanks man |
Beta Was this translation helpful? Give feedback.
-
NetBox version
v3.4.1
Python version
3.10
Steps to Reproduce
Ubuntu 22.04 server
Install PostgreSQL 15
Install Redis 7.0.7
Follow the steps listed at https://docs.netbox.dev/en/stable/installation/3-netbox/
Using the Git method (checkout v3,4,1) to install.
Run the command
sudo /opt/netbox/upgrade.sh
Expected Behavior
It should be completed successfully.
Observed Behavior
I get the following error message.
Beta Was this translation helpful? Give feedback.
All reactions