Skip to main content

Bonjour/Hi,

No access after upgrade from 23.10.18 à 23.10.21.

 


Ça keep on la “Centreon is loading” page. Pas eu le temps to troubleshoot yet.

This platform has not any tweak of any kind, it has been installed and is regularly updated and that’s all. Only a few hosts (maybe three in addition to the platform’s host eux-self.

Cordialy.

Symfony cache emptied.
Apache and PHP and Centreon restarted.
Tested with the “admin” local Centreon account instead of my LDAP admin user. It asked me to change the password (!), what I did. The password is indeed changed, see next point.
Test an API request via curl to list hosts : OK

Joined at the end of this comment, the error messages I have in the Firefox dev console.

Any idea welcome. I’ll make a complete reboot of the whole three hosts (central,DB,poller) erasing the whole Centreon cache before the reboot. I’ll cross my fingers and light a taper too! :(


 

Unsatisfied version 2.0.4 from centreon of shared singleton module jotai (required ^1) runtime~main.dd1cfa09.js:1:7761
Unsatisfied version 12.3.1 from centreon of shared singleton module react-i18next (required ^11) runtime~main.dd1cfa09.js:1:7761
Unsatisfied version 23.10.0 from centreon of shared singleton module @centreon/ui-context (required =22.10.0) runtime~main.dd1cfa09.js:1:7761
XHRGET
https://server.domain/centreon/api/latest/configuration/users/current/parameters
eHTTP/1.1 401 Unauthorized 140ms]

Une chaîne vide a été transmise à « getElementById() ». LoginManager.shared.sys.mjs:43:23
Une chaîne vide a été transmise à « getElementById() ». LoginManager.shared.sys.mjs:43:23
Une chaîne vide a été transmise à « getElementById() ». 2 FormAutofillHeuristics.sys.mjs:1036:39
Une chaîne vide a été transmise à « getElementById() ». 2 LabelUtils.sys.mjs:79:9
Une chaîne vide a été transmise à « getElementById() ». 2 LoginManager.shared.sys.mjs:43:23
XHRGET
https://server.domain/centreon/api/internal.php?object=centreon_i18n&action=translation
tHTTP/1.1 401 Unauthorized 64ms]

