Skip to main content

Please note that the only procedures supported and maintained by Centreon are those published in the official documentation. If you have a question about this article, post it in the comments.

 

You get the following error when trying to :

  • log in to Centreon
  • display resources on the resources status page
  • install an extension 

Centreon – IT & Network Monitoring: You need to enable JavaScript to run this app.

  • (Other pages may be affected.)
Centreon – IT & Network Monitoring: You need to enable JavaScript to run this app.

In your browser, if you open the developer tools (F12Console tab), you should see an error 404 like this one:


GET http(s)://my-centreon.fr/centreon/modules/centreon-awie/static/moduleFederation.json?t=1742419192633 404 (Not Found)


In this example, the error concerns the centreon-awie directory, but it could be any of these:

  • centreon-map
  • centreon-cloud-extensions
  • centreon-autodiscovery
  • centreon-bam-server
  • centreon-anomaly-detection
  • centreon-license-manager
  • centreon-mbi
  • centreon-bam
  • centreon-it-edition-extensions


How to solve the problem
 

To resolve this issue, you can create the missing folder and JSON file:

cd /usr/share/centreon/www/modules/$folder-affected
mkdir static && touch moduleFederation.json && mv moduleFederation.json /usr/share/centreon/www/modules/$folder-affected/static/


NB: Don’t forget to replace $folder-affected by the correct directory name (see the above list).

Be the first to reply!