• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Plesk 360 monitoring broken after updating agent

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:

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.
 
Plesk on Ubuntu 22.04.2 LTS seems unaffected, python version differs

Ubuntu 20.04.6 LTS:
root@plesk52:~# dpkg -l python3 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-==============-============-========================================================================= ii python3 3.8.2-0ubuntu2 amd64 interactive high-level object-oriented language (default python3 version)

Ubuntu 22.04.2 LTS:
root@plesk63:~# dpkg -l python3 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-==============-============-========================================================================= ii python3 3.10.6-1~22.04 amd64 interactive high-level object-oriented language (default python3 version)

Anyone with the same problem?
 
Back
Top