ProgrammingError during Bulk Delete of VLANs (Background Job) #469

Closed
opened 2026-04-05 16:34:38 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Mister-MAP on 1/26/2026

NetBox Edition

NetBox Community

NetBox Version

v4.5.1

Python Version

3.12

Steps to Reproduce

  1. Navigate to IPAM > VLANs.
  2. Select multiple VLANs using the checkboxes.
  3. Click the Delete Selected button.
  4. In the confirmation dialog, check the "Background job" checkbox and confirm.
  5. Navigate to Operations > Jobs and inspect the failed job.

Expected Behavior

The selected VLANs should be deleted successfully by the background worker without database errors.

Observed Behavior

The background job fails immediately with the following traceback:
ProgrammingError('column users_user.is_staff does not exist\nLINE 1: ..., "users_user"."last_name", "users_user"."email", "users_use...\n ^')
More details in the attachment
worker_error.txt

*Originally created by @Mister-MAP on 1/26/2026* ### NetBox Edition NetBox Community ### NetBox Version v4.5.1 ### Python Version 3.12 ### Steps to Reproduce 1. Navigate to **IPAM > VLANs**. 2. Select multiple VLANs using the checkboxes. 3. Click the **Delete Selected** button. 4. In the confirmation dialog, check the "Background job" checkbox and confirm. 5. Navigate to Operations > Jobs and inspect the failed job. ### Expected Behavior The selected VLANs should be deleted successfully by the background worker without database errors. ### Observed Behavior The background job fails immediately with the following traceback: `ProgrammingError('column users_user.is_staff does not exist\nLINE 1: ..., "users_user"."last_name", "users_user"."email", "users_use...\n ^')` More details in the attachment [worker_error.txt](https://github.com/user-attachments/files/24852899/worker_error.txt)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#469