Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Installing from source results in incomplete install.conf.php #8249

Closed
sdelafond opened this issue Jan 10, 2020 · 2 comments
Closed

Installing from source results in incomplete install.conf.php #8249

sdelafond opened this issue Jan 10, 2020 · 2 comments

Comments

@sdelafond
Copy link

In createConfFile(), the key "centreon_cachedir" is not filled:

https://github.com/centreon/centreon/blob/3824725eb0d0d71c1495b344d95b94d14c3afb90/libinstall/functions#L1613

The web installer however requires it:

AH01071: Got error 'PHP message: PHP Notice: Undefined index: centreon_cachedir in /usr/share/centreon/www/install/steps/process/configFileSetup.php on line 76'

Interestingly enough, www/install/install.conf.dist.php contains the key, but it doesn't seem to be used at all during the install process.

@cgagnaire
Copy link

Indeed the key is missing.
I don't really know about install.conf.dist.php.

@cgagnaire
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants