Skip to content

Try to run script-server on ubuntu-server #781

Open
@adripalu

Description

@adripalu

Hi @bugy congrats for this amazing tool.
I'm trying to use script-server for my job but i'm stuck in a loop. My goal is to run the scripts present on a ubuntu-server machine from the script-server broswer interface.
To do that I installed script-server on the remote machine and ran the launcher in a docker container, as mentioned here. Thanks to that I'm able to open the localhost:5000 page and run the scripts.

Image

Now i have three problems:

  1. When i close the ssh terminal, the web page crash

Image

  1. If I try to run the launcher.py as service, exactly as mentioned here, the service does not start (or if start, when i close the terminal it crash), whether I specify ExecStart with python command (ExecStart=sudo /home/server/.python_venv/script-server/bin/python /home/server/projects/script-server/launcher.py) or via docker
    (ExecStart=/usr/bin/docker run -d -p 5000:5000 -v /host/path/to/conf.json:/app/conf/conf.json -v /host/path/to/runners/:/app/conf/runners -v /host/path/to/scripts/:/app/custom_projects/ bugy/script-server:1.18.0).

  2. The only web page that i can succesfully use is the localhost page and not the ip server page. Infact, even if i specify the server ip in the "address" field of conf.json, the page doesn't open.
    For example this is my conf.json:

Image

I know these are a lot of questions, but your help would be greatly appreciated.
Thanks

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