NetBox Edition
NetBox Community
NetBox Version
v4.5.1
Python Version
3.12
Steps to Reproduce
- Navigate to IPAM > VLANs.
- Select multiple VLANs using the checkboxes.
- Click the Delete Selected button.
- In the confirmation dialog, check the "Background job" checkbox and confirm.
- 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