Skip to main content
Question

Issue after migration (EL to Debian) – Plugins update : Unauthorized: Authentication failed, matching instance is nul

  • June 17, 2026
  • 12 replies
  • 10 views

Forum|alt.badge.img+3

Hi,

Following a migration from Alma 9 to Debian 12 (v.25.10.14), suite à une action d'une mise à jour des plugins le message apparait :

 

An error occured while installing the following monitoring connector :

+ applications-monitoring-centreon-central

 

Reason: Unauthorized: Authentication failed, matching instance is null

 

So the following monitoring connector were not processed

+ applications-monitoring-centreon-central

 

Thank you for your feedback.

12 replies

Sébastien
Centreonian
Forum|alt.badge.img+9
  • Centreonian
  • June 17, 2026

Hello ​@RTFM 

Are these logs containing any errors?

/var/log/centreon/centreon-web.log
/var/log/centreon/license-manager.log
/var/log/apache2/error.log

 


Forum|alt.badge.img+3
  • Author
  • Steward **
  • June 17, 2026

Thank you ​@Sébastien for your prompt reply.

Below are the logs you requested.

 

/var/log/centreon/centreon-web.log

[2026-06-15T14:47:16+0200] [ERROR] [parameters.vcenters[0].password] La chaîne est vide : une chaîne non vide était attendue {"custom":{"trace":"#0 /usr/share/centreon/src/Centreon/Domain/Common/Assertion/Assertion.php(215): Centreon\\Domain\\Common\\Assertion\\AssertionException::notEmptyString()\n#1 /usr/share/centreon/src/Core/AdditionalConnectorConfiguration/Domain/Model/VmWareV6/VmWareV6Parameters.php(72): Centreon\\Domain\\Common\\Assertion\\Assertion::notEmptyString()\n#2 /usr/share/centreon/src/Core/AdditionalConnectorConfiguration/Application/Factory/AccFactory.php(102): Core\\AdditionalConnectorConfiguration\\Domain\\Model\\VmWareV6\\VmWareV6Parameters->__construct()\n#3 /usr/share/centreon/src/Core/AdditionalConnectorConfiguration/Application/UseCase/UpdateAcc/UpdateAcc.php(231): Core\\AdditionalConnectorConfiguration\\Application\\Factory\\AccFactory->createAcc()\n#4 /usr/share/centreon/src/Core/AdditionalConnectorConfiguration/Application/UseCase/UpdateAcc/UpdateAcc.php(204): Core\\AdditionalConnectorConfiguration\\Application\\UseCase\\UpdateAcc\\UpdateAcc->retrieveCredentials()\n#5 /usr/share/centreon/src/Core/AdditionalConnectorConfiguration/Application/UseCase/UpdateAcc/UpdateAcc.php(118): Core\\AdditionalConnectorConfiguration\\Application\\UseCase\\UpdateAcc\\UpdateAcc->updateAcc()\n#6 /usr/share/centreon/src/Core/AdditionalConnectorConfiguration/Infrastructure/API/UpdateAcc/UpdateAccController.php(62): Core\\AdditionalConnectorConfiguration\\Application\\UseCase\\UpdateAcc\\UpdateAcc->__invoke()\n#7 /usr/share/centreon/vendor/symfony/http-kernel/HttpKernel.php(183): Core\\AdditionalConnectorConfiguration\\Infrastructure\\API\\UpdateAcc\\UpdateAccController->__invoke()\n#8 /usr/share/centreon/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()\n#9 /usr/share/centreon/vendor/symfony/http-kernel/Kernel.php(193): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#10 /usr/share/centreon/src/App/Shared/Infrastructure/Legacy/LegacyKernelWrapper.php(55): Symfony\\Component\\HttpKernel\\Kernel->handle()\n#11 /usr/share/centreon/src/App/Shared/Infrastructure/Legacy/ForwardLegacyRoutesListener.php(52): App\\Shared\\Infrastructure\\Legacy\\LegacyKernelWrapper->handle()\n#12 /usr/share/centreon/vendor/symfony/event-dispatcher/EventDispatcher.php(246): App\\Shared\\Infrastructure\\Legacy\\ForwardLegacyRoutesListener->__invoke()\n#13 /usr/share/centreon/vendor/symfony/event-dispatcher/EventDispatcher.php(206): Symfony\\Component\\EventDispatcher\\EventDispatcher::Symfony\\Component\\EventDispatcher\\{closure}()\n#14 /usr/share/centreon/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners()\n#15 /usr/share/centreon/vendor/symfony/http-kernel/HttpKernel.php(159): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch()\n#16 /usr/share/centreon/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()\n#17 /usr/share/centreon/vendor/symfony/http-kernel/Kernel.php(193): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#18 /usr/share/centreon/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\\Component\\HttpKernel\\Kernel->handle()\n#19 /usr/share/centreon/vendor/autoload_runtime.php(32): Symfony\\Component\\Runtime\\Runner\\Symfony\\HttpKernelRunner->run()\n#20 /usr/share/centreon/api/index.php(24): require_once('...')\n#21 {main}"},"exception":null,"default":{"request_infos":{"uri":"/centreon/api/latest/configuration/additional-connector-configurations/1","http_method":"PUT","server":"IP"}}}
 

