• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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