Skip to main content

Hi
Since upgrade from 24.04.5 to 24.04.7 the export shortcut does not work and tell me:

There was an consistency error in the exported files - please use the legacy export menu to troubleshoot

 

When I use legacy menu no error. If I us default admin account export shortcut work like a charm.

 

I'll try upgrade to 24.10 as my setup is quiet new, same bug.

 

Only error in log file :

p2024-11-06T16:18:06+0100] 1ERROR] RCentreon\Application\Controller\Configuration\MonitoringServerController:233]: Generation error on monitoring server #3: Authentication token expired 
 

 

Thank you for helping

👋👋👋

 

Do you have the cron job enabled?

/etc/cron.d/centreon

 

##########################
# Cron for Outdated Token removal
* * * * * centreon /usr/share/centreon/cron/outdated-token-removal.php >> /var/log/centreon/centreon-tokens.log 2>&1


Hi,

thank you for answer.

Cron is enabled but does not work, so i run manually as “centreon” user the php script, and got error opening “/var/log/centreon/sql-error.log” owned by www-data:centreon.

I chown centreon:centreon /var/log/centreon/sql-error.log run the cron and try export menu, and now all work again.

But is it good idea to chown this file? What the best practice, user and permission is little complicated in centreon installation 🙂?


Hello,

In this case I think we can do with the CHOWN, at some point the log got mixed or the folder. We do have this list but we might be missing some. I’ll put a request to include them. (MON-152344)

https://docs.centreon.com/docs/installation/technical/

 

If you have any recommendations please submit them to https://thewatch.centreon.com/ideas

 

Glad we got it working 😊


Reply