• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Failed to install or update agent360.

carini

Basic Pleskian
Server operating system version
Ubuntu 22.04.4 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.60_build1800240329.08
Anyone with this error during upgrade of agent360

Failed to install or update agent360.
  • PleskExt\Monitoring\Task\InstallCloudAgentTask::setupServiceConfig(): Argument #1 ($mysqlUserPassword) must be of type string, null given, called in /opt/psa/admin/plib/modules/monitoring/library/Task/InstallCloudAgentTask.php on line 61
 
Since we use image supplied by Plesk on Azure marketplace we don't have such password. It's possible to retrieve it?
 
After checking the file i got:


Code:
root@plesk81:~# cat /etc/agent360.ini

...

[ping]
enabled = true
hosts = hel.360monitoring.io,nbg.360monitoring.io,fks.360monitoring.io


[process]
enabled = true


[swap]
enabled = true


[system]
enabled = true


[mysql]
enabled = true
username = monitoring
password = passwordwritteninfile
host = 127.0.0.1
database = performance_schema
port = 3306

...

root@plesk81:~# mysql --host='127.0.0.1' --user='monitoring' --password='passwordwritteninfile' 'performance_schema'
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A


Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 1691
Server version: 10.6.16-MariaDB-0ubuntu0.22.04.1 Ubuntu 22.04


Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.


Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


MariaDB [performance_schema]>

It seems that the correct password is written on file.
 
Problem was special character in password. Problem was resolved by Plesk Support case Id #95243816; Issue will be reported to developers.

Please mark this thread as "Resolved".


Kind regards
 
Back
Top