Today we pushed a fix to the Wrapper Script to resolve bandwidth utilization issues caused by log uploading. Due to differences in the configurations between our test environments and the setups of live Nodes, the update failed. As a result, a manual update is required to get Nodes operational again.
Those who have already fixed permissions will still need to follow these instructions, otherwise future Wrapper Script updates will fail in the same manner.
Edit: some users required permissions changes as well, we have added those instructions
I was getting the following error without this change:
starlight@xx-strlt:/opt/xxnetwork/node-logs$ sudo systemctl status xxnetwork-gateway.service
β xxnetwork-gateway.service - Job that starts the Wrapper service
Loaded: loaded (/opt/xxnetwork/xxnetwork-gateway.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-06-30 20:10:05 UTC; 6min ago
Process: 29815 ExecStart=/bin/bash -c /opt/xxnetwork/xxnetwork-wrapper.py --logpath /opt/xxnetwork/gateway-logs/gateway.log --binary /opt/xxnetwork/bin/xxnetwork-gateway --s3p
Main PID: 29815 (code=exited, status=2)
Jun 30 20:10:05 xx-strlt systemd[1]: xxnetwork-gateway.service: Service hold-off time over, scheduling restart.
Jun 30 20:10:05 xx-strlt systemd[1]: xxnetwork-gateway.service: Scheduled restart job, restart counter is at 10.
Jun 30 20:10:05 xx-strlt systemd[1]: Stopped Job that starts the Wrapper service.
Jun 30 20:10:05 xx-strlt systemd[1]: xxnetwork-gateway.service: Start request repeated too quickly.
Jun 30 20:10:05 xx-strlt systemd[1]: xxnetwork-gateway.service: Failed with result 'exit-code'.
Jun 30 20:10:05 xx-strlt systemd[1]: Failed to start Job that starts the Wrapper service.