donaldzou / WGDashboard

Simple dashboard for WireGuard VPN written in Python w/ Flask
Apache License 2.0
1.41k stars 207 forks source link

Missing modules #180

Open quantuumsnot opened 2 years ago

quantuumsnot commented 2 years ago

Describe The Problem WGDashboard won't start and outputs a missing modules in the script and no logs saved in log dir

| Starting WGDashboard with Gunicorn in the background.    |
Failed to read config file: /home/wgdashboard/src/gunicorn.conf.py
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 111, in get_config_from_filename
    spec.loader.exec_module(mod)
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/wgdashboard/src/gunicorn.conf.py", line 2, in <module>
    import dashboard
  File "/home/wgdashboard/src/dashboard.py", line 23, in <module>
    import ifcfg
ModuleNotFoundError: No module named 'ifcfg'
| Log files is under log/

To Reproduce starting it with ./wdg.sh start while logged as root

OS Information:

I know that the problem is in the missing python modules but for the sanity of the people that do not use python it will be good to actually install them in the install script

eakteam commented 6 months ago

Same here

DaanSelen commented 3 weeks ago

Have you tested on the new version?