• 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

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