3.2 upgrade NETBOX_DELETE_LEGACY_DATA? #9086
-
|
Trying to run the 3.2 upgrade and getting error about ASN data. This isn;t something that would matter to us, but how do I tell the upgrade to proceed and delete the old data? The error says to "set the NETBOX_DELETE_LEGACY_DATA environment variable" - sorry but where does that need to be set? Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
|
The environment variable just needs to be defined when the upgrade script is run. You can, for example, do: |
Beta Was this translation helpful? Give feedback.
-
|
Try: Seems to be a bit platform-dependent. |
Beta Was this translation helpful? Give feedback.
-
|
I am having the same Issue here, adding NETBOX_DELETE_LEGACY_DATA remvoes all Sites and Racks, any idea, I am trying to Update from 3.3.10 to 3.7 , Any Idea as which Database fields should be removed ? |
Beta Was this translation helpful? Give feedback.
Try:
Seems to be a bit platform-dependent.