Skip to content

[Solved]server: status off Settings #20

Open

Description

@tehseensagar

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.

Regards

Activity

  1. nanowell commented on Oct 1, 2019

    @nanowell

    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.

  2. tehseensagar commented on Oct 1, 2019

    @tehseensagar
    Author

    @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-dev

    Regards

  3. changed the title [-]server: status off Settings[/-] [+][Solved]server: status off Settings[/+] on Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions