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.
Follow the attached instructions to fix your node.
Wrapper Script Manual Update Instructions (Wrapper Update Fix) [6.30.2020] (1).pdf (103.3 KB)
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
Already changed permissions to 0700. Would that have been enough? Followed the instructions after that, downloaded, just to be sure.
It’s not enough to change the permission, to fix future updates.
The PDF description should include changing permission like:
sudo chmod 0700 /opt/xxnetwork/xxnetwork-wrapper.py after downloading a new wrapper file.
I was getting the following error without this change:
[email protected]:/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: xxnetwork-gateway.service: Service hold-off time over, scheduling restart.
Jun 30 20:10:05 xx-strlt systemd: xxnetwork-gateway.service: Scheduled restart job, restart counter is at 10.
Jun 30 20:10:05 xx-strlt systemd: Stopped Job that starts the Wrapper service.
Jun 30 20:10:05 xx-strlt systemd: xxnetwork-gateway.service: Start request repeated too quickly.
Jun 30 20:10:05 xx-strlt systemd: xxnetwork-gateway.service: Failed with result 'exit-code'.
Jun 30 20:10:05 xx-strlt systemd: Failed to start Job that starts the Wrapper service.
completed manual update and both
gateway is up back online