Skip to content

How to delete a Report with syntax error in it #12841

Answered by candlerb
kawalex asked this question in Help Wanted!
Discussion options

You must be logged in to vote

A simpler solution: replace the broken report with a zero-byte file. This avoids having to touch the database.

cd /opt/netbox/netbox/reports
mv broken_report.py broken_report.py.xxx
touch broken_report.py

Then you can delete it from the GUI.

Also raised as #12842

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@kawalex
Comment options

Answer selected by kawalex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants