Closed s1nglethr3ad closed 2 years ago
This looks like an issue with Flask that affects the development server. This will affect the standard automated build script you're using. I'll need to look into this.
In the meantime, things should work if CAIRIS is run via mod_wsgi-express (which is what the live demo uses on Docker). You should be able to run the automated script to create a server, pass in dummy parameters for things like the email server. Once everything is set-up, just follow the instructions here to create a new account.
The other alternative is to follow the instructions for manual installation here then follow the optional instructions to install and run via mod_wsgi-express.
@s1nglethr3ad : this should be fixed now. When I run "sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y && sudo apt install curl -y && sudo apt install net-tools -y && curl -s https://cairis.org/quickInstall.sh | bash -s my-secret-pw" , everything looks ok in the logs, and all appears to be good when I login to CAIRIS using Chromium on the VM.
If you get any problems, please let me know and I'll re-open this issue.
@s1nglethr3ad : this should be fixed now. When I run "sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y && sudo apt install curl -y && sudo apt install net-tools -y && curl -s https://cairis.org/quickInstall.sh | bash -s my-secret-pw" , everything looks ok in the logs, and all appears to be good when I login to CAIRIS using Chromium on the VM.
If you get any problems, please let me know and I'll re-open this issue.
Thank for looking into this. I will test out today.
@failys, Works! Thank you :)
Expected behaviour
Followed, Installation and configuration via GitHub (automated) on a fresh Ubuntu 20.04 vm.
Run journalctl with no errors.
Actual behaviour
Followed Installation and configuration via GitHub (automated) on a fresh Ubuntu 20.04 vm.
journalctl reports: Dec 07 06:20:37 ubuntu cairisd.py[1329]: File "/usr/local/lib/python3.8/dist-packages/flask_script/init.py", line 15, in
Dec 07 06:20:37 ubuntu cairisd.py[1329]: from flask._compat import text_type
Dec 07 06:20:37 ubuntu cairisd.py[1329]: ModuleNotFoundError: No module named 'flask._compat'
Dec 07 06:20:37 ubuntu systemd[1]: cairis.service: Main process exited, code=exited, status=1/FAILURE
Dec 07 06:20:37 ubuntu systemd[1]: cairis.service: Failed with result 'exit-code'.
Dec 07 06:20:37 ubuntu systemd[1]: cairis.service: Scheduled restart job, restart counter is at 5.
Dec 07 06:20:37 ubuntu systemd[1]: Stopped cairisd.
Dec 07 06:20:37 ubuntu systemd[1]: cairis.service: Start request repeated too quickly.
Dec 07 06:20:37 ubuntu systemd[1]: cairis.service: Failed with result 'exit-code'.
Dec 07 06:20:37 ubuntu systemd[1]: Failed to start cairisd.
Steps to reproduce the behaviour
Install new Ubuntu 20.04 vm in VMWare fusion on Macbook. Follow "Installation and configuration via GitHub (automated)" run "journalctl -u cairis.service -f"
Version of CAIRIS
Latest
Details of browser or, if applicable, details of the OS used to host CAIRIS
user@ubuntu:~$ cat /etc/os-release NAME="Ubuntu" VERSION="20.04.3 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.3 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal