728x90
반응형
Netbox 란 ?
NetBox는 네트워크 인프라를 관리하기 위한 오픈 소스 툴입니다. 이는 데이터 센터와 기업 네트워크 환경에서 장비들의 인벤토리, IP 주소 관리, 랙 배치, 케이블 관리 등을 효과적으로 관리할 수 있도록 도와줍니다. NetBox는 Django 웹 애플리케이션으로 구현되어 있으며, RESTful API를 통해 외부 시스템과의 통합이 가능합니다. 이는 유연하고 확장 가능한 네트워크 인프라 관리 솔루션으로 널리 사용되고 있습니다.

https://netboxlabs.com
https://netboxlabs.com/docs/netbox/en/stable/installation/
https://github.com/netbox-community/netbox

 

설치환경
Windows 11
Docker Desktop 설치
Visual Studio Code 설치
GitHub Desktop 설치

 

# Docker Version 확인
# C:\Users\shim>docker --version
Docker version 26.0.0, build 2ae903e

# Docker-compose Version 확인
# C:\Users\shim>docker-compose --version
Docker Compose version v2.26.1-desktop.1

# Visual Studio Code Version 확인
# C:\Users\shim> code --version
1.89.1
dc96b837cf6bb4af9cd736aa3af08cf8279f7685
x64

# git Version 확인
# C:\Users\shim>git --version
git version 2.43.0.windows.1
  • Docker Desktop은 Docker Hub 가 로그인 되어 있어야함

  • Visual Studio Code 에는 Docker PlugIn이 설치되어 있어야 함

 

Netbox Git 파일 다운로드 및 설치

 

  • Windows 적정한 디렉토리를 만들어사 git 으로 Netbox git 설치파일 다운로드
# C:\Users\shim>mkdir docker

# C:\Users\shim>cd docker

# C:\Users\shim\docker>git clone -b release https://github.com/netbox-community/netbox-docker.git
Cloning into 'netbox-docker'...
remote: Enumerating objects: 4633, done.
remote: Counting objects: 100% (100/100), done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 4633 (delta 51), reused 79 (delta 41), pack-reused 4533
Receiving objects: 100% (4633/4633), 1.14 MiB | 20.78 MiB/s, done.
Resolving deltas: 100% (2674/2674), done.

# C:\Users\shim\docker>cd netbox-docker

# C:\Users\shim\docker\netbox-docker>code .

 

  • code . 실행하면 visual Studio Code 가 실행됨
  • 탐색기에서 docker-compose.yml을 클릭함

  • 오른쪽 docker-compose.yml 소스파일에 다음과 같이 포트를 추가함
services:
  netbox: &netbox
    ports:                  # <---- 포트 추가 
    - 8000:8080             # <---- 포트 추가
    image: docker.io/netboxcommunity/netbox:${VERSION-v4.0-2.9.1}
    depends_on:
    - postgres
..
..

생략

 

  • 수정후 탐색기에서 docker-compose.yml을 클릭하고 마우스 오른쪽 클릭하여 Compose up 클

  • 오른쪽 터미널에 명령서 실행되는 화면 
# docker compose -f "docker-compose.yml" up -d --build

 

  • 터미널에서 docker netbox 계정 생성
# docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
# PS C:\Users\shim\docker\netbox-docker> docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
?? loaded config '/etc/netbox/config/configuration.py'
?? loaded config '/etc/netbox/config/extra.py'
?? loaded config '/etc/netbox/config/logging.py'
?? loaded config '/etc/netbox/config/plugins.py'
Username: netbox
Email address: aeroshim@gmail.com
Password:
Password (again):
Superuser created successfully.

 

 

  • Docker Desktop을 실행해서 Containers를 클릭하면 docker 생성화면이 보임

 

  • 생성된 포트를 접속하면 다음과 같은 로그인 화면이 나오면 설치 성공

 

728x90
반응형
LIST

'Manage OpenSource > netbox' 카테고리의 다른 글

NETBOX 설치하기 docker(RockyLinux)  (2) 2024.06.02
728x90
반응형

 

Netbox 란 ?
NetBox는 네트워크 인프라를 관리하기 위한 오픈 소스 툴입니다. 이는 데이터 센터와 기업 네트워크 환경에서 장비들의 인벤토리, IP 주소 관리, 랙 배치, 케이블 관리 등을 효과적으로 관리할 수 있도록 도와줍니다. NetBox는 Django 웹 애플리케이션으로 구현되어 있으며, RESTful API를 통해 외부 시스템과의 통합이 가능합니다. 이는 유연하고 확장 가능한 네트워크 인프라 관리 솔루션으로 널리 사용되고 있습니다.

https://netboxlabs.com/
https://netboxlabs.com/docs/netbox/en/stable/installation/
https://github.com/netbox-community/netbox
 

GitHub - netbox-community/netbox: The premier source of truth powering network automation. Open source under Apache 2. Public de

The premier source of truth powering network automation. Open source under Apache 2. Public demo: https://demo.netbox.dev - netbox-community/netbox

github.com

 

 

Enterprise-Grade, SaaS Network Source of Truth | NetBox Labs

Build and manage complex networks easier with NetBox Labs, using an enterprise-grade version of the world’s most popular network source of truth.

netboxlabs.com

 

 

Installing NetBox - NetBox OSS 4.0.3

Installation NetBox Cloud The instructions below are for installing NetBox as a standalone, self-hosted application. For a Cloud-delivered solution, check out NetBox Cloud by NetBox Labs. The installation instructions provided here have been tested to work

netboxlabs.com

 

설치환경
# 서버 ip : 192.168.56.236

# cat os-release
NAME="Rocky Linux"
VERSION="8.10 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.10 (Green Obsidian)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2029-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8"
ROCKY_SUPPORT_PRODUCT_VERSION="8.10"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"

# docker -v
Docker version 26.1.3, build b72abbb

# docker-compose -v
Docker Compose version v2.27.1

 

설치 로그파일

 

20240602_netbox-docker-compose설치로그.txt
0.10MB

Docker 및 Docker-compose 설치 (설치가 안되어 있으면 설치)

 

# docker 설치
# sudo dnf update

# sudo dnf install -y dnf-plugins-core

# sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

# sudo dnf install docker-ce docker-ce-cli containerd.io

# sudo systemctl start docker

# sudo systemctl enable docker


# docker-compose 설치
# sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o                                                                                                                                           /usr/local/bin/docker-compose
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 60.1M  100 60.1M    0     0  8858k      0  0:00:06  0:00:06 --:--:-- 11.2M

# sudo chmod +x /usr/local/bin/docker-compose

 

Docker로 Netbox 설치하기

 

  • git이 설치안된 경우 git 설치
# cd $HOME

# dnf install git
Last metadata expiration check: 0:03:01 ago on Sun 02 Jun 2024 08:48:00 AM KST.
Dependencies resolved.
===================================================================================================================================
 Package                            Architecture             Version                             Repository                   Size
===================================================================================================================================
Installing:
 git                                x86_64                   2.43.0-1.el8                        appstream                    91 k
Installing dependencies:
 git-core                           x86_64                   2.43.0-1.el8                        appstream                    11 M
 git-core-doc                       noarch                   2.43.0-1.el8                        appstream                   3.1 M
 perl-Error                         noarch                   1:0.17025-2.el8                     appstream                    45 k
 perl-Git                           noarch                   2.43.0-1.el8                        appstream                    78 k
 perl-TermReadKey                   x86_64                   2.37-7.el8                          appstream                    39 k

Transaction Summary
===================================================================================================================================
Install  6 Packages

Total download size: 14 M
Installed size: 46 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): git-2.43.0-1.el8.x86_64.rpm                                                                 1.2 MB/s |  91 kB     00:00
(2/6): perl-Error-0.17025-2.el8.noarch.rpm                                                          66 kB/s |  45 kB     00:00
(3/6): perl-Git-2.43.0-1.el8.noarch.rpm                                                             35 kB/s |  78 kB     00:02
(4/6): git-core-doc-2.43.0-1.el8.noarch.rpm                                                        564 kB/s | 3.1 MB     00:05
(5/6): perl-TermReadKey-2.37-7.el8.x86_64.rpm                                                       15 kB/s |  39 kB     00:02
(6/6): git-core-2.43.0-1.el8.x86_64.rpm                                                            1.7 MB/s |  11 MB     00:06
-----------------------------------------------------------------------------------------------------------------------------------
Total                                                                                              2.1 MB/s |  14 MB     00:06
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                           1/1
  Installing       : git-core-2.43.0-1.el8.x86_64                                                                              1/6
  Installing       : git-core-doc-2.43.0-1.el8.noarch                                                                          2/6
  Installing       : perl-TermReadKey-2.37-7.el8.x86_64                                                                        3/6
  Installing       : perl-Error-1:0.17025-2.el8.noarch                                                                         4/6
  Installing       : perl-Git-2.43.0-1.el8.noarch                                                                              5/6
  Installing       : git-2.43.0-1.el8.x86_64                                                                                   6/6
  Running scriptlet: git-2.43.0-1.el8.x86_64                                                                                   6/6
  Verifying        : git-2.43.0-1.el8.x86_64                                                                                   1/6
  Verifying        : git-core-2.43.0-1.el8.x86_64                                                                              2/6
  Verifying        : git-core-doc-2.43.0-1.el8.noarch                                                                          3/6
  Verifying        : perl-Error-1:0.17025-2.el8.noarch                                                                         4/6
  Verifying        : perl-Git-2.43.0-1.el8.noarch                                                                              5/6
  Verifying        : perl-TermReadKey-2.37-7.el8.x86_64                                                                        6/6

Installed:
  git-2.43.0-1.el8.x86_64                     git-core-2.43.0-1.el8.x86_64           git-core-doc-2.43.0-1.el8.noarch
  perl-Error-1:0.17025-2.el8.noarch           perl-Git-2.43.0-1.el8.noarch           perl-TermReadKey-2.37-7.el8.x86_64

Complete!

 

  • netbox  다운로드 및 설치

  - Quickstart (1) ~ (5) 방식으로 진행함

#(1) git clone -b release https://github.com/netbox-community/netbox-docker.git
#(2) cd netbox-docker
#(3) tee docker-compose.override.yml <<EOF
services:
  netbox:
    ports:
      - 8000:8080
EOF
#(4) docker compose pull
#(5) docker compose up
# git clone -b release https://github.com/netbox-community/netbox-docker.git
Cloning into 'netbox-docker'...
remote: Enumerating objects: 4633, done.
remote: Counting objects: 100% (100/100), done.
remote: Compressing objects: 100% (55/55), done.
remote: Total 4633 (delta 51), reused 80 (delta 42), pack-reused 4533
Receiving objects: 100% (4633/4633), 1.14 MiB | 11.79 MiB/s, done.
Resolving deltas: 100% (2670/2670), done.

 

  • docker-compose를 이용하여 netbox를 설치한다
  • 아래 로그중에 tee 부분은 box내용을 복사해서 붙혀넣기 하면 됨
tee docker-compose.override.yml <<EOF
services:
  netbox:
    ports:
      - 8000:8080
EOF
# cd netbox-docker/

# ls
build-functions  docker                               docker-compose.yml  pyproject.toml  requirements-container.txt
build-latest.sh  docker-compose.override.yml.example  Dockerfile          README.md       test-configuration
build.sh         docker-compose.test.override.yml     env                 release.sh      test.sh
configuration    docker-compose.test.yml              LICENSE             renovate.json   VERSION


# tee docker-compose.override.yml <<EOF
> services:
>   netbox:
>     ports:
>       - 8000:8080
> EOF
services:
  netbox:
    ports:
      - 8000:8080
      
# docker compose pull
[+] Pulling 22/22
 ? netbox-housekeeping Skipped - Image is already being pulled by netbox-worker                                               0.0s
 ? redis-cache Skipped - Image is already being pulled by redis                                                               0.0s
 ? netbox Skipped - Image is already being pulled by netbox-worker                                                            0.0s
 ? redis Pulled                                                                                                               6.2s
   ? d25f557d7f31 Pull complete                                                                                               1.3s
   ? b03b02e01fda Pull complete                                                                                               1.3s
   ? 7b8eb84c4535 Pull complete                                                                                               1.5s
   ? ad34468061c3 Pull complete                                                                                               1.6s
   ? d3f4ad8ba58b Pull complete                                                                                               2.9s
   ? 6f3e0605beb6 Pull complete                                                                                               2.9s
   ? 4f4fb700ef54 Pull complete                                                                                               3.0s
   ? b44457c91edf Pull complete                                                                                               3.0s
 ? netbox-worker Pulled                                                                                                       1.9s
 ? postgres Pulled                                                                                                           17.9s
   ? 57103dbfb65d Pull complete                                                                                               2.7s
   ? c0ee2744e27d Pull complete                                                                                               3.0s
   ? d29578debbf7 Pull complete                                                                                              14.5s
   ? bb83e095c2c5 Pull complete                                                                                              14.5s
   ? 2ce15d92d22a Pull complete                                                                                              14.5s
   ? 18a493f79a7a Pull complete                                                                                              14.5s
   ? 4a11e3af9edf Pull complete                                                                                              14.6s
   ? f74f8aaae0d0 Pull complete                                                                                              14.6s


# docker compose up
[+] Running 13/11
 ? Network netbox-docker_default                   Created                                                                    0.2s
 ? Volume "netbox-docker_netbox-redis-data"        Created                                                                    0.0s
 ? Volume "netbox-docker_netbox-redis-cache-data"  Created                                                                    0.0s
 ? Volume "netbox-docker_netbox-media-files"       Created                                                                    0.0s
 ? Volume "netbox-docker_netbox-reports-files"     Created                                                                    0.0s
 ? Volume "netbox-docker_netbox-scripts-files"     Created                                                                    0.0s
 ? Volume "netbox-docker_netbox-postgres-data"     Created                                                                    0.0s
 ? Container netbox-docker-redis-cache-1           Created                                                                    0.1s
 ? Container netbox-docker-postgres-1              Created                                                                    0.1s
 ? Container netbox-docker-redis-1                 Created                                                                    0.1s
 ? Container netbox-docker-netbox-1                Created                                                                    0.1s
 ? Container netbox-docker-netbox-housekeeping-1   Created                                                                    0.0s
 ? Container netbox-docker-netbox-worker-1         Created                                                                    0.1s
