Skip to main content
Question

Unable to edit hosts after update to 24.10.24

  • May 5, 2026
  • 0 replies
  • 4 views

Forum|alt.badge.img

Hello,

After upgrading Centreon on AlmaLinux 9 from version 24.10.23 to 24.10.24, I am no longer able to modify any host, for example rename it.

When I try to save the modification, I get the following error message: Unexpected return status

I am able to clone the host, but modifying an existing host is not possible.

In /var/log/centreon/centreon-web.log, I can see the following error:

[2026-05-05T14:23:47+02:00] ERROR : Error during host/hostTemplate update | {"custom":{"hostId":332,"isTemplate":false,"exception":{"message":"Unexpected return status","trace":"#0 /usr/share/centreon/www/include/configuration/configObject/host/DB-Func.php(2912): callHostApi()\n#1 /usr/share/centreon/www/include/configuration/configObject/host/DB-Func.php(2820): updateByApi()\n#2 /usr/share/centreon/www/include/configuration/configObject/host/formHost.php(1156): updateHostInAPI()\n#3 /usr/share/centreon/www/include/configuration/configObject/host/host.php(102): require_once('...')\n#4 /usr/share/centreon/www/main.get.php(292): include_once('...')\n#5 {main}"}},"exception":null,"default":{"request_infos":{"uri":"/centreon/main.get.php?p=60101","http_method":"POST","server":"centreon.example.org"}}}

I have already tried clearing the cache using the following command, but the issue still persists:

su - apache -s /bin/bash -c "/usr/share/centreon/bin/console cache:clear"

Could you please help me investigate this issue?

Thank you in advance.

Best regards,
Martin