Hello !
I’m on fresh install of Debian 12
I followed the official docs step by step to install Centreon 25.10.1 with MySQL on it.
When i add a host, i get an error :

Error during creation (json encoding)
In centreon-web.log i get this :
[2025-11-28T08:30:39+01:00] ERROR : Error during host/hostTemplate creation | {"custom":{"hostId":null,"isTemplate":false,"exception":{"message":"Syntax error","trace":"#0 /usr/share/centreon/www/include/configuration/configObject/host/DB-Func.php(2978): json_decode()\n#1 /usr/share/centreon/www/include/configuration/configObject/host/DB-Func.php(2825): callHostApi()\n#2 /usr/share/centreon/www/include/configuration/configObject/host/DB-Func.php(2733): insertByApi()\n#3 /usr/share/centreon/www/include/configuration/configObject/host/formHost.php(1132): insertHostInAPI()\n#4 /usr/share/centreon/www/include/configuration/configObject/host/host.php(102): require_once('...')\n#5 /usr/share/centreon/www/main.get.php(277): include_once('...')\n#6 {main}"}},"exception":null,"default":{"request_infos":{"uri":"/centreon/main.get.php?p=60101","http_method":"POST","server":"centreon"}}}
I probably missing something…
I get same error when i was trying on Alma 9.6 too so i returned to Debian.
Any idea to fix it ?
Thanks in advance.




