Upgrade from v3.4.10 to v3.5.x #12654
-
Hello, Im struggling to upgrade my netbox docker instance to the latest tag image. I install additional plugins so i've done as stated here to my Dockerfile since now the secret_key needs to be >=50 characters. I pretty much get similar error as here but havent been able to resolve it.
Looking at the upgrade docs i notice that there is a reference to an
I even tried copying the
Honestly at a lost. Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The issue in your first outputs is that your secret key configuration does not meet the minimum required 50 characters for 3.5+. I see you are saying you are aware of this, can you clarify what you did to generate/update your secret key for 50+characters? Otherwise: From your first output It sounds like you are running this from inside docker, so check your environment configuration and expand your SECRET_KEY environment variable to be 50+ characters |
Beta Was this translation helpful? Give feedback.
-
aaaahhh i thought it was 50 because
but it is actually 49.... i missed including the
the upgrade is good now... *sigh* Thank you @FliesLikeABrick for the quick response! |
Beta Was this translation helpful? Give feedback.
-
i still am see the same error even after confirming that the secret key is longer than 50 chars |
Beta Was this translation helpful? Give feedback.
The issue in your first outputs is that your secret key configuration does not meet the minimum required 50 characters for 3.5+. I see you are saying you are aware of this, can you clarify what you did to generate/update your secret key for 50+characters? Otherwise:
From your first output
netbox | django.core.exceptions.ImproperlyConfigured: SECRET_KEY must be at least 50 characters in length. To generate a suitable key, run the following command: python /opt/netbox/netbox/generate_secret_key.py
It sounds like you are running this from inside docker, so check your environment configuration and expand your SECRET_KEY environment variable to be 50+ characters