YunoHost / yunorunner

Job manager/scheduler for YunoHost apps CI tests
14 stars 6 forks source link

error 500 on index.ws #3

Closed yalh76 closed 5 years ago

yalh76 commented 5 years ago

I've installed two times yunnorunner on fresh install Debian + Yunohost + CI_package_check (+build_CI.sh) + yunorunner_ynh_core from @maniackcrudelis .

CI_package_check is working fine.

Yunnorunner works also: capture

But I have an error on the webinterface: capture

And here are the journalctl -u yunorunner: capture

I don't know if it's related to add the magical lines to allow websocket (it's not allowed for whatever reason) from the readme..

But port 4242 is opened on the firewall: image

PS: my yunorunner is only available from internet using IPV6 ...

Psycojoker commented 5 years ago

Looking at your error that really seems like an error in @maniackcrudelis package regarding SSOWat configuration :/

You'll probably want to reopen this bug on the package repository as I can't really do anything about that, sorry :x https://github.com/YunoHost-Apps/yunorunner_ynh_core

yalh76 commented 5 years ago

Well, I've tested stoping nginx and directly adding a port forwarding with SSH and I have the same result... I will try to install it from scratch, manually on a debian without yunohost, and let you know if it works

Do you what are the magical lines to allow websocket ? (as written in the deployment part of the readme)

yalh76 commented 5 years ago

I find the problem ^^ On a fresh debian only install When installing the requirements: ve3/bin/pip install -r requirements.txt I had the error: "sanic 18.12.0 has requirement websockets<7.0,>=6.0, but you'll have websockets 5.0.1 which is incompatible."

So I had to do:

ve3/bin/pip uninstall websockets

ve3/bin/pip  install 'websockets>=6.0,<7.0'

And now it's working, also on https://github.com/YunoHost-Apps/yunorunner_ynh_core I don't know how to fix the requirements.txt... I don't know python ://

yalh76 commented 5 years ago

PS: doing some tests, I've seen some errors:

  1. ve3/bin/python ./run.py /path/to/analyseCI.sh -d -d argument is not available
  2. for the argument --dont-minotor-apps-list maybe there is a spelling error ;) not minotorbut monitor capture