Database migration fails when updating from 2.9.1 to 3.0.2 #1344
Replies: 2 comments
-
I checked the database container and the table |
Beta Was this translation helpful? Give feedback.
0 replies
-
A kind person pointed me at this bug: Big thanks! This helped me. The core issue is the faulty migration step that needs to be deleted manually from the migrations table. Maybe the error handling should be improved. It's totally misleading. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current Behavior
I tried to update the repository from 2.9.1 to 3.0.2.
When starting the netbox container the migration fails. See log.
PostgreSQL and Valkey (redis/redis-cache container) are up and running.
Expected Behavior
The migration finishes successfully and Netbox starts using the new version.
Docker Compose Version
docker-compose version 1.29.2, build unknown
Docker Version
The git Revision
git version 2.39.5
The git Status
Startup Command
docker-compose up
NetBox Logs
Content of docker-compose.override.yml
Beta Was this translation helpful? Give feedback.
All reactions