Prefix import not working after upgrade from 2.0.4 -> 2.0.7 #1076

Closed
opened 2025-12-29 16:28:35 +01:00 by adam · 4 comments
Owner

Originally created by @rkutsel on GitHub (Jul 3, 2017).

Unable to import prefixes after upgrading from 2.0.4 to 2.0.7. It pups up with "Required column header "prefix" not found." error. I didn't find any one who had something similar to what I'm having here. I'm running my netbox instance on Debian 3.16.43-2, python2.7, django 1.11.

I was trying to import it using this format:
169.254.0.0/30,,,,,,Active,,,comment

Am I missing something here or does it look like a bug to you?

Originally created by @rkutsel on GitHub (Jul 3, 2017). Unable to import prefixes after upgrading from 2.0.4 to 2.0.7. It pups up with "Required column header "prefix" not found." error. I didn't find any one who had something similar to what I'm having here. I'm running my netbox instance on Debian 3.16.43-2, python2.7, django 1.11. I was trying to import it using this format: 169.254.0.0/30,,,,,,Active,,,comment Am I missing something here or does it look like a bug to you?
adam closed this issue 2025-12-29 16:28:35 +01:00
Author
Owner

@patrickfish commented on GitHub (Jul 3, 2017):

Version 2.0.5 changed the behavior for importing, see
https://github.com/digitalocean/netbox/issues/655

See the text below the import box: Enter the list of column headers
followed by one line per record to be imported, using commas to separate
values. Multi-line data and values containing commas may be wrapped in
double quotes.

So your example would now be:

prefix,status
169.254.0.0/30,Active

On Mon, Jul 3, 2017 at 12:15 PM, Roman Kutsel notifications@github.com
wrote:

Unable to import prefixes after upgrading from 2.0.4 to 2.0.7. It pups up
with "Required column header "prefix" not found." error. I didn't find any
one who had something similar to what I'm having here. I'm running my
netbox instance on Debian 3.16.43-2, python2.7, django 1.11.

I was trying to import it using this format:
169.254.0.0/30,,,,,,Active,,,comment

Am I missing something here or does it look like a bug to you?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/digitalocean/netbox/issues/1314, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADUMhXjotAt2n2CY5EgbYMWvs9H07uUHks5sKT27gaJpZM4OMnEP
.

@patrickfish commented on GitHub (Jul 3, 2017): Version 2.0.5 changed the behavior for importing, see https://github.com/digitalocean/netbox/issues/655 See the text below the import box: Enter the list of column headers followed by one line per record to be imported, using commas to separate values. Multi-line data and values containing commas may be wrapped in double quotes. So your example would now be: prefix,status 169.254.0.0/30,Active On Mon, Jul 3, 2017 at 12:15 PM, Roman Kutsel <notifications@github.com> wrote: > Unable to import prefixes after upgrading from 2.0.4 to 2.0.7. It pups up > with "Required column header "prefix" not found." error. I didn't find any > one who had something similar to what I'm having here. I'm running my > netbox instance on Debian 3.16.43-2, python2.7, django 1.11. > > I was trying to import it using this format: > 169.254.0.0/30,,,,,,Active,,,comment > > Am I missing something here or does it look like a bug to you? > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/digitalocean/netbox/issues/1314>, or mute the thread > <https://github.com/notifications/unsubscribe-auth/ADUMhXjotAt2n2CY5EgbYMWvs9H07uUHks5sKT27gaJpZM4OMnEP> > . >
Author
Owner

@rkutsel commented on GitHub (Jul 3, 2017):

@patrickfish oddly I get the same error. Not sure what to make of this but I'll spend some more time digging deeper into this and come back if find something.

@rkutsel commented on GitHub (Jul 3, 2017): @patrickfish oddly I get the same error. Not sure what to make of this but I'll spend some more time digging deeper into this and come back if find something.
Author
Owner

@jeremystretch commented on GitHub (Jul 5, 2017):

Closing this out as there does not appear to be anything actionable. Please ask for this issue to be reopened if you believe you've found a bug.

@jeremystretch commented on GitHub (Jul 5, 2017): Closing this out as there does not appear to be anything actionable. Please ask for this issue to be reopened if you believe you've found a bug.
Author
Owner

@rkutsel commented on GitHub (Jul 6, 2017):

@jeremystretch so it looks like when doing an import the first line "prefix,status
" needs to be there. That was a bit confusing. Clearly not a bug, but perhaps it needs to be articulated in the message where it says "Enter the list of column headers followed by one line per record to be imported, using commas to separate values. Multi-line data and values containing commas may be wrapped in double quotes."

@rkutsel commented on GitHub (Jul 6, 2017): @jeremystretch so it looks like when doing an import the first line "prefix,status " needs to be there. That was a bit confusing. Clearly not a bug, but perhaps it needs to be articulated in the message where it says "Enter the list of column headers followed by one line per record to be imported, using commas to separate values. Multi-line data and values containing commas may be wrapped in double quotes."
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1076