Giter Site home page Giter Site logo

Corrupt File? about icinga2 HOT 5 CLOSED

david-61 avatar david-61 commented on August 12, 2024
Corrupt File?

from icinga2.

Comments (5)

jjethwa avatar jjethwa commented on August 12, 2024

Hi @david-61

Thanks for reporting the issue. Do you mind trying to start the container up without the volume to see if it comes up ok? You shouldn't need to have to run any commands to get things going with the out of the box setup.

from icinga2.

david-61 avatar david-61 commented on August 12, 2024

Hi @jjethwa, I just executed
docker run -p 80:80 -h icinga2 -t jordan/icinga2:latest
on a snapshot, it works good like my modified run command, but this file is still corrupt.
I tought I had to modify this file because I still have persistence problems on my test machine.
Maybe I have understanded your documentation wrong?
I created a user on my Debian system called Icinga and set a Password
and I entered the pass for the icinga and root user into the file called secrets_sql.env
and executed docker compose. everything works, until the restart.

After I restart my System I cant get acess to Icingaweb2, but the container starts according to Docker.
I cant understand this : /

from icinga2.

jjethwa avatar jjethwa commented on August 12, 2024

Hi @david-61

This was just to prove that the container is working correctly and there are no corrupted files within it.

Let's go through the docker compose steps one more time.

  1. Clone the repo to the target machine: git clone https://github.com/jjethwa/icinga2.git
  2. cd icinga2
  3. echo "MYSQL_ROOT_PASSWORD=<ROOT_PASSWORD>" > secrets_sql.env
  4. (optional) echo "DEFAULT_MYSQL_PASS=<ICINGA_DATABASE_PASSWORD>" >> secrets_sql.env
  5. docker-compose up

Can you verify that works and you can restart the container via docker compose?

from icinga2.

david-61 avatar david-61 commented on August 12, 2024

Thanks for the tip, now I managed to get icingaweb2 after restart.
my fault was: I havent executed docker compose once after the restart. 🤦🏻‍♂️
Now everything is up and running
Thank you for your Help @jjethwa.

from icinga2.

jjethwa avatar jjethwa commented on August 12, 2024

Great news 😄

from icinga2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.