User ID missing when creating new userkey

80 views
Skip to first unread message

Rob Mason

unread,
Oct 25, 2021, 6:51:07 AM10/25/21
to NetBox
Hi All,

We are recieving a server error messge when creating new user keys. Output below;

<class 'django.db.utils.IntegrityError'>
null value in column "user_id" violates not-null constraint DETAIL: Failing row contains (13, 2021-10-25, 2021-10-25 10:48:41.666872+00, ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDlRzVjl+ibaZuoIjrRvq6R8c3h..., \x74119ea1a83559065d514ced112dcb517e178ec5e13139799b90ae25e03215..., null). Python version: 3.8.10 NetBox version: 2.10.6

The user id doesn't seem to be carried across, from the UI the user field isn't even populated.

This happens for all users.

Thanks,

Rob

Jeremy Stretch

unread,
Oct 25, 2021, 8:19:14 AM10/25/21
to Rob Mason, NetBox
It's likely a bug that has been addressed in a more recent release. You should consider upgrading to at least v2.11.12, as v2.10.6 is quite old. (Do note that the secrets functionality is removed in v3.0.)

Jeremy Stretch
Distinguished Engineer, NS1
Office of the CTO
 
website: ns1.com
email: jstretch@ns1.com
 
twitterlinkedin
 
banner


--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/c3317d1d-cbb2-4b81-916c-9b0b5935a98fn%40googlegroups.com.

Rob Mason

unread,
Oct 25, 2021, 9:44:41 AM10/25/21
to NetBox
Thanks Jeremy, noted and will do.

Rob
Reply all
Reply to author
Forward
0 new messages