​​x API Request
Object { stack: "q@https://server.domain/centreon/static/5484.ae565bb0.chunk.js:1:5813\n74696/ve.xhr</</d/<@https://server.domain/centreon/static/5484.ae565bb0.chunk.js:1:19666\nd@https://server.domain/centreon/static/5484.ae565bb0.chunk.js:1:19811\nEventHandlerNonNull*74696/ve.xhr</<@https://server.domain/centreon/static/5484.ae565bb0.chunk.js:1:20100\n74696/ve.xhr<@https://server.domain/centreon/static/5484.ae565bb0.chunk.js:1:18789\nPe@https://server.domain/centreon/static/5484.ae565bb0.chunk.js:1:22781\nrequest@https://server.domain/centreon/static/5484.ae565bb0.chunk.js:1:26396\n74696/</ke.prototype0e]@https://server.domain/centreon/static/5484.ae565bb0.chunk.js:1:26690\n74696/o/<@https://server.domain/centreon/static/5484.ae565bb0.chunk.js:1:690\n79897/i/<@https://server.domain/centreon/static/9662.5312741f.chunk.js:1:3361\nsendRequest@https://server.domain/centreon/static/9662.5312741f.chunk.js:1:6604\nm@https://server.domain/centreon/static/4942.29aea4a3.chunk.js:1:9798\ngetInternalTranslation@https://server.domain/centreon/static/4942.29aea4a3.chunk.js:1:10027\n74020/Q/submitLoginForm/<@https://server.domain/centreon/static/4020.e6d5e7e2.chunk.js:1:8603\npromise callback*submitLoginForm@https://server.domain/centreon/static/4020.e6d5e7e2.chunk.js:1:8520\n89877/Fr/J<@https://server.domain/centreon/static/3411.3b53cc74.chunk.js:1:25633\n89877/Sr/<@https://server.domain/centreon/static/3411.3b53cc74.chunk.js:1:28481\n89877/Fr/H</<@https://server.domain/centreon/static/3411.3b53cc74.chunk.js:1:24916\npromise callback*89877/Fr/H<@https://server.domain/centreon/static/3411.3b53cc74.chunk.js:1:24814\n89877/Sr/<@https://server.domain/centreon/static/3411.3b53cc74.chunk.js:1:28481\n89877/Fr/Y<@https://server.domain/centreon/static/3411.3b53cc74.chunk.js:1:25313\n89877/Sr/<@https://server.domain/centreon/static/3411.3b53cc74.chunk.js:1:28481\nRe@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:16780\nBe@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:16934\n53746/Ir/<@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:36795\nIr@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:36889\nUr@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:37305\n53746/Qr/<@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:42733\ncs@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:106070\nLe@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:15913\nQr@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:38597\nqn@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:23014\n$n@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:22796\nEventListener.handleEvent*Wr@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:38102\nAr@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:37501\n53746/Hr/<@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:37667\nHr@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:37611\n53746/n.createRoot@https://server.domain/centreon/static/422.54a5f503.chunk.js:2:127554\n33471/C/<@https://server.domain/centreon/static/3786.8ceaeef3.chunk.js:1:41625\n33471/C/C/</<@https://server.domain/centreon/static/3786.8ceaeef3.chunk.js:1:41370\n33471/C/C/<@https://server.domain/centreon/static/3786.8ceaeef3.chunk.js:1:41475\nu@https://server.domain/centreon/static/3786.8ceaeef3.chunk.js:1:40281\nn@https://server.domain/centreon/static/3786.8ceaeef3.chunk.js:1:41776\npromise callback*u@https://server.domain/centreon/static/3786.8ceaeef3.chunk.js:1:40352\nn@https://server.domain/centreon/static/3786.8ceaeef3.chunk.js:1:41776\n33471/j/<@https://server.domain/centreon/static/3786.8ceaeef3.chunk.js:1:41835\nj@https://server.domain/centreon/static/3786.8ceaeef3.chunk.js:1:41715\n33471/<@https://server.domain/centreon/static/3786.8ceaeef3.chunk.js:1:41868\n33471@https://server.domain/centreon/static/3786.8ceaeef3.chunk.js:1:41891\nO@https://server.domain/centreon/static/runtime~main.dd1cfa09.js:1:177\npromise callback*65593@https://server.domain/centreon/static/main.f41adee7.js:1:379\nO@https://server.domain/centreon/static/runtime~main.dd1cfa09.js:1:177\n@https://server.domain/centreon/static/main.f41adee7.js:1:413\nr@https://server.domain/centreon/static/runtime~main.dd1cfa09.js:1:9468\n@https://server.domain/centreon/static/main.f41adee7.js:1:265\n@https://server.domain/centreon/static/main.f41adee7.js:1:192\n@https://server.domain/centreon/static/main.f41adee7.js:1:196\n", message: "Request failed with status code 401", name: "AxiosError", code: "ERR_BAD_REQUEST", config: {…}, request: XMLHttpRequest, response: {…} }
9662.5312741f.chunk.js:1:6808
XHRGET
https://server.domain/centreon/api/latest/configuration/users/current/parameters
sHTTP/1.1 401 Unauthorized 141ms]


🤢


Unsatisfied version 2.0.4 from centreon of shared singleton module jotai (required ^1) runtime~main.dd1cfa09.js:1:7761
Unsatisfied version 12.3.1 from centreon of shared singleton module react-i18next (required ^11) runtime~main.dd1cfa09.js:1:7761
Unsatisfied version 23.10.0 from centreon of shared singleton module @centreon/ui-context (required =22.10.0) runtime~main.dd1cfa09.js:1:7761


What does that mean ?!

Centreon has been installed in 23.10.XX (I do not remember the exact XX) and been updated regularly (although not for every minor  version) it was at 23.10.18 before this catastrophic upgrade to 23.10.21.
Apart of the use of HTTPS instead of HTTP the installation is totally vanilla…
 


This is marvellous… Just after I wrote the comment above and before issuing the reboot, I had the strange idea to point my browser to : 

https://server.domain/centreon/api/internal.php?object=centreon_i18n&action=translation


I got an Unauthorized (with just the word “Unauthorized” as content), then on the main URL it works, I can now reach the UI!

SO, good thing is: it works, bad thing is: it randomly fails and works again for no evident reason.

I’d have this behavior upgrading a production platform it would have lead to a rollback and delayed the upgrade for weeks and would have forced us to do all the tests again!

Now it is ok on this vanilla test platform I’ll test on the “real” integration platform. The taper won‘t be useless though, at least I’ve got this going for me! :\

Anybody upgrading his Centreon platform(s) without any stress or problem? Not the maintainer of demo.centreon.com I guess (23.10.5). I read some month ago that this demo was not something to consider at all anymore, so I find surprising it is online still.

 


Reply