Attaching to netbox-1, netbox-housekeeping-1, netbox-worker-1, postgres-1, redis-1, redis-cache-1
redis-cache-1          | 1:C 01 Jun 2024 23:52:50.305 # WARNING Memory overcommit must be enabled! Without it, a background save or                                                                                                                                           replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see http                                                                                                                                          s://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot                                                                                                                                           or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis-cache-1          | 1:C 01 Jun 2024 23:52:50.305 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis-cache-1          | 1:C 01 Jun 2024 23:52:50.305 * Redis version=7.2.5, bits=64, commit=00000000, modified=0, pid=1, just star                                                                                                                                          ted
redis-cache-1          | 1:C 01 Jun 2024 23:52:50.305 * Configuration loaded
redis-cache-1          | 1:M 01 Jun 2024 23:52:50.306 * monotonic clock: POSIX clock_gettime
redis-cache-1          | 1:M 01 Jun 2024 23:52:50.306 * Running mode=standalone, port=6379.
redis-cache-1          | 1:M 01 Jun 2024 23:52:50.306 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sy                                                                                                                                          s/net/core/somaxconn is set to the lower value of 128.
redis-cache-1          | 1:M 01 Jun 2024 23:52:50.306 * Server initialized
redis-cache-1          | 1:M 01 Jun 2024 23:52:50.306 * Ready to accept connections tcp
redis-1                | 1:C 01 Jun 2024 23:52:50.334 # WARNING Memory overcommit must be enabled! Without it, a background save or                                                                                                                                           replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see http                                                                                                                                          s://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot                                                                                                                                           or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis-1                | 1:C 01 Jun 2024 23:52:50.334 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis-1                | 1:C 01 Jun 2024 23:52:50.334 * Redis version=7.2.5, bits=64, commit=00000000, modified=0, pid=1, just star                                                                                                                                          ted
redis-1                | 1:C 01 Jun 2024 23:52:50.334 * Configuration loaded
redis-1                | 1:M 01 Jun 2024 23:52:50.335 * monotonic clock: POSIX clock_gettime
redis-1                | 1:M 01 Jun 2024 23:52:50.335 * Running mode=standalone, port=6379.
redis-1                | 1:M 01 Jun 2024 23:52:50.335 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sy                                                                                                                                          s/net/core/somaxconn is set to the lower value of 128.
redis-1                | 1:M 01 Jun 2024 23:52:50.335 * Server initialized
redis-1                | 1:M 01 Jun 2024 23:52:50.339 * Creating AOF base file appendonly.aof.1.base.rdb on server start
redis-1                | 1:M 01 Jun 2024 23:52:50.349 * Creating AOF incr file appendonly.aof.1.incr.aof on server start
redis-1                | 1:M 01 Jun 2024 23:52:50.349 * Ready to accept connections tcp
postgres-1             | The files belonging to this database system will be owned by user "postgres".
postgres-1             | This user must also own the server process.
postgres-1             |
postgres-1             | The database cluster will be initialized with locale "en_US.utf8".
postgres-1             | The default database encoding has accordingly been set to "UTF8".
postgres-1             | The default text search configuration will be set to "english".
postgres-1             |
postgres-1             | Data page checksums are disabled.
postgres-1             |
postgres-1             | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgres-1             | creating subdirectories ... ok
postgres-1             | selecting dynamic shared memory implementation ... posix
postgres-1             | selecting default max_connections ... 100
postgres-1             | selecting default shared_buffers ... 128MB
postgres-1             | selecting default time zone ... UTC
postgres-1             | creating configuration files ... ok
postgres-1             | running bootstrap script ... ok
postgres-1             | sh: locale: not found
postgres-1             | 2024-06-01 23:52:50.631 UTC [30] WARNING:  no usable system locales were found
postgres-1             | performing post-bootstrap initialization ... ok
postgres-1             | syncing data to disk ... ok
postgres-1             |
postgres-1             |
postgres-1             | Success. You can now start the database server using:
postgres-1             |
postgres-1             |     pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres-1             |
postgres-1             | initdb: warning: enabling "trust" authentication for local connections
postgres-1             | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --aut                                                                                                                                          h-host, the next time you run initdb.
postgres-1             | waiting for server to start....2024-06-01 23:52:51.402 UTC [36] LOG:  starting PostgreSQL 16.3 on x86_64-p                                                                                                                                          c-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
postgres-1             | 2024-06-01 23:52:51.404 UTC [36] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1             | 2024-06-01 23:52:51.412 UTC [39] LOG:  database system was shut down at 2024-06-01 23:52:50 UTC
postgres-1             | 2024-06-01 23:52:51.420 UTC [36] LOG:  database system is ready to accept connections
postgres-1             |  done
postgres-1             | server started
postgres-1             | CREATE DATABASE
postgres-1             |
postgres-1             |
postgres-1             | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
postgres-1             |
postgres-1             | waiting for server to shut down....2024-06-01 23:52:51.566 UTC [36] LOG:  received fast shutdown request
postgres-1             | 2024-06-01 23:52:51.571 UTC [36] LOG:  aborting any active transactions
postgres-1             | 2024-06-01 23:52:51.573 UTC [36] LOG:  background worker "logical replication launcher" (PID 42) exited wi                                                                                                                                          th exit code 1
postgres-1             | 2024-06-01 23:52:51.575 UTC [37] LOG:  shutting down
postgres-1             | 2024-06-01 23:52:51.577 UTC [37] LOG:  checkpoint starting: shutdown immediate
postgres-1             | 2024-06-01 23:52:51.722 UTC [37] LOG:  checkpoint complete: wrote 924 buffers (5.6%); 0 WAL file(s) added,                                                                                                                                           0 removed, 0 recycled; write=0.051 s, sync=0.087 s, total=0.148 s; sync files=301, longest=0.013 s, average=0.001 s; distance=4267                                                                                                                                           kB, estimate=4267 kB; lsn=0/191AA98, redo lsn=0/191AA98
postgres-1             | 2024-06-01 23:52:51.727 UTC [36] LOG:  database system is shut down
postgres-1             |  done
postgres-1             | server stopped
postgres-1             |
postgres-1             | PostgreSQL init process complete; ready for start up.
postgres-1             |
postgres-1             | 2024-06-01 23:52:51.786 UTC [1] LOG:  starting PostgreSQL 16.3 on x86_64-pc-linux-musl, compiled by gcc (A                                                                                                                                          lpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
postgres-1             | 2024-06-01 23:52:51.787 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
postgres-1             | 2024-06-01 23:52:51.787 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres-1             | 2024-06-01 23:52:51.792 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1             | 2024-06-01 23:52:51.799 UTC [52] LOG:  database system was shut down at 2024-06-01 23:52:51 UTC
postgres-1             | 2024-06-01 23:52:51.803 UTC [1] LOG:  database system is ready to accept connections
postgres-1             | 2024-06-01 23:52:57.534 UTC [56] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-06-01 23:52:57.534 UTC [56] STATEMENT:  SELECT "django_content_type"."id", "django_content_type"."app                                                                                                                                          _label", "django_content_type"."model" FROM "django_content_type" WHERE (("django_content_type"."app_label" = 'auth' AND "django_co                                                                                                                                          ntent_type"."model" IN ('group', 'permission')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."m                                                                                                                                          odel" IN ('contenttype')) OR ("django_content_type"."app_label" = 'sessions' AND "django_content_type"."model" IN ('session')) OR (                                                                                                                                          "django_content_type"."app_label" = 'social_django' AND "django_content_type"."model" IN ('partial', 'code', 'nonce', 'usersocialau                                                                                                                                          th', 'association')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) O                                                                                                                                          R ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('autosyncrecord', 'job', 'datasource', 'managed                                                                                                                                          file', 'configrevision', 'datafile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('object                                                                                                                                          permission', 'user', 'token', 'userconfig', 'group')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type".                                                                                                                                          "model" IN ('circuittermination', 'provideraccount', 'providernetwork', 'circuit', 'circuittype', 'provider')) OR ("django_content_                                                                                                                                          type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('interface', 'powerfeed', 'site', 'consoleserverporttemplate', 'mo                                                                                                                                          dule', 'rackrole', 'moduletype', 'region', 'cablepath', 'sitegroup', 'powerport', 'inventoryitemrole', 'rearporttemplate', 'moduleb                                                                                                                                          aytemplate', 'consoleserverport', 'poweroutlettemplate', 'inventoryitemtemplate', 'location', 'rackreservation', 'device', 'console                                                                                                                                          port', 'frontport', 'frontporttemplate', 'powerporttemplate', 'consoleporttemplate', 'rearport', 'virtualchassis', 'powerpanel', 'd                                                                                                                                          evicetype', 'cable', 'manufacturer', 'devicebay', 'interfacetemplate', 'modulebay', 'rack', 'cabletermination', 'devicerole', 'devi                                                                                                                                          cebaytemplate', 'poweroutlet', 'platform', 'virtualdevicecontext', 'inventoryitem')) OR ("django_content_type"."app_label" = 'ipam'                                                                                                                                           AND "django_content_type"."model" IN ('asn', 'routetarget', 'vrf', 'aggregate', 'iprange', 'servicetemplate', 'asnrange', 'fhrpgro                                                                                                                                          upassignment', 'fhrpgroup', 'ipaddress', 'prefix', 'rir', 'service', 'vlangroup', 'role', 'vlan')) OR ("django_content_type"."app_l                                                                                                                                          abel" = 'extras' AND "django_content_type"."model" IN ('webhook', 'imageattachment', 'objectchange', 'cachedvalue', 'branch', 'tagg                                                                                                                                          editem', 'exporttemplate', 'customfieldchoiceset', 'configcontext', 'script', 'bookmark', 'customlink', 'savedfilter', 'tag', 'conf                                                                                                                                          igtemplate', 'customfield', 'journalentry', 'dashboard', 'stagedchange', 'eventrule')) OR ("django_content_type"."app_label" = 'ten                                                                                                                                          ancy' AND "django_content_type"."model" IN ('contact', 'tenantgroup', 'contactrole', 'contactgroup', 'tenant', 'contactassignment')                                                                                                                                          ) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('clustergroup', 'virtualmachine',                                                                                                                                           'cluster', 'clustertype', 'virtualdisk', 'vminterface')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."m                                                                                                                                          odel" IN ('l2vpn', 'ikeproposal', 'tunnel', 'ipsecprofile', 'ikepolicy', 'tunneltermination', 'l2vpntermination', 'ipsecproposal',                                                                                                                                           'tunnelgroup', 'ipsecpolicy')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelessli                                                                                                                                          nk', 'wirelesslangroup', 'wirelesslan')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN (                                                                                                                                          'queue')))
postgres-1             | 2024-06-01 23:52:57.537 UTC [56] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-06-01 23:52:57.537 UTC [56] STATEMENT:  SELECT "django_content_type"."id", "django_content_type"."app                                                                                                                                          _label", "django_content_type"."model" FROM "django_content_type" WHERE (("django_content_type"."app_label" = 'auth' AND "django_co                                                                                                                                          ntent_type"."model" IN ('group', 'permission')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."m                                                                                                                                          odel" IN ('contenttype')) OR ("django_content_type"."app_label" = 'sessions' AND "django_content_type"."model" IN ('session')) OR (                                                                                                                                          "django_content_type"."app_label" = 'social_django' AND "django_content_type"."model" IN ('partial', 'code', 'nonce', 'usersocialau                                                                                                                                          th', 'association')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) O                                                                                                                                          R ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('autosyncrecord', 'job', 'datasource', 'managed                                                                                                                                          file', 'configrevision', 'datafile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('object                                                                                                                                          permission', 'user', 'token', 'userconfig', 'group')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type".                                                                                                                                          "model" IN ('circuittermination', 'provideraccount', 'providernetwork', 'circuit', 'circuittype', 'provider')) OR ("django_content_                                                                                                                                          type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('interface', 'powerfeed', 'site', 'consoleserverporttemplate', 'mo                                                                                                                                          dule', 'rackrole', 'moduletype', 'region', 'cablepath', 'sitegroup', 'powerport', 'inventoryitemrole', 'rearporttemplate', 'moduleb                                                                                                                                          aytemplate', 'consoleserverport', 'poweroutlettemplate', 'inventoryitemtemplate', 'location', 'rackreservation', 'device', 'console                                                                                                                                          port', 'frontport', 'frontporttemplate', 'powerporttemplate', 'consoleporttemplate', 'rearport', 'virtualchassis', 'powerpanel', 'd                                                                                                                                          evicetype', 'cable', 'manufacturer', 'devicebay', 'interfacetemplate', 'modulebay', 'rack', 'cabletermination', 'devicerole', 'devi                                                                                                                                          cebaytemplate', 'poweroutlet', 'platform', 'virtualdevicecontext', 'inventoryitem')) OR ("django_content_type"."app_label" = 'ipam'                                                                                                                                           AND "django_content_type"."model" IN ('asn', 'routetarget', 'vrf', 'aggregate', 'iprange', 'servicetemplate', 'asnrange', 'fhrpgro                                                                                                                                          upassignment', 'fhrpgroup', 'ipaddress', 'prefix', 'rir', 'service', 'vlangroup', 'role', 'vlan')) OR ("django_content_type"."app_l                                                                                                                                          abel" = 'extras' AND "django_content_type"."model" IN ('webhook', 'imageattachment', 'objectchange', 'cachedvalue', 'branch', 'tagg                                                                                                                                          editem', 'exporttemplate', 'customfieldchoiceset', 'configcontext', 'script', 'bookmark', 'customlink', 'savedfilter', 'tag', 'conf                                                                                                                                          igtemplate', 'customfield', 'journalentry', 'dashboard', 'stagedchange', 'eventrule')) OR ("django_content_type"."app_label" = 'ten                                                                                                                                          ancy' AND "django_content_type"."model" IN ('contact', 'tenantgroup', 'contactrole', 'contactgroup', 'tenant', 'contactassignment')                                                                                                                                          ) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('clustergroup', 'virtualmachine',                                                                                                                                           'cluster', 'clustertype', 'virtualdisk', 'vminterface')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."m                                                                                                                                          odel" IN ('l2vpn', 'ikeproposal', 'tunnel', 'ipsecprofile', 'ikepolicy', 'tunneltermination', 'l2vpntermination', 'ipsecproposal',                                                                                                                                           'tunnelgroup', 'ipsecpolicy')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelessli                                                                                                                                          nk', 'wirelesslangroup', 'wirelesslan')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN (                                                                                                                                          'queue')))
postgres-1             | 2024-06-01 23:52:58.098 UTC [56] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-06-01 23:52:58.098 UTC [56] STATEMENT:  SELECT "django_content_type"."id", "django_content_type"."app                                                                                                                                          _label", "django_content_type"."model" FROM "django_content_type" WHERE (("django_content_type"."app_label" = 'auth' AND "django_co                                                                                                                                          ntent_type"."model" IN ('group', 'permission')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."m                                                                                                                                          odel" IN ('contenttype')) OR ("django_content_type"."app_label" = 'sessions' AND "django_content_type"."model" IN ('session')) OR (                                                                                                                                          "django_content_type"."app_label" = 'social_django' AND "django_content_type"."model" IN ('partial', 'code', 'nonce', 'usersocialau                                                                                                                                          th', 'association')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) O                                                                                                                                          R ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('autosyncrecord', 'job', 'datasource', 'managed                                                                                                                                          file', 'configrevision', 'datafile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('object                                                                                                                                          permission', 'user', 'token', 'userconfig', 'group')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type".                                                                                                                                          "model" IN ('circuittermination', 'provideraccount', 'providernetwork', 'circuit', 'circuittype', 'provider')) OR ("django_content_                                                                                                                                          type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('interface', 'powerfeed', 'site', 'consoleserverporttemplate', 'mo                                                                                                                                          dule', 'rackrole', 'moduletype', 'region', 'cablepath', 'sitegroup', 'powerport', 'inventoryitemrole', 'rearporttemplate', 'moduleb                                                                                                                                          aytemplate', 'consoleserverport', 'poweroutlettemplate', 'inventoryitemtemplate', 'location', 'rackreservation', 'device', 'console                                                                                                                                          port', 'frontport', 'frontporttemplate', 'powerporttemplate', 'consoleporttemplate', 'rearport', 'virtualchassis', 'powerpanel', 'd                                                                                                                                          evicetype', 'cable', 'manufacturer', 'devicebay', 'interfacetemplate', 'modulebay', 'rack', 'cabletermination', 'devicerole', 'devi                                                                                                                                          cebaytemplate', 'poweroutlet', 'platform', 'virtualdevicecontext', 'inventoryitem')) OR ("django_content_type"."app_label" = 'ipam'                                                                                                                                           AND "django_content_type"."model" IN ('asn', 'routetarget', 'vrf', 'aggregate', 'iprange', 'servicetemplate', 'asnrange', 'fhrpgro                                                                                                                                          upassignment', 'fhrpgroup', 'ipaddress', 'prefix', 'rir', 'service', 'vlangroup', 'role', 'vlan')) OR ("django_content_type"."app_l                                                                                                                                          abel" = 'extras' AND "django_content_type"."model" IN ('webhook', 'imageattachment', 'objectchange', 'cachedvalue', 'branch', 'tagg                                                                                                                                          editem', 'exporttemplate', 'customfieldchoiceset', 'configcontext', 'script', 'bookmark', 'customlink', 'savedfilter', 'tag', 'conf                                                                                                                                          igtemplate', 'customfield', 'journalentry', 'dashboard', 'stagedchange', 'eventrule')) OR ("django_content_type"."app_label" = 'ten                                                                                                                                          ancy' AND "django_content_type"."model" IN ('contact', 'tenantgroup', 'contactrole', 'contactgroup', 'tenant', 'contactassignment')                                                                                                                                          ) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('clustergroup', 'virtualmachine',                                                                                                                                           'cluster', 'clustertype', 'virtualdisk', 'vminterface')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."m                                                                                                                                          odel" IN ('l2vpn', 'ikeproposal', 'tunnel', 'ipsecprofile', 'ikepolicy', 'tunneltermination', 'l2vpntermination', 'ipsecproposal',                                                                                                                                           'tunnelgroup', 'ipsecpolicy')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelessli                                                                                                                                          nk', 'wirelesslangroup', 'wirelesslan')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN (                                                                                                                                          'queue')))
postgres-1             | 2024-06-01 23:53:03.425 UTC [57] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-06-01 23:53:03.425 UTC [57] STATEMENT:  SELECT "django_content_type"."id", "django_content_type"."app                                                                                                                                          _label", "django_content_type"."model" FROM "django_content_type" WHERE (("django_content_type"."app_label" = 'auth' AND "django_co                                                                                                                                          ntent_type"."model" IN ('group', 'permission')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."m                                                                                                                                          odel" IN ('contenttype')) OR ("django_content_type"."app_label" = 'sessions' AND "django_content_type"."model" IN ('session')) OR (                                                                                                                                          "django_content_type"."app_label" = 'social_django' AND "django_content_type"."model" IN ('association', 'usersocialauth', 'nonce',                                                                                                                                           'partial', 'code')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) O                                                                                                                                          R ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('datafile', 'datasource', 'configrevision', 'ma                                                                                                                                          nagedfile', 'autosyncrecord', 'job')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('token'                                                                                                                                          , 'objectpermission', 'user', 'group', 'userconfig')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type".                                                                                                                                          "model" IN ('provideraccount', 'circuit', 'circuittype', 'circuittermination', 'providernetwork', 'provider')) OR ("django_content_                                                                                                                                          type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('poweroutlettemplate', 'virtualchassis', 'rearport', 'interfacetem                                                                                                                                          plate', 'inventoryitemrole', 'interface', 'devicebay', 'modulebaytemplate', 'region', 'devicetype', 'virtualdevicecontext', 'rearpo                                                                                                                                          rttemplate', 'powerfeed', 'consoleporttemplate', 'consoleport', 'frontporttemplate', 'cable', 'consoleserverporttemplate', 'cablepa                                                                                                                                          th', 'inventoryitemtemplate', 'moduletype', 'devicebaytemplate', 'module', 'rack', 'rackreservation', 'powerpanel', 'rackrole', 'po                                                                                                                                          werport', 'consoleserverport', 'devicerole', 'modulebay', 'sitegroup', 'powerporttemplate', 'inventoryitem', 'device', 'cabletermin                                                                                                                                          ation', 'manufacturer', 'frontport', 'location', 'poweroutlet', 'site', 'platform')) OR ("django_content_type"."app_label" = 'ipam'                                                                                                                                           AND "django_content_type"."model" IN ('prefix', 'service', 'servicetemplate', 'vlan', 'vlangroup', 'role', 'ipaddress', 'asnrange'                                                                                                                                          , 'fhrpgroupassignment', 'asn', 'aggregate', 'rir', 'fhrpgroup', 'iprange', 'vrf', 'routetarget')) OR ("django_content_type"."app_l                                                                                                                                          abel" = 'extras' AND "django_content_type"."model" IN ('savedfilter', 'tag', 'branch', 'configtemplate', 'customlink', 'customfield                                                                                                                                          choiceset', 'exporttemplate', 'imageattachment', 'journalentry', 'configcontext', 'taggeditem', 'dashboard', 'script', 'eventrule',                                                                                                                                           'stagedchange', 'webhook', 'cachedvalue', 'bookmark', 'customfield', 'objectchange')) OR ("django_content_type"."app_label" = 'ten                                                                                                                                          ancy' AND "django_content_type"."model" IN ('contactrole', 'contactassignment', 'contact', 'contactgroup', 'tenantgroup', 'tenant')                                                                                                                                          ) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('virtualdisk', 'cluster', 'cluster                                                                                                                                          type', 'vminterface', 'clustergroup', 'virtualmachine')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."m                                                                                                                                          odel" IN ('ipsecpolicy', 'ipsecproposal', 'l2vpn', 'tunnelgroup', 'ikepolicy', 'l2vpntermination', 'tunnel', 'ikeproposal', 'tunnel                                                                                                                                          termination', 'ipsecprofile')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelessli                                                                                                                                          nk', 'wirelesslangroup', 'wirelesslan')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN (                                                                                                                                          'queue')))
postgres-1             | 2024-06-01 23:53:03.429 UTC [57] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-06-01 23:53:03.429 UTC [57] STATEMENT:  SELECT "django_content_type"."id", "django_content_type"."app                                                                                                                                          _label", "django_content_type"."model" FROM "django_content_type" WHERE (("django_content_type"."app_label" = 'auth' AND "django_co                                                                                                                                          ntent_type"."model" IN ('group', 'permission')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."m                                                                                                                                          odel" IN ('contenttype')) OR ("django_content_type"."app_label" = 'sessions' AND "django_content_type"."model" IN ('session')) OR (                                                                                                                                          "django_content_type"."app_label" = 'social_django' AND "django_content_type"."model" IN ('association', 'usersocialauth', 'nonce',                                                                                                                                           'partial', 'code')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) O                                                                                                                                          R ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('datafile', 'datasource', 'configrevision', 'ma                                                                                                                                          nagedfile', 'autosyncrecord', 'job')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('token'                                                                                                                                          , 'objectpermission', 'user', 'group', 'userconfig')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type".                                                                                                                                          "model" IN ('provideraccount', 'circuit', 'circuittype', 'circuittermination', 'providernetwork', 'provider')) OR ("django_content_                                                                                                                                          type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('poweroutlettemplate', 'virtualchassis', 'rearport', 'interfacetem                                                                                                                                          plate', 'inventoryitemrole', 'interface', 'devicebay', 'modulebaytemplate', 'region', 'devicetype', 'virtualdevicecontext', 'rearpo                                                                                                                                          rttemplate', 'powerfeed', 'consoleporttemplate', 'consoleport', 'frontporttemplate', 'cable', 'consoleserverporttemplate', 'cablepa                                                                                                                                          th', 'inventoryitemtemplate', 'moduletype', 'devicebaytemplate', 'module', 'rack', 'rackreservation', 'powerpanel', 'rackrole', 'po                                                                                                                                          werport', 'consoleserverport', 'devicerole', 'modulebay', 'sitegroup', 'powerporttemplate', 'inventoryitem', 'device', 'cabletermin                                                                                                                                          ation', 'manufacturer', 'frontport', 'location', 'poweroutlet', 'site', 'platform')) OR ("django_content_type"."app_label" = 'ipam'                                                                                                                                           AND "django_content_type"."model" IN ('prefix', 'service', 'servicetemplate', 'vlan', 'vlangroup', 'role', 'ipaddress', 'asnrange'                                                                                                                                          , 'fhrpgroupassignment', 'asn', 'aggregate', 'rir', 'fhrpgroup', 'iprange', 'vrf', 'routetarget')) OR ("django_content_type"."app_l                                                                                                                                          abel" = 'extras' AND "django_content_type"."model" IN ('savedfilter', 'tag', 'branch', 'configtemplate', 'customlink', 'customfield                                                                                                                                          choiceset', 'exporttemplate', 'imageattachment', 'journalentry', 'configcontext', 'taggeditem', 'dashboard', 'script', 'eventrule',                                                                                                                                           'stagedchange', 'webhook', 'cachedvalue', 'bookmark', 'customfield', 'objectchange')) OR ("django_content_type"."app_label" = 'ten                                                                                                                                          ancy' AND "django_content_type"."model" IN ('contactrole', 'contactassignment', 'contact', 'contactgroup', 'tenantgroup', 'tenant')                                                                                                                                          ) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('virtualdisk', 'cluster', 'cluster                                                                                                                                          type', 'vminterface', 'clustergroup', 'virtualmachine')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."m                                                                                                                                          odel" IN ('ipsecpolicy', 'ipsecproposal', 'l2vpn', 'tunnelgroup', 'ikepolicy', 'l2vpntermination', 'tunnel', 'ikeproposal', 'tunnel                                                                                                                                          termination', 'ipsecprofile')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelessli                                                                                                                                          nk', 'wirelesslangroup', 'wirelesslan')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN (                                                                                                                                          'queue')))
postgres-1             | 2024-06-01 23:53:03.878 UTC [57] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-06-01 23:53:03.878 UTC [57] STATEMENT:  SELECT "django_content_type"."id", "django_content_type"."app                                                                                                                                          _label", "django_content_type"."model" FROM "django_content_type" WHERE (("django_content_type"."app_label" = 'auth' AND "django_co                                                                                                                                          ntent_type"."model" IN ('group', 'permission')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."m                                                                                                                                          odel" IN ('contenttype')) OR ("django_content_type"."app_label" = 'sessions' AND "django_content_type"."model" IN ('session')) OR (                                                                                                                                          "django_content_type"."app_label" = 'social_django' AND "django_content_type"."model" IN ('association', 'usersocialauth', 'nonce',                                                                                                                                           'partial', 'code')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) O                                                                                                                                          R ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('datafile', 'datasource', 'configrevision', 'ma                                                                                                                                          nagedfile', 'autosyncrecord', 'job')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('token'                                                                                                                                          , 'objectpermission', 'user', 'group', 'userconfig')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type".                                                                                                                                          "model" IN ('provideraccount', 'circuit', 'circuittype', 'circuittermination', 'providernetwork', 'provider')) OR ("django_content_                                                                                                                                          type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('poweroutlettemplate', 'virtualchassis', 'rearport', 'interfacetem                                                                                                                                          plate', 'inventoryitemrole', 'interface', 'devicebay', 'modulebaytemplate', 'region', 'devicetype', 'virtualdevicecontext', 'rearpo                                                                                                                                          rttemplate', 'powerfeed', 'consoleporttemplate', 'consoleport', 'frontporttemplate', 'cable', 'consoleserverporttemplate', 'cablepa                                                                                                                                          th', 'inventoryitemtemplate', 'moduletype', 'devicebaytemplate', 'module', 'rack', 'rackreservation', 'powerpanel', 'rackrole', 'po                                                                                                                                          werport', 'consoleserverport', 'devicerole', 'modulebay', 'sitegroup', 'powerporttemplate', 'inventoryitem', 'device', 'cabletermin                                                                                                                                          ation', 'manufacturer', 'frontport', 'location', 'poweroutlet', 'site', 'platform')) OR ("django_content_type"."app_label" = 'ipam'                                                                                                                                           AND "django_content_type"."model" IN ('prefix', 'service', 'servicetemplate', 'vlan', 'vlangroup', 'role', 'ipaddress', 'asnrange'                                                                                                                                          , 'fhrpgroupassignment', 'asn', 'aggregate', 'rir', 'fhrpgroup', 'iprange', 'vrf', 'routetarget')) OR ("django_content_type"."app_l                                                                                                                                          abel" = 'extras' AND "django_content_type"."model" IN ('savedfilter', 'tag', 'branch', 'configtemplate', 'customlink', 'customfield                                                                                                                                          choiceset', 'exporttemplate', 'imageattachment', 'journalentry', 'configcontext', 'taggeditem', 'dashboard', 'script', 'eventrule',                                                                                                                                           'stagedchange', 'webhook', 'cachedvalue', 'bookmark', 'customfield', 'objectchange')) OR ("django_content_type"."app_label" = 'ten                                                                                                                                          ancy' AND "django_content_type"."model" IN ('contactrole', 'contactassignment', 'contact', 'contactgroup', 'tenantgroup', 'tenant')                                                                                                                                          ) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('virtualdisk', 'cluster', 'cluster                                                                                                                                          type', 'vminterface', 'clustergroup', 'virtualmachine')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."m                                                                                                                                          odel" IN ('ipsecpolicy', 'ipsecproposal', 'l2vpn', 'tunnelgroup', 'ikepolicy', 'l2vpntermination', 'tunnel', 'ikeproposal', 'tunnel                                                                                                                                          termination', 'ipsecprofile')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelessli                                                                                                                                          nk', 'wirelesslangroup', 'wirelesslan')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN (                                                                                                                                          'queue')))
netbox-1               | ?? Applying database migrations
postgres-1             | 2024-06-01 23:53:09.053 UTC [58] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-06-01 23:53:09.053 UTC [58] STATEMENT:  SELECT "django_content_type"."id", "django_content_type"."app                                                                                                                                          _label", "django_content_type"."model" FROM "django_content_type" WHERE (("django_content_type"."app_label" = 'auth' AND "django_co                                                                                                                                          ntent_type"."model" IN ('permission', 'group')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."m                                                                                                                                          odel" IN ('contenttype')) OR ("django_content_type"."app_label" = 'sessions' AND "django_content_type"."model" IN ('session')) OR (                                                                                                                                          "django_content_type"."app_label" = 'social_django' AND "django_content_type"."model" IN ('association', 'partial', 'nonce', 'code'                                                                                                                                          , 'usersocialauth')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) O                                                                                                                                          R ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('autosyncrecord', 'configrevision', 'datafile',                                                                                                                                           'job', 'datasource', 'managedfile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('token'                                                                                                                                          , 'group', 'user', 'objectpermission', 'userconfig')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type".                                                                                                                                          "model" IN ('circuittype', 'provideraccount', 'circuit', 'providernetwork', 'circuittermination', 'provider')) OR ("django_content_                                                                                                                                          type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('cabletermination', 'rearport', 'consoleserverporttemplate', 'powe                                                                                                                                          rfeed', 'platform', 'region', 'virtualchassis', 'devicebay', 'interfacetemplate', 'inventoryitemrole', 'rackrole', 'consoleserverpo                                                                                                                                          rt', 'frontporttemplate', 'rearporttemplate', 'devicebaytemplate', 'devicerole', 'location', 'powerporttemplate', 'module', 'frontp                                                                                                                                          ort', 'rack', 'sitegroup', 'devicetype', 'consoleport', 'modulebay', 'moduletype', 'cable', 'manufacturer', 'powerport', 'poweroutl                                                                                                                                          ettemplate', 'rackreservation', 'device', 'interface', 'site', 'consoleporttemplate', 'cablepath', 'modulebaytemplate', 'inventoryi                                                                                                                                          tem', 'poweroutlet', 'virtualdevicecontext', 'inventoryitemtemplate', 'powerpanel')) OR ("django_content_type"."app_label" = 'ipam'                                                                                                                                           AND "django_content_type"."model" IN ('rir', 'vlan', 'prefix', 'fhrpgroup', 'vlangroup', 'servicetemplate', 'fhrpgroupassignment',                                                                                                                                           'asnrange', 'ipaddress', 'vrf', 'service', 'role', 'routetarget', 'aggregate', 'iprange', 'asn')) OR ("django_content_type"."app_l                                                                                                                                          abel" = 'extras' AND "django_content_type"."model" IN ('customfield', 'configcontext', 'taggeditem', 'configtemplate', 'savedfilter                                                                                                                                          ', 'webhook', 'branch', 'customlink', 'customfieldchoiceset', 'imageattachment', 'tag', 'journalentry', 'dashboard', 'bookmark', 's                                                                                                                                          tagedchange', 'exporttemplate', 'script', 'eventrule', 'objectchange', 'cachedvalue')) OR ("django_content_type"."app_label" = 'ten                                                                                                                                          ancy' AND "django_content_type"."model" IN ('contactrole', 'contactassignment', 'contact', 'contactgroup', 'tenant', 'tenantgroup')                                                                                                                                          ) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('virtualmachine', 'vminterface', '                                                                                                                                          cluster', 'clustertype', 'clustergroup', 'virtualdisk')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."m                                                                                                                                          odel" IN ('l2vpntermination', 'l2vpn', 'ipsecpolicy', 'ipsecproposal', 'tunnelgroup', 'ipsecprofile', 'ikepolicy', 'ikeproposal', '                                                                                                                                          tunnel', 'tunneltermination')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelessla                                                                                                                                          ngroup', 'wirelesslan', 'wirelesslink')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN (                                                                                                                                          'queue')))
postgres-1             | 2024-06-01 23:53:09.057 UTC [58] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-06-01 23:53:09.057 UTC [58] STATEMENT:  SELECT "django_content_type"."id", "django_content_type"."app                                                                                                                                          _label", "django_content_type"."model" FROM "django_content_type" WHERE (("django_content_type"."app_label" = 'auth' AND "django_co                                                                                                                                          ntent_type"."model" IN ('permission', 'group')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."m                                                                                                                                          odel" IN ('contenttype')) OR ("django_content_type"."app_label" = 'sessions' AND "django_content_type"."model" IN ('session')) OR (                                                                                                                                          "django_content_type"."app_label" = 'social_django' AND "django_content_type"."model" IN ('association', 'partial', 'nonce', 'code'                                                                                                                                          , 'usersocialauth')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) O                                                                                                                                          R ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('autosyncrecord', 'configrevision', 'datafile',                                                                                                                                           'job', 'datasource', 'managedfile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('token'                                                                                                                                          , 'group', 'user', 'objectpermission', 'userconfig')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type".                                                                                                                                          "model" IN ('circuittype', 'provideraccount', 'circuit', 'providernetwork', 'circuittermination', 'provider')) OR ("django_content_                                                                                                                                          type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('cabletermination', 'rearport', 'consoleserverporttemplate', 'powe                                                                                                                                          rfeed', 'platform', 'region', 'virtualchassis', 'devicebay', 'interfacetemplate', 'inventoryitemrole', 'rackrole', 'consoleserverpo                                                                                                                                          rt', 'frontporttemplate', 'rearporttemplate', 'devicebaytemplate', 'devicerole', 'location', 'powerporttemplate', 'module', 'frontp                                                                                                                                          ort', 'rack', 'sitegroup', 'devicetype', 'consoleport', 'modulebay', 'moduletype', 'cable', 'manufacturer', 'powerport', 'poweroutl                                                                                                                                          ettemplate', 'rackreservation', 'device', 'interface', 'site', 'consoleporttemplate', 'cablepath', 'modulebaytemplate', 'inventoryi                                                                                                                                          tem', 'poweroutlet', 'virtualdevicecontext', 'inventoryitemtemplate', 'powerpanel')) OR ("django_content_type"."app_label" = 'ipam'                                                                                                                                           AND "django_content_type"."model" IN ('rir', 'vlan', 'prefix', 'fhrpgroup', 'vlangroup', 'servicetemplate', 'fhrpgroupassignment',                                                                                                                                           'asnrange', 'ipaddress', 'vrf', 'service', 'role', 'routetarget', 'aggregate', 'iprange', 'asn')) OR ("django_content_type"."app_l                                                                                                                                          abel" = 'extras' AND "django_content_type"."model" IN ('customfield', 'configcontext', 'taggeditem', 'configtemplate', 'savedfilter                                                                                                                                          ', 'webhook', 'branch', 'customlink', 'customfieldchoiceset', 'imageattachment', 'tag', 'journalentry', 'dashboard', 'bookmark', 's                                                                                                                                          tagedchange', 'exporttemplate', 'script', 'eventrule', 'objectchange', 'cachedvalue')) OR ("django_content_type"."app_label" = 'ten                                                                                                                                          ancy' AND "django_content_type"."model" IN ('contactrole', 'contactassignment', 'contact', 'contactgroup', 'tenant', 'tenantgroup')                                                                                                                                          ) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('virtualmachine', 'vminterface', '                                                                                                                                          cluster', 'clustertype', 'clustergroup', 'virtualdisk')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."m                                                                                                                                          odel" IN ('l2vpntermination', 'l2vpn', 'ipsecpolicy', 'ipsecproposal', 'tunnelgroup', 'ipsecprofile', 'ikepolicy', 'ikeproposal', '                                                                                                                                          tunnel', 'tunneltermination')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelessla                                                                                                                                          ngroup', 'wirelesslan', 'wirelesslink')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN (                                                                                                                                          'queue')))
postgres-1             | 2024-06-01 23:53:09.466 UTC [58] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-06-01 23:53:09.466 UTC [58] STATEMENT:  SELECT "django_content_type"."id", "django_content_type"."app                                                                                                                                          _label", "django_content_type"."model" FROM "django_content_type" WHERE (("django_content_type"."app_label" = 'auth' AND "django_co                                                                                                                                          ntent_type"."model" IN ('permission', 'group')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."m                                                                                                                                          odel" IN ('contenttype')) OR ("django_content_type"."app_label" = 'sessions' AND "django_content_type"."model" IN ('session')) OR (                                                                                                                                          "django_content_type"."app_label" = 'social_django' AND "django_content_type"."model" IN ('association', 'partial', 'nonce', 'code'                                                                                                                                          , 'usersocialauth')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) O                                                                                                                                          R ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('autosyncrecord', 'configrevision', 'datafile',                                                                                                                                           'job', 'datasource', 'managedfile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('token'                                                                                                                                          , 'group', 'user', 'objectpermission', 'userconfig')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type".                                                                                                                                          "model" IN ('circuittype', 'provideraccount', 'circuit', 'providernetwork', 'circuittermination', 'provider')) OR ("django_content_                                                                                                                                          type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('cabletermination', 'rearport', 'consoleserverporttemplate', 'powe                                                                                                                                          rfeed', 'platform', 'region', 'virtualchassis', 'devicebay', 'interfacetemplate', 'inventoryitemrole', 'rackrole', 'consoleserverpo                                                                                                                                          rt', 'frontporttemplate', 'rearporttemplate', 'devicebaytemplate', 'devicerole', 'location', 'powerporttemplate', 'module', 'frontp                                                                                                                                          ort', 'rack', 'sitegroup', 'devicetype', 'consoleport', 'modulebay', 'moduletype', 'cable', 'manufacturer', 'powerport', 'poweroutl                                                                                                                                          ettemplate', 'rackreservation', 'device', 'interface', 'site', 'consoleporttemplate', 'cablepath', 'modulebaytemplate', 'inventoryi                                                                                                                                          tem', 'poweroutlet', 'virtualdevicecontext', 'inventoryitemtemplate', 'powerpanel')) OR ("django_content_type"."app_label" = 'ipam'                                                                                                                                           AND "django_content_type"."model" IN ('rir', 'vlan', 'prefix', 'fhrpgroup', 'vlangroup', 'servicetemplate', 'fhrpgroupassignment',                                                                                                                                           'asnrange', 'ipaddress', 'vrf', 'service', 'role', 'routetarget', 'aggregate', 'iprange', 'asn')) OR ("django_content_type"."app_l                                                                                                                                          abel" = 'extras' AND "django_content_type"."model" IN ('customfield', 'configcontext', 'taggeditem', 'configtemplate', 'savedfilter                                                                                                                                          ', 'webhook', 'branch', 'customlink', 'customfieldchoiceset', 'imageattachment', 'tag', 'journalentry', 'dashboard', 'bookmark', 's                                                                                                                                          tagedchange', 'exporttemplate', 'script', 'eventrule', 'objectchange', 'cachedvalue')) OR ("django_content_type"."app_label" = 'ten                                                                                                                                          ancy' AND "django_content_type"."model" IN ('contactrole', 'contactassignment', 'contact', 'contactgroup', 'tenant', 'tenantgroup')                                                                                                                                          ) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('virtualmachine', 'vminterface', '                                                                                                                                          cluster', 'clustertype', 'clustergroup', 'virtualdisk')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."m                                                                                                                                          odel" IN ('l2vpntermination', 'l2vpn', 'ipsecpolicy', 'ipsecproposal', 'tunnelgroup', 'ipsecprofile', 'ikepolicy', 'ikeproposal', '                                                                                                                                          tunnel', 'tunneltermination')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelessla                                                                                                                                          ngroup', 'wirelesslan', 'wirelesslink')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN (                                                                                                                                          'queue')))
netbox-1               | ?? loaded config '/etc/netbox/config/configuration.py'
netbox-1               | ?? loaded config '/etc/netbox/config/extra.py'
netbox-1               | ?? loaded config '/etc/netbox/config/logging.py'
netbox-1               | ?? loaded config '/etc/netbox/config/plugins.py'
netbox-1               | Operations to perform:
netbox-1               |   Apply all migrations: account, auth, circuits, contenttypes, core, dcim, django_rq, extras, ipam, sessio                                                                                                                                          ns, social_django, taggit, tenancy, users, virtualization, vpn, wireless
netbox-1               | Running migrations:
netbox-1               |   Applying contenttypes.0001_initial... OK
netbox-1               |   Applying contenttypes.0002_remove_content_type_name... OK
netbox-1               |   Applying auth.0001_initial... OK
netbox-1               |   Applying auth.0002_alter_permission_name_max_length... OK
netbox-1               |   Applying auth.0003_alter_user_email_max_length... OK
netbox-1               |   Applying auth.0004_alter_user_username_opts... OK
netbox-1               |   Applying auth.0005_alter_user_last_login_null... OK
netbox-1               |   Applying auth.0006_require_contenttypes_0002... OK
netbox-1               |   Applying auth.0007_alter_validators_add_error_messages... OK
netbox-1               |   Applying auth.0008_alter_user_username_max_length... OK
netbox-1               |   Applying auth.0009_alter_user_last_name_max_length... OK
netbox-1               |   Applying auth.0010_alter_group_name_max_length... OK
netbox-1               |   Applying auth.0011_update_proxy_permissions... OK
netbox-1               |   Applying auth.0012_alter_user_first_name_max_length... OK
netbox-1               |   Applying users.0001_squashed_0011... OK
netbox-1               |   Applying users.0002_squashed_0004... OK
netbox-1               |   Applying account.0001_initial... OK
netbox-1               |   Applying extras.0001_squashed... OK
netbox-1               |   Applying tenancy.0001_squashed_0012... OK
netbox-1               |   Applying dcim.0001_squashed... OK
netbox-1               |   Applying dcim.0002_squashed... OK
netbox-1               |   Applying ipam.0001_squashed... OK
netbox-1               |   Applying virtualization.0001_squashed_0022... OK
netbox-1               |   Applying extras.0002_squashed_0059... OK
netbox-1               |   Applying tenancy.0002_squashed_0011... OK
netbox-1               |   Applying dcim.0003_squashed_0130... OK
netbox-1               |   Applying ipam.0002_squashed_0046... OK
netbox-1               |   Applying ipam.0047_squashed_0053... OK
netbox-1               |   Applying wireless.0001_squashed_0008... OK
netbox-1               |   Applying dcim.0131_squashed_0159... OK
netbox-1               |   Applying circuits.0001_squashed... OK
netbox-1               |   Applying circuits.0002_squashed_0029... OK
netbox-1               |   Applying circuits.0003_squashed_0037... OK
netbox-1               |   Applying dcim.0160_squashed_0166... OK
netbox-1               |   Applying circuits.0038_squashed_0042... OK
netbox-1               |   Applying circuits.0043_circuittype_color... OK
netbox-1               |   Applying core.0001_squashed_0005... OK
netbox-1               |   Applying core.0006_datasource_type_remove_choices... OK
netbox-1               |   Applying core.0007_job_add_error_field... OK
netbox-1               |   Applying core.0008_contenttype_proxy... OK
netbox-1               |   Applying core.0009_configrevision... OK
netbox-1               |   Applying core.0010_gfk_indexes... OK
netbox-1               |   Applying extras.0060_squashed_0086... OK
netbox-1               |   Applying dcim.0167_squashed_0182... OK
netbox-1               |   Applying dcim.0183_devicetype_exclude_from_utilization... OK
netbox-1               |   Applying dcim.0184_protect_child_interfaces... OK
netbox-1               |   Applying dcim.0185_gfk_indexes... OK
netbox-1               |   Applying dcim.0186_location_facility... OK
netbox-1               |   Applying dcim.0187_alter_device_vc_position... OK
netbox-1               |   Applying django_rq.0001_initial... OK
netbox-1               |   Applying extras.0087_squashed_0098... OK
netbox-1               |   Applying extras.0099_cachedvalue_ordering... OK
netbox-1               |   Applying extras.0100_customfield_ui_attrs... OK
netbox-1               |   Applying extras.0101_eventrule... OK
netbox-1               |   Applying extras.0102_move_configrevision... OK
netbox-1               |   Applying extras.0103_gfk_indexes... OK
netbox-1               |   Applying extras.0104_stagedchange_remove_change_logging... OK
netbox-1               |   Applying extras.0105_customfield_min_max_values... OK
netbox-1               |   Applying extras.0106_bookmark_user_cascade_deletion... OK
netbox-1               |   Applying extras.0107_cachedvalue_extras_cachedvalue_object... OK
netbox-1               |   Applying extras.0108_convert_reports_to_scripts... OK
netbox-1               |   Applying extras.0109_script_model... OK
netbox-1               |   Applying extras.0110_remove_eventrule_action_parameters... OK
netbox-1               |   Applying extras.0111_rename_content_types... OK
netbox-1               |   Applying extras.0112_tag_update_object_types... OK
netbox-1               |   Applying extras.0113_customfield_rename_object_type... OK
netbox-1               |   Applying extras.0114_customfield_add_comments... OK
netbox-1               |   Applying extras.0115_convert_dashboard_widgets... OK
netbox-1               |   Applying ipam.0054_squashed_0067... OK
netbox-1               |   Applying ipam.0068_move_l2vpn... OK
netbox-1               |   Applying ipam.0069_gfk_indexes... OK
netbox-1               |   Applying sessions.0001_initial... OK
netbox-1               |   Applying social_django.0001_initial... OK
netbox-1               |   Applying social_django.0002_add_related_name... OK
netbox-1               |   Applying social_django.0003_alter_email_max_length... OK
netbox-1               |   Applying social_django.0004_auto_20160423_0400... OK
netbox-1               |   Applying social_django.0005_auto_20160727_2333... OK
netbox-1               |   Applying social_django.0006_partial... OK
netbox-1               |   Applying social_django.0007_code_timestamp... OK
netbox-1               |   Applying social_django.0008_partial_timestamp... OK
netbox-1               |   Applying social_django.0009_auto_20191118_0520... OK
netbox-1               |   Applying social_django.0010_uid_db_index... OK
netbox-1               |   Applying social_django.0011_alter_id_fields... OK
netbox-1               |   Applying social_django.0012_usersocialauth_extra_data_new... OK
netbox-1               |   Applying social_django.0013_migrate_extra_data... OK
netbox-1               |   Applying social_django.0014_remove_usersocialauth_extra_data... OK
netbox-1               |   Applying social_django.0015_rename_extra_data_new_usersocialauth_extra_data... OK
netbox-1               |   Applying taggit.0001_initial... OK
netbox-1               |   Applying taggit.0002_auto_20150616_2121... OK
netbox-1               |   Applying taggit.0003_taggeditem_add_unique_index... OK
netbox-1               |   Applying taggit.0004_alter_taggeditem_content_type_alter_taggeditem_tag... OK
netbox-1               |   Applying taggit.0005_auto_20220424_2025... OK
netbox-1               |   Applying taggit.0006_rename_taggeditem_content_type_object_id_taggit_tagg_content_8fc721_idx... OK
netbox-1               |   Applying tenancy.0012_contactassignment_custom_fields... OK
netbox-1               |   Applying tenancy.0013_gfk_indexes... OK
netbox-1               |   Applying tenancy.0014_contactassignment_ordering... OK
netbox-1               |   Applying tenancy.0015_contactassignment_rename_content_type... OK
netbox-1               |   Applying users.0005_alter_user_table... OK
netbox-1               |   Applying users.0006_custom_group_model... OK
netbox-1               |   Applying users.0007_objectpermission_update_object_types... OK
netbox-1               |   Applying users.0008_flip_objectpermission_assignments... OK
netbox-1               |   Applying users.0009_update_group_perms... OK
netbox-1               |   Applying virtualization.0023_squashed_0036... OK
netbox-1               |   Applying virtualization.0037_protect_child_interfaces... OK
netbox-1               |   Applying virtualization.0038_virtualdisk... OK
netbox-1               |   Applying vpn.0001_initial... OK
netbox-1               |   Applying vpn.0002_move_l2vpn... OK
netbox-1               |   Applying vpn.0003_ipaddress_multiple_tunnel_terminations... OK
netbox-1               |   Applying vpn.0004_alter_ikepolicy_mode... OK
netbox-1               |   Applying vpn.0005_rename_indexes... OK
netbox-1               | ?? Running trace_paths
netbox-1               | ?? loaded config '/etc/netbox/config/configuration.py'
netbox-1               | ?? loaded config '/etc/netbox/config/extra.py'
netbox-1               | ?? loaded config '/etc/netbox/config/logging.py'
netbox-1               | ?? loaded config '/etc/netbox/config/plugins.py'
netbox-1               | Found no missing console port paths; skipping
netbox-1               | Found no missing console server port paths; skipping
netbox-1               | Found no missing interface paths; skipping
netbox-1               | Found no missing power feed paths; skipping
netbox-1               | Found no missing power outlet paths; skipping
netbox-1               | Found no missing power port paths; skipping
netbox-1               | Finished.
netbox-1               | ?? Removing stale content types
dependency failed to start: container netbox-docker-netbox-1 is unhealthy

 

  • Netbox 사용자 계정 생성
# docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
# 3가지를 입력함
  - Username :
  - Email
  - Password (again)

?? loaded config '/etc/netbox/config/configuration.py'
?? loaded config '/etc/netbox/config/extra.py'
?? loaded config '/etc/netbox/config/logging.py'
?? loaded config '/etc/netbox/config/plugins.py'
Username: netbox
Email address: 
Password:
Password (again):
Superuser created successfully.

 

  • Docker 생성 및 상태 확인
# docker ps -a
CONTAINER ID   IMAGE                               COMMAND                  CREATED          STATUS                      PORTS                    NAMES
5b1c40b723a5   netboxcommunity/netbox:v4.0-2.9.1   "/usr/bin/tini -- /o…"   7 minutes ago    Created                                              netbox-docker-netbox-worker-1
3c6e4e62e409   netboxcommunity/netbox:v4.0-2.9.1   "/usr/bin/tini -- /o…"   7 minutes ago    Created                                              netbox-docker-netbox-housekeeping-1
34487cddea4f   netboxcommunity/netbox:v4.0-2.9.1   "/usr/bin/tini -- /o…"   7 minutes ago    Up 7 minutes (healthy)      0.0.0.0:8000->8080/tcp   netbox-docker-netbox-1
0eba0a63b9f3   postgres:16-alpine                  "docker-entrypoint.s…"   7 minutes ago    Up 7 minutes                5432/tcp                 netbox-docker-postgres-1
4a35bcc6c92a   redis:7-alpine                      "docker-entrypoint.s…"   7 minutes ago    Up 7 minutes                6379/tcp                 netbox-docker-redis-cache-1
5661a362262f   redis:7-alpine                      "docker-entrypoint.s…"   7 minutes ago    Up 7 minutes                6379/tcp                 netbox-docker-redis-1
89237a2ceae9   hello-world                         "/hello"                 44 minutes ago   Exited (0) 44 minutes ago                            vigilant_hypatia
76f943663e5c   hello-world                         "/hello"                 14 hours ago     Exited (0) 14 hours ago                              eloquent_feistel

 

Netbox 접속 
  • Docker 상태(docker ps -a) 에서 나오는 8000Port 포워딩 주소로 접속함 (192.168.56.236은 테스트 서버 ip)
  • http://192.168.56.236:8000/
  • 로그인 화면

  • Netbox 사용자 계정 생성한 계정 및 패스워드로 로그인

 

728x90
반응형
LIST

'Manage OpenSource > netbox' 카테고리의 다른 글

NETBOX 설치하기 docker(Windows 11)  (0) 2024.06.02

+ Recent posts