-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Don't work on Ubuntu #284
Comments
same here |
Hi, could you run |
Hi @Houdoe, are you using an virtual environment? If not, I suggest you to create one since the newer version of Python does not allow user to install global dependencies by default. You can follow this if you're using Debian/Ubuntu system:
Let me know if this helps :) |
Hello, yes, I used a virtual environment, everything was installed, but when I go to the IP it gives the error |
Hi, are you still encountering the issue even with venv? Would you able to paste the error when you run |
when venv the error appears in the browser |
I see, what if you run |
It turns out the port is occupied by another program. Can I edit the launch port in the conf file?
|
I killed the process on the port, restarted it, again the same error in the browser, but the debug shows:
|
Seems like the dashboard can't find the database... I'm thinking will it caused by permission? Could you please try using sudo and run debug and see if that helps? |
does not start if used sudo error ModuleNotFoundError: No module named 'ifcfg', without sudo start ok
|
Hi,
Sorry for the confusion. I meant using your venv, then sudo.
Something like:
$ source <your venv path>
$ sudo ./wgd.sh start
:)
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Medraut ***@***.***>
Sent: Saturday, July 6, 2024 3:24:11 AM
To: donaldzou/WGDashboard ***@***.***>
Cc: Donald Zou ***@***.***>; State change ***@***.***>
Subject: Re: [donaldzou/WGDashboard] Don't work on Ubuntu (Issue #284)
Seems like the dashboard can't find the database... I'm thinking will it caused by permission? Could you please try using sudo and run debug and see if that helps?
does not start if used sudo error ModuleNotFoundError: No module named 'ifcfg', without sudo start ok
medraut@:~/wgdashboard/src$ sudo ./wgd.sh start
[sudo] password for medraut:
------------------------------------------------------------
| Starting WGDashboard with Gunicorn in the background. |
Failed to read config file: /home/medraut/wgdashboard/src/gunicorn.conf.py
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gunicorn/app/base.py", line 111, in get_config_from_filename
spec.loader.exec_module(mod)
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/home/medraut/wgdashboard/src/gunicorn.conf.py", line 2, in <module>
import dashboard
File "/home/medraut/wgdashboard/src/dashboard.py", line 23, in <module>
import ifcfg
ModuleNotFoundError: No module named 'ifcfg'
| Log files is under log/ |
------------------------------------------------------------
—
Reply to this email directly, view it on GitHub<#284 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGARNUL3BUOU3TYZUZ4AXLLZK3XFXAVCNFSM6AAAAABKJ5UHTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRGMYTQMJXG4>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
That's exactly what I did |
Hmm I don't think you used venv in this one.. it should have a bracket wrapping your venv's name before each command. |
Sorry, you are right, the fact is that the first time I tried without venv,
but the second time it was venv, I sent you the old debug since it was no
different, the situation does not change if you use sudo
сб, 6 июл. 2024 г. в 11:51, Donald Zou ***@***.***>:
… Seems like the dashboard can't find the database... I'm thinking will it
caused by permission? Could you please try using sudo and run debug and see
if that helps?
does not start if used sudo error ModuleNotFoundError: No module named
'ifcfg', without sudo start ok
medraut@:~/wgdashboard/src$ sudo ./wgd.sh start
[sudo] password for medraut:
------------------------------------------------------------
| Starting WGDashboard with Gunicorn in the background. |
Failed to read config file: /home/medraut/wgdashboard/src/gunicorn.conf.py
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gunicorn/app/base.py", line 111, in get_config_from_filename
spec.loader.exec_module(mod)
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/home/medraut/wgdashboard/src/gunicorn.conf.py", line 2, in <module>
import dashboard
File "/home/medraut/wgdashboard/src/dashboard.py", line 23, in <module>
import ifcfg
ModuleNotFoundError: No module named 'ifcfg'
| Log files is under log/ |
------------------------------------------------------------
Hmm I don't think you used venv in this one.. it should have a bracket
wrapping your venv's name before each command.
—
Reply to this email directly, view it on GitHub
<#284 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXMAAANVFH37U5AIJYJOGETZK6VYJAVCNFSM6AAAAABKJ5UHTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRG4YTANZXG4>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Is this issue fixed? |
Yes, I checked today, installed everything from the beginning, everything works fine |
So this issue is solved? |
Yes, that's right, we can close it, thank you. |
Describe The Problem
When going to http://:10086 the message is displayed: Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Expected Error / Traceback
To Reproduce
http://:10086 in the client browser
OS Information:
The text was updated successfully, but these errors were encountered: