1. I created un new device on https://power.sixfab.com/ :
root@b0x:~# curl https://install.power.sixfab.com | sudo sh -s xxxxx-Data-Heap-xxxx-Pagan-Dizzy-xxxx-Stash-Yo-Yo-Bolt-Evade-Watch-Stout-Fifty-Cargo-Try-Slice-xxxx
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4498 100 4498 0 0 8785 0 --:--:-- --:--:-- --:--:- _____ _ __ _ ______
/ ___(_) / _| | | | ___ \
\ `--. ___ _| |_ __ _| |__ | |_/ /____ _____ _ __
`--. \ \ \/ / _/ _` | '_ \ | __/ _ \ \ /\ / / _ \ '__|
/\__/ / |> <| || (_| | |_) | | | | (_) \ V V / __/ |
\____/|_/_/\_\_| \__,_|_.__/ \_| \___/ \_/\_/ \___|_|
- 8768Updating system package index...
Creating Sixfab root directory on /opt...
Directory already exists.
Enabling i2c...
I2C enabled.
Looking for dependencies...
Updating python api for agent...
Python api installed.
Installing agent dependencies from PyPI...
Environment file exists, updated token.
Agent already installed, restarting...
2. My PI not restart automatically
So -> I reboot the PI
3. After reboot see the https://power.sixfab.com/ console below after try tu update the Firmware
with "error occurred"
4. See below my /var/log/daemon.log and my systemctl status pms_agent.service
4.1. /var/log/daemon.log
root@b0x:~# tail -f /var/log/daemon.log | grep python3
Jul 27 21:37:54 b0x python3[3603]: error in 0
Jul 27 21:37:57 b0x python3[3603]: error in 0
Jul 27 21:38:01 b0x python3[3603]: error in 0
Jul 27 21:38:05 b0x python3[3603]: error in 0
Jul 27 21:38:08 b0x python3[3603]: error in 0
Jul 27 21:38:12 b0x python3[3603]: error in 0
Jul 27 21:38:15 b0x python3[3603]: error in 0
Jul 27 21:38:19 b0x python3[3603]: Received PUBLISH (d0, q0, r0, m0), ‘/device/…censored_uuid…/directives’, … (45 bytes)
Jul 27 21:38:19 b0x python3[3603]: error in 0
Jul 27 21:38:21 b0x python3[3603]: Sending PINGREQ
Jul 27 21:38:21 b0x python3[3603]: Received PINGRESP
Jul 27 21:38:23 b0x python3[3603]: error in 0
Jul 27 21:38:26 b0x python3[3603]: error in 0
Jul 27 21:38:28 b0x python3[3603]: Exception in thread Thread-4:
Jul 27 21:38:28 b0x python3[3603]: Traceback (most recent call last):
Jul 27 21:38:28 b0x python3[3603]: File “/usr/lib/python3.7/threading.py”, line 917, in _bootstrap_inner
Jul 27 21:38:28 b0x python3[3603]: self.run()
Jul 27 21:38:28 b0x python3[3603]: File “/usr/lib/python3.7/threading.py”, line 865, in run
Jul 27 21:38:28 b0x python3[3603]: self._target(*self._args, **self._kwargs)
Jul 27 21:38:28 b0x python3[3603]: File “/opt/sixfab/pms/agent/core/init.py”, line 162, in _wait_ntp_and_update_rtc
Jul 27 21:38:28 b0x python3[3603]: update_timezone(self.PMSAPI, timezone)
Jul 27 21:38:28 b0x python3[3603]: File “/opt/sixfab/pms/agent/core/modules/set_configurations.py”, line 109, in update_timezone
Jul 27 21:38:28 b0x python3[3603]: try_until_done(api, “setRtcTime”, int(time.time() - time.timezone))
Jul 27 21:38:28 b0x python3[3603]: File “/opt/sixfab/pms/agent/core/modules/recovery.py”, line 41, in try_until_done
Jul 27 21:38:28 b0x python3[3603]: raise OverflowError("")
Jul 27 21:38:28 b0x python3[3603]: OverflowError
Jul 27 21:38:30 b0x python3[3603]: error in 0
Jul 27 21:38:33 b0x python3[3603]: error in 0
Jul 27 21:38:37 b0x python3[3603]: error in 0
Jul 27 21:38:41 b0x python3[3603]: error in 0
Jul 27 21:38:44 b0x python3[3603]: error in 0
Jul 27 21:38:46 b0x python3[3603]: Exception in thread Thread-5:
Jul 27 21:38:46 b0x python3[3603]: Traceback (most recent call last):
Jul 27 21:38:46 b0x python3[3603]: File “/usr/lib/python3.7/threading.py”, line 917, in _bootstrap_inner
Jul 27 21:38:46 b0x python3[3603]: self.run()
Jul 27 21:38:46 b0x python3[3603]: File “/usr/lib/python3.7/threading.py”, line 865, in run
Jul 27 21:38:46 b0x python3[3603]: self._target(*self._args, **self._kwargs)
Jul 27 21:38:46 b0x python3[3603]: File “/opt/sixfab/pms/agent/core/init.py”, line 162, in _wait_ntp_and_update_rtc
Jul 27 21:38:46 b0x python3[3603]: update_timezone(self.PMSAPI, timezone)
Jul 27 21:38:46 b0x python3[3603]: File “/opt/sixfab/pms/agent/core/modules/set_configurations.py”, line 109, in update_timezone
Jul 27 21:38:46 b0x python3[3603]: try_until_done(api, “setRtcTime”, int(time.time() - time.timezone))
Jul 27 21:38:46 b0x python3[3603]: File “/opt/sixfab/pms/agent/core/modules/recovery.py”, line 41, in try_until_done
Jul 27 21:38:46 b0x python3[3603]: raise OverflowError("")
Jul 27 21:38:46 b0x python3[3603]: OverflowError
Jul 27 21:38:48 b0x python3[3603]: error in 0
Jul 27 21:38:50 b0x python3[3603]: error in 0
Jul 27 21:38:51 b0x python3[3603]: Sending PINGREQ
Jul 27 21:38:51 b0x python3[3603]: Received PINGRESP
Jul 27 21:38:53 b0x python3[3603]: error in 0
Jul 27 21:38:57 b0x python3[3603]: error in 0
Jul 27 21:39:01 b0x python3[3603]: error in 0
Jul 27 21:39:04 b0x python3[3603]: error in 0
Jul 27 21:39:06 b0x python3[3603]: Sending PUBLISH (d0, q0, r0, m5), ‘b’/device/…censored_uuid…/hive’’, … (54 bytes)
Jul 27 21:39:07 b0x python3[3603]: Already up to date.
Jul 27 21:39:09 b0x python3[3603]: error in 0
Jul 27 21:39:13 b0x python3[3603]: error in 0
Jul 27 21:39:16 b0x python3[3603]: error in 0
Jul 27 21:39:20 b0x python3[3603]: error in 0
Jul 27 21:39:22 b0x python3[3603]: Sending PINGREQ
Jul 27 21:39:22 b0x python3[3603]: Received PINGRESP
Jul 27 21:39:24 b0x python3[3603]: error in 0
Jul 27 21:39:25 b0x python3[3603]: Sending PUBLISH (d0, q0, r0, m6), ‘b’/device/…censored_uuid…/hive’’, … (56 bytes)
Jul 27 21:39:42 b0x python3[3603]: error in 0
Jul 27 21:39:44 b0x python3[3603]: error in 0
4.2. systemctl status pms_agent.service
root@b0x:~# systemctl status pms_agent.service
● pms_agent.service - Sixfab PMS Agent
Loaded: loaded (/etc/systemd/system/pms_agent.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2020-07-27 21:37:49 CEST; 12min ago
Main PID: 3603 (python3)
Tasks: 4 (limit: 4915)
Memory: 17.3M
CGroup: /system.slice/pms_agent.service
└─3603 /usr/bin/python3 -u agent.py
Jul 27 21:49:55 b0x python3[3603]: Sending PINGREQ
Jul 27 21:49:55 b0x python3[3603]: Received PINGRESP
Jul 27 21:49:57 b0x python3[3603]: error in 0
Jul 27 21:50:01 b0x python3[3603]: error in 0
Jul 27 21:50:05 b0x python3[3603]: error in 0
Jul 27 21:50:07 b0x python3[3603]: error in 0
Jul 27 21:50:10 b0x python3[3603]: error in 0
Jul 27 21:50:14 b0x python3[3603]: error in 0
Jul 27 21:50:18 b0x python3[3603]: error in 0
Jul 27 21:50:21 b0x python3[3603]: error in 0
Regard.