Closed Jarli01 closed 4 years ago
Python2 is EOL. Need to switch to using Python3.
I'll test with python3 in a bit to see if everything works, I saw that 2 is eol or is being eol'd
Python3 doesn't work
Created symlink /etc/systemd/system/multi-user.target.wants/xo-server.service → /lib/systemd/system/xo-server.service.
Installation complete, open a browser to:
192.168.1.103
Default Login:admin@admin.net Password:admin
Don't forget to change your password!
xoce@xoce:~$
xoce@xoce:~$
xoce@xoce:~$ systemctl status xo-server.service
● xo-server.service - XO Server
Loaded: loaded (/lib/systemd/system/xo-server.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-05-09 23:14:32 UTC; 47s ago
Main PID: 6212 (node)
Tasks: 32 (limit: 4578)
Memory: 99.0M
CGroup: /system.slice/xo-server.service
├─6212 /usr/local/bin/node ./bin/xo-server
├─6236 /usr/local/bin/node /opt/xen-orchestra/node_modules/jest-worker/build/workers/processChild.js
├─6242 /usr/local/bin/node /opt/xen-orchestra/node_modules/jest-worker/build/workers/processChild.js
└─6249 /usr/local/bin/node /opt/xen-orchestra/node_modules/jest-worker/build/workers/processChild.js
May 09 23:15:13 xoce xo-server[6212]: 2020-05-09T23:15:13.671Z xo:xo-server ERROR unhandled error event {
May 09 23:15:13 xoce xo-server[6212]: error: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
May 09 23:15:13 xoce xo-server[6212]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
May 09 23:15:13 xoce xo-server[6212]: errno: 'ECONNREFUSED',
May 09 23:15:13 xoce xo-server[6212]: code: 'ECONNREFUSED',
May 09 23:15:13 xoce xo-server[6212]: syscall: 'connect',
May 09 23:15:13 xoce xo-server[6212]: address: '127.0.0.1',
May 09 23:15:13 xoce xo-server[6212]: port: 6379
May 09 23:15:13 xoce xo-server[6212]: }
May 09 23:15:13 xoce xo-server[6212]: }
xoce@xoce:~$ python3 --version
Python 3.8.2
@Jarli01 How did you install Python3? What OS?
FWIW, I just tested using the script (changed python2-minimal
to python3-minimal
beforehand) and it worked fine for me w/ Ubuntu 20.04
Python2 was removed from at least 20.04 and is replaced with Python3. Manually installing the package and then running the script works.
This change runs the installation process for it.