Setup problems with Netbox on Apache + Debian 8 and 9 #1383

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

Originally created by @KaliszAd on GitHub (Nov 3, 2017).

Description

I get 404 Not Found after Netbox setup with Apache 2 and Debian 8 and 9 following the official documentation: https://netbox.readthedocs.io/en/stable/installation/
The test with python3 manage.py run ... works.

I had to install libapache2-mod-wsgi-py3 for Apache 2 to restart correctly with "WSGIPassAuthorization on" in the config.

This happens also on a clean Debian 9 install. What do I do wrong? How can I debug this reasonably?

Issue type

[ ] Feature request
[*] Bug report
[ ] Documentation

Environment

  • Debian 8 Jessie and Debian 9 Stretch, AMD64
  • PostgreSQL 9.4 and 9.6
  • Apache: 2.4.10, 2.4.25
  • gunicorn
  • no TLS/SSL (this is for testing)
  • Python version: 3.4.2, 3.5.3 and
  • NetBox version: 2.2.2
  • pretty much verbatim config (changed BASE_PATH to netbox/)
  • /opt children with www-data ownership
Originally created by @KaliszAd on GitHub (Nov 3, 2017). ### Description I get 404 Not Found after Netbox setup with Apache 2 and Debian 8 and 9 following the official documentation: https://netbox.readthedocs.io/en/stable/installation/ The test with python3 manage.py run ... works. I had to install libapache2-mod-wsgi-py3 for Apache 2 to restart correctly with "WSGIPassAuthorization on" in the config. This happens also on a clean Debian 9 install. What do I do wrong? How can I debug this reasonably? <!-- Before opening a new issue, please search through the existing issues to see if your topic has already been addressed. Note that you may need to remove the "is:open" filter from the search bar to include closed issues. Check the appropriate type for your issue below by placing an x between the brackets. If none of the below apply, please raise your issue for discussion on our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please note that issues which do not fall under any of the below categories will be closed. ---> ### Issue type [ ] Feature request <!-- Requesting the implementation of a new feature --> [*] Bug report <!-- Reporting unexpected or erroneous behavior --> [ ] Documentation <!-- Proposing a modification to the documentation --> <!-- Please describe the environment in which you are running NetBox. (Be sure to verify that you are running the latest stable release of NetBox before submitting a bug report.) --> ### Environment * Debian 8 Jessie and Debian 9 Stretch, AMD64 * PostgreSQL 9.4 and 9.6 * Apache: 2.4.10, 2.4.25 * gunicorn * no TLS/SSL (this is for testing) * Python version: 3.4.2, 3.5.3 and<!-- Example: 3.5.4 --> * NetBox version: 2.2.2<!-- Example: 2.1.3 --> * pretty much verbatim config (changed BASE_PATH to netbox/) * /opt children with www-data ownership <!-- BUG REPORTS must include: * A list of the steps needed to reproduce the bug * A description of the expected behavior * Any relevant error messages (screenshots may also help) FEATURE REQUESTS must include: * A detailed description of the proposed functionality * A use case for the new feature * A rough description of any necessary changes to the database schema * Any relevant third-party libraries which would be needed -->
adam closed this issue 2025-12-29 16:31:57 +01:00
Author
Owner

@jeremystretch commented on GitHub (Nov 3, 2017):

Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using the template provided here. For general discussion, questions, or assistance with installation issues, please post to our mailing list.

@jeremystretch commented on GitHub (Nov 3, 2017): Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using the template provided [here](https://raw.githubusercontent.com/digitalocean/netbox/develop/.github/ISSUE_TEMPLATE.md). For general discussion, questions, or assistance with installation issues, please post to our [mailing list](https://groups.google.com/forum/#!forum/netbox-discuss).
Author
Owner

@Kickimanjaro commented on GitHub (Jan 2, 2018):

I found this thread while attempting to install NetBox on a fresh Debian 9 server. The docs still do not indicate the requirement for "libapache2-mod-wsgi-py3" on Debian (and I seeing what has been reported here) so I created an edit that would have helped me while following the installation docs.

@Kickimanjaro commented on GitHub (Jan 2, 2018): I found this thread while attempting to install NetBox on a fresh Debian 9 server. The docs still do not indicate the requirement for "libapache2-mod-wsgi-py3" on Debian (and I seeing what has been reported here) so I created an edit that would have helped me while following the installation docs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1383