kermith72 / auto_install

Automated installation of Centreon on Debian with sources
GNU Affero General Public License v3.0
11 stars 13 forks source link

20.10.x Fresh install failed #16

Open dellarte opened 3 years ago

dellarte commented 3 years ago

Hi,

I have created a new VM with Debian10. I cloned the repo and launched ./centreon_central_2010.sh All the installation from the script seems to work but when i have to go the my webserver http://x.X.X.X/centreon/install/install.php at step 3 it's written file/directory not found on several items.

image centreon-install.log

g1bs0nsg commented 3 years ago

I'm running into this same issue as well using a freshly built Debian 10 container. centreon-engine is not installing. I believe the relevant bits from the log are:

`json11/e2e3a11@centreon/stable: Not found in local cache, looking in remotes... json11/e2e3a11@centreon/stable: Trying with 'conancenter'... json11/e2e3a11@centreon/stable: Trying with 'conan-center'... json11/e2e3a11@centreon/stable: Trying with 'centreon'... /usr/lib/python3/dist-packages/requests/init.py:91: RequestsDependencyWarning: urllib3 (1.25.11) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning) ERROR: Unable to find 'json11/e2e3a11@centreon/stable' in remotes -- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:44 (include): include could not find load file:

/usr/local/src/centreon-engine-20.10.2/build/conan_paths.cmake

CMake Error at CMakeLists.txt:47 (find_package): By not providing "Findprotobuf.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "protobuf", but CMake did not find one.

Could not find a package configuration file provided by "protobuf" with any of the following names:

protobufConfig.cmake
protobuf-config.cmake

Add the installation prefix of "protobuf" to CMAKE_PREFIX_PATH or set "protobuf_DIR" to a directory containing one of the above files. If "protobuf" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred! See also "/usr/local/src/centreon-engine-20.10.2/build/CMakeFiles/CMakeOutput.log". make: No targets specified and no makefile found. Stop. make: No rule to make target 'install'. Stop. Failed to enable unit: Unit file centengine.service does not exist. `

Looks to be related to https://github.com/centreon/centreon-engine/issues/513

kermith72 commented 3 years ago

Sorry, since the stop of bintray, my scripts are not working anymore. I'm waiting for the release of the official source packages to modify the scripts

omercier commented 2 years ago

Hi, there has ben compilation issues while switching from Bintray to Conan Center. They are now fixed and Debian packages will be officially provided by Centreon in the next few months.