You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to setup this on my test vps , where Ive only terminal no GUI . I've tried to access it a bit change in loki.py and change ===> app.run() into ===> app.run(host='0.0.0.0.0') . >But the issue is when I logged into panel server status is OFF. when I switch to settings and server tab . I put my WAN IP there and server does not start. IP box turned RED . Any idea what's wrong.
@gra1w keep thing simple I did the same ;) .vi lib/const.py and set both PRIVATE_IP and PUBLIC_IP to your REAL_WAN_IP / VPS_IP. Below is the python3.7 for best running loki.
++++++++++++++++++++++
#Error Fixing on make altinstall
ile "/tmp/Python-3.7.2/Lib/ctypes/init.py", line 7, in
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
Makefile:1140: recipe for target 'altinstall' failed
make: *** [altinstall] Error 1
Activity
nanowell commentedon Oct 1, 2019
I set this up on vps by configuring PRIVATE_IP variable to real ip and modifying app.run() to
app.run(host='URREALIP')
I think this might help you.
tehseensagar commentedon Oct 1, 2019
@gra1w keep thing simple I did the same ;) .vi lib/const.py and set both PRIVATE_IP and PUBLIC_IP to your REAL_WAN_IP / VPS_IP. Below is the python3.7 for best running loki.
#Installing 3.7 python
`
sudo apt install -y
build-essential
checkinstall
sudo apt install -y
libreadline-gplv2-dev
libncursesw5-dev
libssl-dev
libsqlite3-dev
tk-dev
libgdbm-dev
libc6-dev
libbz2-dev
`
`
cd /tmp/
wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz
tar -xf Python-3.7.2.tar.xz
cd Python-3.7.2
./configure --enable-optimizations --enable-loadable-sqlite-extensions
make -j 1
make altinstall
`
++++++++++++++++++++++
#Error Fixing on make altinstall
ile "/tmp/Python-3.7.2/Lib/ctypes/init.py", line 7, in
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
Makefile:1140: recipe for target 'altinstall' failed
make: *** [altinstall] Error 1
sudo apt install libffi-devRegards
[-]server: status off Settings[/-][+][Solved]server: status off Settings[/+]