carini
Basic Pleskian
- Server operating system version
- Ubuntu 20.04.6 LTS
- Plesk version and microupdate number
- Plesk Obsidian v18.0.53_build1800230619.12 os_Ubuntu 20.04
After updating agent the monitoring go broke:
Stopping and starting the agent or upgrading manually is no use.
root@plesk52:~# systemctl status agent360
● agent360.service - agent360
Loaded: loaded (/etc/systemd/system/agent360.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2023-07-20 20:30:23 CEST; 7min ago
Main PID: 3651549 (agent360)
Tasks: 1 (limit: 9517)
Memory: 18.2M
CGroup: /system.slice/agent360.service
└─3651549 /usr/bin/python3 /usr/local/bin/agent360
Jul 20 20:30:23 plesk52.scibile.network systemd[1]: Started agent360.
Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: Exception in thread Thread-1:
Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: Traceback (most recent call last):
Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: self.run()
Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: File "/usr/lib/python3.8/threading.py", line 870, in run
Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: self._target(*self._args, **self._kwargs)
Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: File "/usr/local/lib/python3.8/dist-packages/agent360/agent360.py", line 602, in _data
Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: connection.close()
Jul 20 20:30:34 plesk52.scibile.network agent360[3651549]: UnboundLocalError: local variable 'connection' referenced before assignment
Stopping and starting the agent or upgrading manually is no use.