This part seems to be an old issue that has been resolved thanks to @lpinsivy’s reply in a previous thread


/var/log/centreon/license-manager.log

[2026-06-17T09:15:16+02:00] ERROR : 0|0|[RestUnauthorizedException] https://api.imp.centreon.com/v2/auth/instance : Unauthorized: Authentication failed, matching instance is null | {"custom":null,"exception":null,"default":{"request_infos":{"uri":"/centreon/api/internal.php?object=centreon_pp_manager_pluginpack&action=reinstall","http_method":"POST","server":"IP"}}}
 

/var/log/apache2/error.log

[Wed Jun 17 09:15:06.744449 2026] [proxy_fcgi:error] [pid 1160911:tid 1160911] [client IP:50161] AH01071: Got error 'PHP message: PHP Warning:  Undefined array key "name" in /usr/share/centreon/www/modules/centreon-pp-manager/core/class/ImpApi.php on line 0; PHP message: PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /usr/share/centreon/www/modules/centreon-pp-manager/core/class/ImpApi.php on line 0', referer: http://IP/centreon/main.get.php?p=62001

 


Sébastien
Centreonian
Forum|alt.badge.img+9
  • Centreonian
  • June 17, 2026

After migration the fingerprint has probably been changed, you can verify like this:

grep -A1 fingerprint /etc/centreon/license.d/*
  1. Go to Administration > Extensions > Manager.

  2. Click Get fingerprint.

  3. Paste the fingerprint 

Are they identical?


Forum|alt.badge.img+3
  • Author
  • Steward **
  • June 17, 2026

No, the fingerprints are different.


Sébastien
Centreonian
Forum|alt.badge.img+9
  • Centreonian
  • June 17, 2026

If you have license IT-100 you can request for a new one:

https://docs.centreon.com/docs/getting-started/IT100/#procedure


Forum|alt.badge.img+3
  • Author
  • Steward **
  • June 17, 2026

Thank you.

Should the current token be removed before applying the new one ?

If so, how can this be done properly ?


Sébastien
Centreonian
Forum|alt.badge.img+9
  • Centreonian
  • June 17, 2026

You can remove the licenses

rm -rf /etc/centreon/license.d/*

and get a new one with the link sent.


Forum|alt.badge.img+3
  • Author
  • Steward **
  • June 17, 2026

The old token has indeed been deleted using the command `rm -rf /etc/centreon/license.d/*`.

After obtaining the new token and attempting to apply it via the interface, the following messages appear:

 

Token registration failed

This instance is already registered


Sébastien
Centreonian
Forum|alt.badge.img+9
  • Centreonian
  • June 17, 2026

We should have a new error in the log we saw, could you send it?


Forum|alt.badge.img+3
  • Author
  • Steward **
  • June 17, 2026

/var/log/centreon/license-manager.log
 

[2026-06-17T11:00:42+02:00] ERROR : 0|0|[RestConflictException] https://api.imp.centreon.com/v2/license-manager/instance : {"statusCode":409,"timestamp":"2026-06-17T09:00:42.558Z","path":"\/v2\/license-manager\/instance","message":"Instance already registered.","code":409,"company":"@LACCESS.1bf35973464a-41da-88c6-0b58f340425e","fingerprint":"b94bb66f0096bc4fc9d6413e04267973d882d2d6dbf41671f305dd48d5def4ec","client":"user","it100":true} | {"custom":null,"exception":null,"default":{"request_infos":{"uri":"/centreon/api/internal.php?object=centreon_license_manager&action=registerInstance","http_method":"POST","server":"IP"}}}
 


Sébastien
Centreonian
Forum|alt.badge.img+9
  • Centreonian
  • June 17, 2026

In your database, you can clean this:

mysql centreon -e "UPDATE options SET options.value = '' WHERE options.key IN ('impCompanyToken','impInfo');"

Let me know if the error is still there.


Forum|alt.badge.img+3
  • Author
  • Steward **
  • June 17, 2026

Everything’s fine now. Thanks ​@Sébastien