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

fix(CenWeb): copy container file into the final destination folder #8179

Closed
wants to merge 3 commits into from

Conversation

alk-jbrochet
Copy link
Contributor

@alk-jbrochet alk-jbrochet commented Dec 5, 2019

Description

The container.php file is not copied to the final destination. The final setup is crashing with the following error.

[05-Dec-2019 11:42:45 Europe/Paris] PHP Fatal error:  require_once(): Failed opening required '/usr/local/centreon/container.php' (include_path='/usr/local/centreon/vendor/pear/pear_exception:/usr/local/centreon/vendor/pear/console_getopt:/usr/local/centreon/vendor/pear/pear-core-minimal/src:/usr/local/centreon/www/class:/usr/local/centreon/www/lib:.:/usr/share/php') in /usr/local/centreon/bootstrap.php on line 65

Fixes # (issue)

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software
  • Updating documentation (missing information, typo...)

Target serie

  • 2.8.x
  • 18.10.x
  • 19.04.x
  • 19.10.x
  • 20.04.x (master)

How this pull request can be tested ?

Launch the install.sh script and try to navigate to http://domain.tld/centreon/install.

Checklist

Community contributors & Centreon team

  • I followed the coding style guidelines provided by Centreon
  • I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have made corresponding changes to the documentation.
  • I have rebased my development branch on the base branch (master, maintenance).

Centreon team only

  • I have made sure that the unit tests related to the story are successful.
  • I have made sure that unit tests cover 80% of the code written for the story.
  • I have made sure that acceptance tests related to the story are successful (local and CI)

@cgagnaire cgagnaire requested review from ganoze and kduret December 5, 2019 15:06
@alk-jbrochet
Copy link
Contributor Author

I'll make another PR as I found a lot of other broken stuff.

@kduret
Copy link
Contributor

kduret commented Dec 5, 2019

@alk-jbrochet you could just update this PR :)

@alk-jbrochet
Copy link
Contributor Author

New PR ready https://github.com/centreon/centreon/pull/8180
It was easier for me to create a new PR as the title is a bit wrong.

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

Successfully merging this pull request may close these issues.

4 participants