class 'django.template.exceptions.TemplateSyntaxError on main page #873

Closed
opened 2025-12-29 16:26:31 +01:00 by adam · 2 comments
Owner

Originally created by @adamtbeames on GitHub (Apr 18, 2017).

debug.txt

Issue type: bug report

Python version: 2.7.13
NetBox version: 1.9.5

After running an upgrade from v1.7.3 to v1.9.5, the main page shows a "Server Error" :

`<class 'django.template.exceptions.TemplateSyntaxError'>

Invalid filter: 'contains'

Originally created by @adamtbeames on GitHub (Apr 18, 2017). [debug.txt](https://github.com/digitalocean/netbox/files/929717/debug.txt) <!-- Please note: GitHub issues are to be used only for feature requests and bug reports. For installation assistance or general discussion, please join us on the mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please indicate "bug report" or "feature request" below. Be sure to search the existing set of issues (both open and closed) to see if a similar issue has already been raised. --> ### Issue type: bug report <!-- If filing a bug, please indicate the version of Python and NetBox you are running. (This is not necessary for feature requests.) --> **Python version:** 2.7.13 **NetBox version:** 1.9.5 <!-- If filing a bug, please record the exact steps taken to reproduce the bug and any errors messages that are generated. If filing a feature request, please precisely describe the data model or workflow you would like to see implemented, and provide a use case. --> After running an upgrade from v1.7.3 to v1.9.5, the main page shows a "Server Error" : `<class 'django.template.exceptions.TemplateSyntaxError'> `Invalid filter: 'contains'`
adam closed this issue 2025-12-29 16:26:31 +01:00
Author
Owner

@jeremystretch commented on GitHub (Apr 18, 2017):

Did you restart the WSGI process after upgrading?

@jeremystretch commented on GitHub (Apr 18, 2017): Did you restart the WSGI process after upgrading?
Author
Owner

@adamtbeames commented on GitHub (Apr 18, 2017):

Doh!
Killed the procs off and restarted nginx. All good now.
Thanks for the help and thanks for netbox.

@adamtbeames commented on GitHub (Apr 18, 2017): Doh! Killed the procs off and restarted nginx. All good now. Thanks for the help and thanks for netbox.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#873