Giter VIP home page Giter VIP logo

Comments (10)

cimnine avatar cimnine commented on June 7, 2024

Please format your issue so that it is readable.

from netbox-docker.

aes-grave avatar aes-grave commented on June 7, 2024

Apologies, I hope this is more readable.

from netbox-docker.

cimnine avatar cimnine commented on June 7, 2024

Please post the output of docker-compose logs netbox.

If you don't have data you must preserve, please also try:

docker-compose down -v --remove-orphans
docker-compose pull
docker-compose up

from netbox-docker.

aes-grave avatar aes-grave commented on June 7, 2024

docker-compose logs netbox.txt

Looks like it's just looping. Fails on

django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

I did the following, output is attached as well

docker-compose down -v --remove-orphans docker-compose pull docker-compose up

docker-compose- down -v.txt

from netbox-docker.

cimnine avatar cimnine commented on June 7, 2024

Thank you for the full logs.

You seem to have a problem with your local setup. It's a very clear error in your logs:

PermissionError: [Errno 13] Permission denied: '/etc/netbox/config/configuration.py'

Are you perhaps on an old clone of this repo? Have you tried git pull?

Can you check if you disabled the mounts in docker-compose.yaml, i.e. on line:
https://github.com/ninech/netbox-docker/blob/master/docker-compose.yml#L17

from netbox-docker.

aes-grave avatar aes-grave commented on June 7, 2024

No, everything is new as of yesterday. I had only found this project a day ago and decided to try it out on some vms I am running. I ran in the same exact problem on two vms, both are CentOS Linux release 7.5.1804 (Core).

Update: Looks like the issue is SELinux. I put it into permissive mode and everything comes up as expected.

This looks to be the SELinux warning that is thrown.

Sep 14 11:08:05 hq-nettoolapps kernel: SELinux: mount invalid. Same superblock, different security settings for (dev mqueue, type mqueue)

This is resolved at this point.

from netbox-docker.

cimnine avatar cimnine commented on June 7, 2024

You may also turn off all mounts from the host filesystem by commenting them out the following lines in the docker-compose.yml:

https://github.com/ninech/netbox-docker/blob/d8285b05f254163de9d883a63a3c102b072e1e89/docker-compose.yml#L15-L17

from netbox-docker.

hexicans avatar hexicans commented on June 7, 2024

hello,

why after restart, the docker instance change port ? (32768, next 32769, now 32770..?)

from netbox-docker.

scottmeyer avatar scottmeyer commented on June 7, 2024

I was experiencing the same on Windows. The problem was because I had recently changed passwords and had not updated the credentials in docker shared drive configuration. Once I updated those credentials, everything worked per the documentation.

from netbox-docker.

cimnine avatar cimnine commented on June 7, 2024

why after restart, the docker instance change port ? (32768, next 32769, now 32770..?)

This is intentional. Also, please open new issues.

from netbox-docker.

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.