-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got internal server error on web UI #1350
Comments
What version are you running? 0.32.0, where we finally took the step to Python 3? How are you serving the web UI? You probably need to install a Python 3 capable WSGI server. If you're using the Debian packages you should've gotten a notification regarding that during the upgrade. |
nipapd and nipap-www is the newest version (0.31.2-1) and i already install libapache2-mod-wsgi-py3. What a notification?the only notification i got when i ran apt upgrade was the option of configure randomized secret_key. |
Okay, that's odd.. I presume you have restarted Apache? If you just start an interactive Python 3 interpreter, can you import nipapwww? What distribution are you running NIPAP on? |
Yes i have restarted apache and nipapd. How to import nipapwww? I'm running on ubuntu 16.04 |
Just run Ubuntu 16.04 ships with Python 3.5, I haven't tested NIPAP with versions < 3.6. Automated tests are run on Ubuntu 20.04, I've tested manually on 18.04. Would you consider a dist upgrade? |
This what i got when tried to import nipapwww on version 3.5 and 3.8 Python 3.5.2 (default, Jan 26 2021, 13:30:48) Python 3.8.6 (default, Dec 6 2020, 14:28:49) Original exception was: |
same over here...
|
running ubuntu 20.04.6 |
Getting the same type of error. Anyone got a fix for this on Ubuntu 20.04? |
Hello, my nipap installation on Ubuntu 20.04 gave the same errors, then I've found that it needed libapache2-mod-wsgi-py3 instead of libapache2-mod-wsgi installed. |
I got internal server error on nipap web UI after upgrade. This the log
[Wed Oct 25 17:20:30.716799 2023] [wsgi:error] Traceback (most recent call last):
[Wed Oct 25 17:20:30.716823 2023] [wsgi:error] File "/etc/nipap/www/nipap-www.wsgi", line 7, in
[Wed Oct 25 17:20:30.716827 2023] [wsgi:error] from nipapwww import create_app
[Wed Oct 25 17:20:30.716837 2023] [wsgi:error] ImportError: No module named 'nipapwww'
[Wed Oct 25 17:20:30.859976 2023] [wsgi:error] mod_wsgi (pid=30011): Target WSGI script '/etc/nipap/www/nipap-www.wsgi' cannot be loaded as Python module., referer: https://ipam.te.net.id/
[Wed Oct 25 17:20:30.860010 2023] [wsgi:error] mod_wsgi (pid=30011): Exception occurred processing WSGI script '/etc/nipap/www/nipap-www.wsgi'., referer: https://ipam.te.net.id/
[Wed Oct 25 17:20:30.860062 2023] [wsgi:error] Traceback (most recent call last):, referer: https://ipam.te.net.id/
[Wed Oct 25 17:20:30.860079 2023] [wsgi:error] File "/etc/nipap/www/nipap-www.wsgi", line 7, in , referer: https://ipam.te.net.id/
[Wed Oct 25 17:20:30.860082 2023] [wsgi:error] from nipapwww import create_app, referer: https://ipam.te.net.id/
[Wed Oct 25 17:20:30.860092 2023] [wsgi:error] ImportError: No module named 'nipapwww', referer: https://ipam.te.net.id/
is it something wrong with nipapwww?
The text was updated successfully, but these errors were encountered: