netbox-community / netbox-docker

🐳 Docker Image of NetBox

Home Page:https://github.com/netbox-community/netbox-docker/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Postgres-Error on first boot

RobinDev03 opened this issue Β· comments

Current Behavior

During first Start, I get this error multiple times in the console.

postgres-1             | 2024-02-13 23:49:23.645 UTC [57] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-02-13 23:49:23.645 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" = 'admin' AND "django_content_type"."model" IN ('logentry')) OR ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" IN ('group', 'user', 'permission')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."model" 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 ('code', 'association', 'nonce', 'partial', 'usersocialauth')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('tag', 'taggeditem')) OR ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('datasource', 'job', 'configrevision', 'autosyncrecord', 'datafile', 'managedfile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('token', 'objectpermission', 'userconfig')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type"."model" IN ('providernetwork', 'provider', 'provideraccount', 'circuit', 'circuittermination', 'circuittype')) OR ("django_content_type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('devicerole', 'cabletermination', 'consoleporttemplate', 'devicebaytemplate', 'poweroutlet', 'cablepath', 'powerfeed', 'powerporttemplate', 'consoleserverport', 'inventoryitemrole', 'rackrole', 'rack', 'sitegroup', 'consoleserverporttemplate', 'device', 'module', 'manufacturer', 'interfacetemplate', 'moduletype', 'rackreservation', 'region', 'location', 'inventoryitem', 'rearport', 'inventoryitemtemplate', 'powerport', 'virtualchassis', 'site', 'cable', 'devicebay', 'frontporttemplate', 'consoleport', 'rearporttemplate', 'powerpanel', 'modulebay', 'interface', 'platform', 'poweroutlettemplate', 'devicetype', 'virtualdevicecontext', 'modulebaytemplate', 'frontport')) OR ("django_content_type"."app_label" = 'ipam' AND "django_content_type"."model" IN ('servicetemplate', 'fhrpgroupassignment', 'aggregate', 'asnrange', 'fhrpgroup', 'routetarget', 'service', 'vlan', 'ipaddress', 'prefix', 'role', 'iprange', 'vlangroup', 'vrf', 'asn', 'rir')) OR ("django_content_type"."app_label" = 'extras' AND "django_content_type"."model" IN ('imageattachment', 'bookmark', 'branch', 'customfieldchoiceset', 'script', 'exporttemplate', 'report', 'savedfilter', 'configcontext', 'stagedchange', 'dashboard', 'customfield', 'journalentry', 'tag', 'taggeditem', 'eventrule', 'objectchange', 'customlink', 'webhook', 'configtemplate', 'cachedvalue')) OR ("django_content_type"."app_label" = 'tenancy' AND "django_content_type"."model" IN ('tenant', 'tenantgroup', 'contactrole', 'contactgroup', 'contact', 'contactassignment')) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('clustergroup', 'vminterface', 'virtualdisk', 'cluster', 'virtualmachine', 'clustertype')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."model" IN ('ipsecpolicy', 'tunnelgroup', 'ikeproposal', 'l2vpn', 'ipsecprofile', 'ipsecproposal', 'l2vpntermination', 'ikepolicy', 'tunneltermination', 'tunnel')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelesslink', 'wirelesslangroup', 'wirelesslan')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN ('queue')))

Expected Behavior

normal initialization

Docker Compose Version

v1.25.0

Docker Version

Client:
 Version:           20.10.5+dfsg1
 API version:       1.41
 Go version:        go1.15.15
 Git commit:        55c4c88
 Built:             Mon May 30 18:34:49 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.5+dfsg1
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.15.15
  Git commit:       363e9a8
  Built:            Mon May 30 18:34:49 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.13~ds1
  GitCommit:        1.4.13~ds1-1~deb11u4
 runc:
  Version:          1.0.0~rc93+ds1
  GitCommit:        1.0.0~rc93+ds1-5+deb11u3
 docker-init:
  Version:          0.19.0
  GitCommit:

The git Revision

f1ca9ab

The git Status

On branch release
Your branch is up to date with 'origin/release'.

nothing to commit, working tree clean

Startup Command

docker compose up

NetBox Logs

root@idocker01 ~/netbox-docker # docker compose up
[+] Running 13/13
 βœ” Network netbox-docker_default                   Created                                                                                                                                                                                                      0.1s 
 βœ” 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 
 βœ” 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 
 βœ” Container netbox-docker-postgres-1              Created                                                                                                                                                                                                      0.1s 
 βœ” Container netbox-docker-redis-1                 Created                                                                                                                                                                                                      0.1s 
 βœ” Container netbox-docker-redis-cache-1           Created                                                                                                                                                                                                      0.1s 
 βœ” Container netbox-docker-netbox-1                Created                                                                                                                                                                                                      0.1s 
 βœ” Container netbox-docker-netbox-worker-1         Created                                                                                                                                                                                                      0.1s 
 βœ” Container netbox-docker-netbox-housekeeping-1   Created                                                                                                                                                                                                      0.1s 
Attaching to netbox-1, netbox-housekeeping-1, netbox-worker-1, postgres-1, redis-1, redis-cache-1
redis-1                | 1:C 13 Feb 2024 23:48:55.307 # 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 https://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 13 Feb 2024 23:48:55.307 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis-1                | 1:C 13 Feb 2024 23:48:55.307 * Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=1, just started
redis-1                | 1:C 13 Feb 2024 23:48:55.307 * Configuration loaded
redis-1                | 1:M 13 Feb 2024 23:48:55.308 * monotonic clock: POSIX clock_gettime
redis-1                | 1:M 13 Feb 2024 23:48:55.310 * Running mode=standalone, port=6379.
redis-1                | 1:M 13 Feb 2024 23:48:55.310 * Server initialized
redis-1                | 1:M 13 Feb 2024 23:48:55.315 * Creating AOF base file appendonly.aof.1.base.rdb on server start
redis-1                | 1:M 13 Feb 2024 23:48:55.319 * Creating AOF incr file appendonly.aof.1.incr.aof on server start
redis-1                | 1:M 13 Feb 2024 23:48:55.319 * Ready to accept connections tcp
redis-cache-1          | 1:C 13 Feb 2024 23:48:55.426 # 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 https://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 13 Feb 2024 23:48:55.427 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis-cache-1          | 1:C 13 Feb 2024 23:48:55.427 * Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=1, just started
redis-cache-1          | 1:C 13 Feb 2024 23:48:55.427 * Configuration loaded
redis-cache-1          | 1:M 13 Feb 2024 23:48:55.429 * monotonic clock: POSIX clock_gettime
redis-cache-1          | 1:M 13 Feb 2024 23:48:55.430 * Running mode=standalone, port=6379.
redis-cache-1          | 1:M 13 Feb 2024 23:48:55.431 * Server initialized
redis-cache-1          | 1:M 13 Feb 2024 23:48:55.432 * 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-02-13 23:48:56.840 UTC [29] 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 --auth-host, the next time you run initdb.
postgres-1             | waiting for server to start....2024-02-13 23:48:58.334 UTC [35] LOG:  starting PostgreSQL 16.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
postgres-1             | 2024-02-13 23:48:58.342 UTC [35] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1             | 2024-02-13 23:48:58.349 UTC [38] LOG:  database system was shut down at 2024-02-13 23:48:57 UTC
postgres-1             | 2024-02-13 23:48:58.365 UTC [35] 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-02-13 23:48:58.651 UTC [35] LOG:  received fast shutdown request
postgres-1             | .2024-02-13 23:48:58.654 UTC [35] LOG:  aborting any active transactions
postgres-1             | 2024-02-13 23:48:58.662 UTC [35] LOG:  background worker "logical replication launcher" (PID 41) exited with exit code 1
postgres-1             | 2024-02-13 23:48:58.666 UTC [36] LOG:  shutting down
postgres-1             | 2024-02-13 23:48:58.669 UTC [36] LOG:  checkpoint starting: shutdown immediate
postgres-1             | 2024-02-13 23:48:58.771 UTC [36] LOG:  checkpoint complete: wrote 925 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.049 s, sync=0.047 s, total=0.105 s; sync files=301, longest=0.020 s, average=0.001 s; distance=4269 kB, estimate=4269 kB; lsn=0/191BA28, redo lsn=0/191BA28
postgres-1             | 2024-02-13 23:48:58.786 UTC [35] 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-02-13 23:48:58.939 UTC [1] LOG:  starting PostgreSQL 16.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
postgres-1             | 2024-02-13 23:48:58.941 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
postgres-1             | 2024-02-13 23:48:58.941 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres-1             | 2024-02-13 23:48:58.945 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1             | 2024-02-13 23:48:58.952 UTC [51] LOG:  database system was shut down at 2024-02-13 23:48:58 UTC
postgres-1             | 2024-02-13 23:48:58.973 UTC [1] LOG:  database system is ready to accept connections
postgres-1             | 2024-02-13 23:49:03.021 UTC [55] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-02-13 23:49:03.021 UTC [55] 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" = 'admin' AND "django_content_type"."model" IN ('logentry')) OR ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" IN ('permission', 'user', 'group')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."model" 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 ('nonce', 'association', 'code', 'partial', 'usersocialauth')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) OR ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('autosyncrecord', 'configrevision', 'datasource', 'job', 'datafile', 'managedfile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('objectpermission', 'userconfig', 'token')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type"."model" IN ('circuittermination', 'provideraccount', 'providernetwork', 'provider', 'circuittype', 'circuit')) OR ("django_content_type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('consoleserverport', 'modulebay', 'cablepath', 'consoleporttemplate', 'manufacturer', 'devicetype', 'module', 'poweroutlet', 'virtualchassis', 'devicerole', 'region', 'rack', 'powerporttemplate', 'device', 'devicebaytemplate', 'devicebay', 'virtualdevicecontext', 'consoleserverporttemplate', 'frontporttemplate', 'powerpanel', 'rearporttemplate', 'cable', 'inventoryitem', 'interface', 'platform', 'site', 'moduletype', 'powerfeed', 'rackrole', 'rackreservation', 'powerport', 'consoleport', 'poweroutlettemplate', 'inventoryitemrole', 'inventoryitemtemplate', 'cabletermination', 'location', 'interfacetemplate', 'frontport', 'rearport', 'sitegroup', 'modulebaytemplate')) OR ("django_content_type"."app_label" = 'ipam' AND "django_content_type"."model" IN ('ipaddress', 'fhrpgroupassignment', 'routetarget', 'rir', 'aggregate', 'prefix', 'service', 'vlangroup', 'vlan', 'role', 'servicetemplate', 'fhrpgroup', 'asn', 'vrf', 'iprange', 'asnrange')) OR ("django_content_type"."app_label" = 'extras' AND "django_content_type"."model" IN ('configcontext', 'exporttemplate', 'customfield', 'objectchange', 'eventrule', 'imageattachment', 'script', 'journalentry', 'configtemplate', 'branch', 'cachedvalue', 'taggeditem', 'savedfilter', 'bookmark', 'tag', 'report', 'stagedchange', 'customfieldchoiceset', 'dashboard', 'webhook', 'customlink')) OR ("django_content_type"."app_label" = 'tenancy' AND "django_content_type"."model" IN ('tenant', 'contactrole', 'tenantgroup', 'contactgroup', 'contactassignment', 'contact')) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('cluster', 'virtualdisk', 'virtualmachine', 'clustertype', 'vminterface', 'clustergroup')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."model" IN ('ikepolicy', 'ikeproposal', 'ipsecpolicy', 'ipsecprofile', 'ipsecproposal', 'l2vpntermination', 'tunnelgroup', 'tunnel', 'tunneltermination', 'l2vpn')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelesslink', 'wirelesslangroup', 'wirelesslan')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN ('queue')))
postgres-1             | 2024-02-13 23:49:03.032 UTC [55] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-02-13 23:49:03.032 UTC [55] 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" = 'admin' AND "django_content_type"."model" IN ('logentry')) OR ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" IN ('permission', 'user', 'group')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."model" 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 ('nonce', 'association', 'code', 'partial', 'usersocialauth')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) OR ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('autosyncrecord', 'configrevision', 'datasource', 'job', 'datafile', 'managedfile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('objectpermission', 'userconfig', 'token')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type"."model" IN ('circuittermination', 'provideraccount', 'providernetwork', 'provider', 'circuittype', 'circuit')) OR ("django_content_type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('consoleserverport', 'modulebay', 'cablepath', 'consoleporttemplate', 'manufacturer', 'devicetype', 'module', 'poweroutlet', 'virtualchassis', 'devicerole', 'region', 'rack', 'powerporttemplate', 'device', 'devicebaytemplate', 'devicebay', 'virtualdevicecontext', 'consoleserverporttemplate', 'frontporttemplate', 'powerpanel', 'rearporttemplate', 'cable', 'inventoryitem', 'interface', 'platform', 'site', 'moduletype', 'powerfeed', 'rackrole', 'rackreservation', 'powerport', 'consoleport', 'poweroutlettemplate', 'inventoryitemrole', 'inventoryitemtemplate', 'cabletermination', 'location', 'interfacetemplate', 'frontport', 'rearport', 'sitegroup', 'modulebaytemplate')) OR ("django_content_type"."app_label" = 'ipam' AND "django_content_type"."model" IN ('ipaddress', 'fhrpgroupassignment', 'routetarget', 'rir', 'aggregate', 'prefix', 'service', 'vlangroup', 'vlan', 'role', 'servicetemplate', 'fhrpgroup', 'asn', 'vrf', 'iprange', 'asnrange')) OR ("django_content_type"."app_label" = 'extras' AND "django_content_type"."model" IN ('configcontext', 'exporttemplate', 'customfield', 'objectchange', 'eventrule', 'imageattachment', 'script', 'journalentry', 'configtemplate', 'branch', 'cachedvalue', 'taggeditem', 'savedfilter', 'bookmark', 'tag', 'report', 'stagedchange', 'customfieldchoiceset', 'dashboard', 'webhook', 'customlink')) OR ("django_content_type"."app_label" = 'tenancy' AND "django_content_type"."model" IN ('tenant', 'contactrole', 'tenantgroup', 'contactgroup', 'contactassignment', 'contact')) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('cluster', 'virtualdisk', 'virtualmachine', 'clustertype', 'vminterface', 'clustergroup')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."model" IN ('ikepolicy', 'ikeproposal', 'ipsecpolicy', 'ipsecprofile', 'ipsecproposal', 'l2vpntermination', 'tunnelgroup', 'tunnel', 'tunneltermination', 'l2vpn')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelesslink', 'wirelesslangroup', 'wirelesslan')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN ('queue')))
postgres-1             | 2024-02-13 23:49:04.210 UTC [55] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-02-13 23:49:04.210 UTC [55] 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" = 'admin' AND "django_content_type"."model" IN ('logentry')) OR ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" IN ('permission', 'user', 'group')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."model" 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 ('nonce', 'association', 'code', 'partial', 'usersocialauth')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) OR ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('autosyncrecord', 'configrevision', 'datasource', 'job', 'datafile', 'managedfile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('objectpermission', 'userconfig', 'token')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type"."model" IN ('circuittermination', 'provideraccount', 'providernetwork', 'provider', 'circuittype', 'circuit')) OR ("django_content_type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('consoleserverport', 'modulebay', 'cablepath', 'consoleporttemplate', 'manufacturer', 'devicetype', 'module', 'poweroutlet', 'virtualchassis', 'devicerole', 'region', 'rack', 'powerporttemplate', 'device', 'devicebaytemplate', 'devicebay', 'virtualdevicecontext', 'consoleserverporttemplate', 'frontporttemplate', 'powerpanel', 'rearporttemplate', 'cable', 'inventoryitem', 'interface', 'platform', 'site', 'moduletype', 'powerfeed', 'rackrole', 'rackreservation', 'powerport', 'consoleport', 'poweroutlettemplate', 'inventoryitemrole', 'inventoryitemtemplate', 'cabletermination', 'location', 'interfacetemplate', 'frontport', 'rearport', 'sitegroup', 'modulebaytemplate')) OR ("django_content_type"."app_label" = 'ipam' AND "django_content_type"."model" IN ('ipaddress', 'fhrpgroupassignment', 'routetarget', 'rir', 'aggregate', 'prefix', 'service', 'vlangroup', 'vlan', 'role', 'servicetemplate', 'fhrpgroup', 'asn', 'vrf', 'iprange', 'asnrange')) OR ("django_content_type"."app_label" = 'extras' AND "django_content_type"."model" IN ('configcontext', 'exporttemplate', 'customfield', 'objectchange', 'eventrule', 'imageattachment', 'script', 'journalentry', 'configtemplate', 'branch', 'cachedvalue', 'taggeditem', 'savedfilter', 'bookmark', 'tag', 'report', 'stagedchange', 'customfieldchoiceset', 'dashboard', 'webhook', 'customlink')) OR ("django_content_type"."app_label" = 'tenancy' AND "django_content_type"."model" IN ('tenant', 'contactrole', 'tenantgroup', 'contactgroup', 'contactassignment', 'contact')) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('cluster', 'virtualdisk', 'virtualmachine', 'clustertype', 'vminterface', 'clustergroup')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."model" IN ('ikepolicy', 'ikeproposal', 'ipsecpolicy', 'ipsecprofile', 'ipsecproposal', 'l2vpntermination', 'tunnelgroup', 'tunnel', 'tunneltermination', 'l2vpn')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelesslink', 'wirelesslangroup', 'wirelesslan')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN ('queue')))
postgres-1             | 2024-02-13 23:49:12.624 UTC [56] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-02-13 23:49:12.624 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" = 'admin' AND "django_content_type"."model" IN ('logentry')) OR ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" IN ('group', 'user', 'permission')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."model" 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 ('code', 'partial', 'nonce', 'usersocialauth', 'association')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) OR ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('datasource', 'autosyncrecord', 'configrevision', 'datafile', 'job', 'managedfile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('userconfig', 'objectpermission', 'token')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type"."model" IN ('circuittermination', 'circuit', 'providernetwork', 'provider', 'provideraccount', 'circuittype')) OR ("django_content_type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('modulebay', 'rearport', 'module', 'poweroutlet', 'powerfeed', 'platform', 'location', 'consoleserverport', 'cablepath', 'cable', 'interface', 'rack', 'rackrole', 'frontport', 'virtualchassis', 'devicebay', 'consoleporttemplate', 'interfacetemplate', 'moduletype', 'cabletermination', 'virtualdevicecontext', 'rackreservation', 'consoleport', 'powerport', 'region', 'modulebaytemplate', 'devicerole', 'site', 'powerpanel', 'sitegroup', 'poweroutlettemplate', 'devicebaytemplate', 'devicetype', 'rearporttemplate', 'device', 'inventoryitemrole', 'inventoryitem', 'frontporttemplate', 'inventoryitemtemplate', 'powerporttemplate', 'manufacturer', 'consoleserverporttemplate')) OR ("django_content_type"."app_label" = 'ipam' AND "django_content_type"."model" IN ('role', 'asnrange', 'routetarget', 'service', 'vlan', 'fhrpgroupassignment', 'fhrpgroup', 'asn', 'rir', 'iprange', 'prefix', 'ipaddress', 'vrf', 'servicetemplate', 'aggregate', 'vlangroup')) OR ("django_content_type"."app_label" = 'extras' AND "django_content_type"."model" IN ('savedfilter', 'cachedvalue', 'taggeditem', 'configtemplate', 'imageattachment', 'bookmark', 'customfieldchoiceset', 'journalentry', 'report', 'script', 'customfield', 'tag', 'webhook', 'customlink', 'dashboard', 'configcontext', 'exporttemplate', 'eventrule', 'objectchange', 'stagedchange', 'branch')) OR ("django_content_type"."app_label" = 'tenancy' AND "django_content_type"."model" IN ('contactrole', 'tenant', 'contact', 'contactassignment', 'contactgroup', 'tenantgroup')) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('virtualmachine', 'vminterface', 'clustertype', 'clustergroup', 'virtualdisk', 'cluster')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."model" IN ('ipsecproposal', 'tunnelgroup', 'ikepolicy', 'l2vpn', 'l2vpntermination', 'tunnel', 'tunneltermination', 'ikeproposal', 'ipsecpolicy', 'ipsecprofile')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelesslink', 'wirelesslan', 'wirelesslangroup')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN ('queue')))
postgres-1             | 2024-02-13 23:49:12.633 UTC [56] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-02-13 23:49:12.633 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" = 'admin' AND "django_content_type"."model" IN ('logentry')) OR ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" IN ('group', 'user', 'permission')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."model" 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 ('code', 'partial', 'nonce', 'usersocialauth', 'association')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) OR ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('datasource', 'autosyncrecord', 'configrevision', 'datafile', 'job', 'managedfile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('userconfig', 'objectpermission', 'token')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type"."model" IN ('circuittermination', 'circuit', 'providernetwork', 'provider', 'provideraccount', 'circuittype')) OR ("django_content_type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('modulebay', 'rearport', 'module', 'poweroutlet', 'powerfeed', 'platform', 'location', 'consoleserverport', 'cablepath', 'cable', 'interface', 'rack', 'rackrole', 'frontport', 'virtualchassis', 'devicebay', 'consoleporttemplate', 'interfacetemplate', 'moduletype', 'cabletermination', 'virtualdevicecontext', 'rackreservation', 'consoleport', 'powerport', 'region', 'modulebaytemplate', 'devicerole', 'site', 'powerpanel', 'sitegroup', 'poweroutlettemplate', 'devicebaytemplate', 'devicetype', 'rearporttemplate', 'device', 'inventoryitemrole', 'inventoryitem', 'frontporttemplate', 'inventoryitemtemplate', 'powerporttemplate', 'manufacturer', 'consoleserverporttemplate')) OR ("django_content_type"."app_label" = 'ipam' AND "django_content_type"."model" IN ('role', 'asnrange', 'routetarget', 'service', 'vlan', 'fhrpgroupassignment', 'fhrpgroup', 'asn', 'rir', 'iprange', 'prefix', 'ipaddress', 'vrf', 'servicetemplate', 'aggregate', 'vlangroup')) OR ("django_content_type"."app_label" = 'extras' AND "django_content_type"."model" IN ('savedfilter', 'cachedvalue', 'taggeditem', 'configtemplate', 'imageattachment', 'bookmark', 'customfieldchoiceset', 'journalentry', 'report', 'script', 'customfield', 'tag', 'webhook', 'customlink', 'dashboard', 'configcontext', 'exporttemplate', 'eventrule', 'objectchange', 'stagedchange', 'branch')) OR ("django_content_type"."app_label" = 'tenancy' AND "django_content_type"."model" IN ('contactrole', 'tenant', 'contact', 'contactassignment', 'contactgroup', 'tenantgroup')) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('virtualmachine', 'vminterface', 'clustertype', 'clustergroup', 'virtualdisk', 'cluster')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."model" IN ('ipsecproposal', 'tunnelgroup', 'ikepolicy', 'l2vpn', 'l2vpntermination', 'tunnel', 'tunneltermination', 'ikeproposal', 'ipsecpolicy', 'ipsecprofile')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelesslink', 'wirelesslan', 'wirelesslangroup')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN ('queue')))
postgres-1             | 2024-02-13 23:49:13.795 UTC [56] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-02-13 23:49:13.795 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" = 'admin' AND "django_content_type"."model" IN ('logentry')) OR ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" IN ('group', 'user', 'permission')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."model" 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 ('code', 'partial', 'nonce', 'usersocialauth', 'association')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('taggeditem', 'tag')) OR ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('datasource', 'autosyncrecord', 'configrevision', 'datafile', 'job', 'managedfile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('userconfig', 'objectpermission', 'token')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type"."model" IN ('circuittermination', 'circuit', 'providernetwork', 'provider', 'provideraccount', 'circuittype')) OR ("django_content_type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('modulebay', 'rearport', 'module', 'poweroutlet', 'powerfeed', 'platform', 'location', 'consoleserverport', 'cablepath', 'cable', 'interface', 'rack', 'rackrole', 'frontport', 'virtualchassis', 'devicebay', 'consoleporttemplate', 'interfacetemplate', 'moduletype', 'cabletermination', 'virtualdevicecontext', 'rackreservation', 'consoleport', 'powerport', 'region', 'modulebaytemplate', 'devicerole', 'site', 'powerpanel', 'sitegroup', 'poweroutlettemplate', 'devicebaytemplate', 'devicetype', 'rearporttemplate', 'device', 'inventoryitemrole', 'inventoryitem', 'frontporttemplate', 'inventoryitemtemplate', 'powerporttemplate', 'manufacturer', 'consoleserverporttemplate')) OR ("django_content_type"."app_label" = 'ipam' AND "django_content_type"."model" IN ('role', 'asnrange', 'routetarget', 'service', 'vlan', 'fhrpgroupassignment', 'fhrpgroup', 'asn', 'rir', 'iprange', 'prefix', 'ipaddress', 'vrf', 'servicetemplate', 'aggregate', 'vlangroup')) OR ("django_content_type"."app_label" = 'extras' AND "django_content_type"."model" IN ('savedfilter', 'cachedvalue', 'taggeditem', 'configtemplate', 'imageattachment', 'bookmark', 'customfieldchoiceset', 'journalentry', 'report', 'script', 'customfield', 'tag', 'webhook', 'customlink', 'dashboard', 'configcontext', 'exporttemplate', 'eventrule', 'objectchange', 'stagedchange', 'branch')) OR ("django_content_type"."app_label" = 'tenancy' AND "django_content_type"."model" IN ('contactrole', 'tenant', 'contact', 'contactassignment', 'contactgroup', 'tenantgroup')) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('virtualmachine', 'vminterface', 'clustertype', 'clustergroup', 'virtualdisk', 'cluster')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."model" IN ('ipsecproposal', 'tunnelgroup', 'ikepolicy', 'l2vpn', 'l2vpntermination', 'tunnel', 'tunneltermination', 'ikeproposal', 'ipsecpolicy', 'ipsecprofile')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelesslink', 'wirelesslan', 'wirelesslangroup')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN ('queue')))
netbox-1               | βš™οΈ Applying database migrations
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'
postgres-1             | 2024-02-13 23:49:22.402 UTC [57] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-02-13 23:49:22.402 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" = 'admin' AND "django_content_type"."model" IN ('logentry')) OR ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" IN ('group', 'user', 'permission')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."model" 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 ('code', 'association', 'nonce', 'partial', 'usersocialauth')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('tag', 'taggeditem')) OR ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('datasource', 'job', 'configrevision', 'autosyncrecord', 'datafile', 'managedfile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('token', 'objectpermission', 'userconfig')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type"."model" IN ('providernetwork', 'provider', 'provideraccount', 'circuit', 'circuittermination', 'circuittype')) OR ("django_content_type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('devicerole', 'cabletermination', 'consoleporttemplate', 'devicebaytemplate', 'poweroutlet', 'cablepath', 'powerfeed', 'powerporttemplate', 'consoleserverport', 'inventoryitemrole', 'rackrole', 'rack', 'sitegroup', 'consoleserverporttemplate', 'device', 'module', 'manufacturer', 'interfacetemplate', 'moduletype', 'rackreservation', 'region', 'location', 'inventoryitem', 'rearport', 'inventoryitemtemplate', 'powerport', 'virtualchassis', 'site', 'cable', 'devicebay', 'frontporttemplate', 'consoleport', 'rearporttemplate', 'powerpanel', 'modulebay', 'interface', 'platform', 'poweroutlettemplate', 'devicetype', 'virtualdevicecontext', 'modulebaytemplate', 'frontport')) OR ("django_content_type"."app_label" = 'ipam' AND "django_content_type"."model" IN ('servicetemplate', 'fhrpgroupassignment', 'aggregate', 'asnrange', 'fhrpgroup', 'routetarget', 'service', 'vlan', 'ipaddress', 'prefix', 'role', 'iprange', 'vlangroup', 'vrf', 'asn', 'rir')) OR ("django_content_type"."app_label" = 'extras' AND "django_content_type"."model" IN ('imageattachment', 'bookmark', 'branch', 'customfieldchoiceset', 'script', 'exporttemplate', 'report', 'savedfilter', 'configcontext', 'stagedchange', 'dashboard', 'customfield', 'journalentry', 'tag', 'taggeditem', 'eventrule', 'objectchange', 'customlink', 'webhook', 'configtemplate', 'cachedvalue')) OR ("django_content_type"."app_label" = 'tenancy' AND "django_content_type"."model" IN ('tenant', 'tenantgroup', 'contactrole', 'contactgroup', 'contact', 'contactassignment')) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('clustergroup', 'vminterface', 'virtualdisk', 'cluster', 'virtualmachine', 'clustertype')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."model" IN ('ipsecpolicy', 'tunnelgroup', 'ikeproposal', 'l2vpn', 'ipsecprofile', 'ipsecproposal', 'l2vpntermination', 'ikepolicy', 'tunneltermination', 'tunnel')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelesslink', 'wirelesslangroup', 'wirelesslan')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN ('queue')))
postgres-1             | 2024-02-13 23:49:22.412 UTC [57] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-02-13 23:49:22.412 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" = 'admin' AND "django_content_type"."model" IN ('logentry')) OR ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" IN ('group', 'user', 'permission')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."model" 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 ('code', 'association', 'nonce', 'partial', 'usersocialauth')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('tag', 'taggeditem')) OR ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('datasource', 'job', 'configrevision', 'autosyncrecord', 'datafile', 'managedfile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('token', 'objectpermission', 'userconfig')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type"."model" IN ('providernetwork', 'provider', 'provideraccount', 'circuit', 'circuittermination', 'circuittype')) OR ("django_content_type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('devicerole', 'cabletermination', 'consoleporttemplate', 'devicebaytemplate', 'poweroutlet', 'cablepath', 'powerfeed', 'powerporttemplate', 'consoleserverport', 'inventoryitemrole', 'rackrole', 'rack', 'sitegroup', 'consoleserverporttemplate', 'device', 'module', 'manufacturer', 'interfacetemplate', 'moduletype', 'rackreservation', 'region', 'location', 'inventoryitem', 'rearport', 'inventoryitemtemplate', 'powerport', 'virtualchassis', 'site', 'cable', 'devicebay', 'frontporttemplate', 'consoleport', 'rearporttemplate', 'powerpanel', 'modulebay', 'interface', 'platform', 'poweroutlettemplate', 'devicetype', 'virtualdevicecontext', 'modulebaytemplate', 'frontport')) OR ("django_content_type"."app_label" = 'ipam' AND "django_content_type"."model" IN ('servicetemplate', 'fhrpgroupassignment', 'aggregate', 'asnrange', 'fhrpgroup', 'routetarget', 'service', 'vlan', 'ipaddress', 'prefix', 'role', 'iprange', 'vlangroup', 'vrf', 'asn', 'rir')) OR ("django_content_type"."app_label" = 'extras' AND "django_content_type"."model" IN ('imageattachment', 'bookmark', 'branch', 'customfieldchoiceset', 'script', 'exporttemplate', 'report', 'savedfilter', 'configcontext', 'stagedchange', 'dashboard', 'customfield', 'journalentry', 'tag', 'taggeditem', 'eventrule', 'objectchange', 'customlink', 'webhook', 'configtemplate', 'cachedvalue')) OR ("django_content_type"."app_label" = 'tenancy' AND "django_content_type"."model" IN ('tenant', 'tenantgroup', 'contactrole', 'contactgroup', 'contact', 'contactassignment')) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('clustergroup', 'vminterface', 'virtualdisk', 'cluster', 'virtualmachine', 'clustertype')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."model" IN ('ipsecpolicy', 'tunnelgroup', 'ikeproposal', 'l2vpn', 'ipsecprofile', 'ipsecproposal', 'l2vpntermination', 'ikepolicy', 'tunneltermination', 'tunnel')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelesslink', 'wirelesslangroup', 'wirelesslan')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN ('queue')))
postgres-1             | 2024-02-13 23:49:23.645 UTC [57] ERROR:  relation "django_content_type" does not exist at character 106
postgres-1             | 2024-02-13 23:49:23.645 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" = 'admin' AND "django_content_type"."model" IN ('logentry')) OR ("django_content_type"."app_label" = 'auth' AND "django_content_type"."model" IN ('group', 'user', 'permission')) OR ("django_content_type"."app_label" = 'contenttypes' AND "django_content_type"."model" 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 ('code', 'association', 'nonce', 'partial', 'usersocialauth')) OR ("django_content_type"."app_label" = 'taggit' AND "django_content_type"."model" IN ('tag', 'taggeditem')) OR ("django_content_type"."app_label" = 'core' AND "django_content_type"."model" IN ('datasource', 'job', 'configrevision', 'autosyncrecord', 'datafile', 'managedfile')) OR ("django_content_type"."app_label" = 'users' AND "django_content_type"."model" IN ('token', 'objectpermission', 'userconfig')) OR ("django_content_type"."app_label" = 'circuits' AND "django_content_type"."model" IN ('providernetwork', 'provider', 'provideraccount', 'circuit', 'circuittermination', 'circuittype')) OR ("django_content_type"."app_label" = 'dcim' AND "django_content_type"."model" IN ('devicerole', 'cabletermination', 'consoleporttemplate', 'devicebaytemplate', 'poweroutlet', 'cablepath', 'powerfeed', 'powerporttemplate', 'consoleserverport', 'inventoryitemrole', 'rackrole', 'rack', 'sitegroup', 'consoleserverporttemplate', 'device', 'module', 'manufacturer', 'interfacetemplate', 'moduletype', 'rackreservation', 'region', 'location', 'inventoryitem', 'rearport', 'inventoryitemtemplate', 'powerport', 'virtualchassis', 'site', 'cable', 'devicebay', 'frontporttemplate', 'consoleport', 'rearporttemplate', 'powerpanel', 'modulebay', 'interface', 'platform', 'poweroutlettemplate', 'devicetype', 'virtualdevicecontext', 'modulebaytemplate', 'frontport')) OR ("django_content_type"."app_label" = 'ipam' AND "django_content_type"."model" IN ('servicetemplate', 'fhrpgroupassignment', 'aggregate', 'asnrange', 'fhrpgroup', 'routetarget', 'service', 'vlan', 'ipaddress', 'prefix', 'role', 'iprange', 'vlangroup', 'vrf', 'asn', 'rir')) OR ("django_content_type"."app_label" = 'extras' AND "django_content_type"."model" IN ('imageattachment', 'bookmark', 'branch', 'customfieldchoiceset', 'script', 'exporttemplate', 'report', 'savedfilter', 'configcontext', 'stagedchange', 'dashboard', 'customfield', 'journalentry', 'tag', 'taggeditem', 'eventrule', 'objectchange', 'customlink', 'webhook', 'configtemplate', 'cachedvalue')) OR ("django_content_type"."app_label" = 'tenancy' AND "django_content_type"."model" IN ('tenant', 'tenantgroup', 'contactrole', 'contactgroup', 'contact', 'contactassignment')) OR ("django_content_type"."app_label" = 'virtualization' AND "django_content_type"."model" IN ('clustergroup', 'vminterface', 'virtualdisk', 'cluster', 'virtualmachine', 'clustertype')) OR ("django_content_type"."app_label" = 'vpn' AND "django_content_type"."model" IN ('ipsecpolicy', 'tunnelgroup', 'ikeproposal', 'l2vpn', 'ipsecprofile', 'ipsecproposal', 'l2vpntermination', 'ikepolicy', 'tunneltermination', 'tunnel')) OR ("django_content_type"."app_label" = 'wireless' AND "django_content_type"."model" IN ('wirelesslink', 'wirelesslangroup', 'wirelesslan')) OR ("django_content_type"."app_label" = 'django_rq' AND "django_content_type"."model" IN ('queue')))
netbox-1               | Operations to perform:
netbox-1               |   Apply all migrations: account, admin, auth, circuits, contenttypes, core, dcim, django_rq, extras, ipam, sessions, 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 extras.0001_squashed... OK
netbox-1               |   Applying tenancy.0001_squashed_0012... OK
netbox-1               |   Applying tenancy.0002_tenant_ordering... 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 extras.0060_customlink_button_class... OK
netbox-1               |   Applying extras.0061_extras_change_logging... OK
netbox-1               |   Applying extras.0062_clear_secrets_changelog... OK
netbox-1               |   Applying tenancy.0003_contacts... OK
netbox-1               |   Applying tenancy.0004_extend_tag_support... OK
netbox-1               |   Applying dcim.0003_squashed_0130... OK
netbox-1               |   Applying ipam.0002_squashed_0046... OK
netbox-1               |   Applying ipam.0047_prefix_depth_children... OK
netbox-1               |   Applying ipam.0048_prefix_populate_depth_children...
netbox-1               | Updating 0 prefixes...
netbox-1               |  OK
netbox-1               |   Applying ipam.0049_prefix_mark_utilized... OK
netbox-1               |   Applying ipam.0050_iprange... OK
netbox-1               |   Applying ipam.0051_extend_tag_support... OK
netbox-1               |   Applying extras.0063_webhook_conditions... OK
netbox-1               |   Applying extras.0064_configrevision... OK
netbox-1               |   Applying ipam.0052_fhrpgroup... OK
netbox-1               |   Applying ipam.0053_asn_model... OK
netbox-1               |   Applying dcim.0131_consoleport_speed... OK
netbox-1               |   Applying dcim.0132_cable_length... OK
netbox-1               |   Applying dcim.0133_port_colors... OK
netbox-1               |   Applying dcim.0134_interface_wwn_bridge... OK
netbox-1               |   Applying dcim.0135_tenancy_extensions... OK
netbox-1               |   Applying dcim.0136_device_airflow... OK
netbox-1               |   Applying dcim.0137_relax_uniqueness_constraints... OK
netbox-1               |   Applying dcim.0138_extend_tag_support... OK
netbox-1               |   Applying dcim.0139_rename_cable_peer... OK
netbox-1               |   Applying wireless.0001_wireless... OK
netbox-1               |   Applying dcim.0140_wireless... OK
netbox-1               |   Applying dcim.0141_asn_model... OK
netbox-1               |   Applying dcim.0142_rename_128gfc_qsfp28... OK
netbox-1               |   Applying dcim.0143_remove_primary_for_related_name... OK
netbox-1               |   Applying dcim.0144_fix_cable_abs_length... OK
netbox-1               |   Applying dcim.0145_site_remove_deprecated_fields... OK
netbox-1               |   Applying users.0002_standardize_id_fields... OK
netbox-1               |   Applying users.0003_token_allowed_ips_last_used... OK
netbox-1               |   Applying users.0004_netboxgroup_netboxuser... OK
netbox-1               |   Applying account.0001_initial... OK
netbox-1               |   Applying admin.0001_initial... OK
netbox-1               |   Applying admin.0002_logentry_remove_auto_add... OK
netbox-1               |   Applying admin.0003_logentry_add_action_flag_choices... OK
netbox-1               |   Applying wireless.0002_standardize_id_fields... OK
netbox-1               |   Applying wireless.0003_created_datetimefield... OK
netbox-1               |   Applying tenancy.0005_standardize_id_fields... OK
netbox-1               |   Applying tenancy.0006_created_datetimefield... OK
netbox-1               |   Applying tenancy.0007_contact_link... OK
netbox-1               |   Applying wireless.0004_wireless_tenancy... OK
netbox-1               |   Applying ipam.0054_vlangroup_min_max_vids... OK
netbox-1               |   Applying virtualization.0023_virtualmachine_natural_ordering... OK
netbox-1               |   Applying virtualization.0024_cluster_relax_uniqueness... OK
netbox-1               |   Applying virtualization.0025_extend_tag_support... OK
netbox-1               |   Applying virtualization.0026_vminterface_bridge... OK
netbox-1               |   Applying extras.0065_imageattachment_change_logging... OK
netbox-1               |   Applying extras.0066_customfield_name_validation... OK
netbox-1               |   Applying extras.0067_customfield_min_max_values... OK
netbox-1               |   Applying extras.0068_configcontext_cluster_types... OK
netbox-1               |   Applying dcim.0146_modules... OK
netbox-1               |   Applying dcim.0147_inventoryitemrole... OK
netbox-1               |   Applying dcim.0148_inventoryitem_component... OK
netbox-1               |   Applying dcim.0149_inventoryitem_templates... OK
netbox-1               |   Applying dcim.0150_interface_vrf... OK
netbox-1               |   Applying dcim.0151_interface_speed_duplex... OK
Gracefully stopping... (press Ctrl+C again to force)
dependency failed to start: container netbox-docker-netbox-1 is unhealthy

Content of docker-compose.override.yml

version: '3.4'
services:
  netbox:
    ports:
      - 8000:8080

The Postgres errors are shown because some of the tables don't exists at this time. This is normal.
As to the message with "... is unhealthy": Applying all the migrations takes too long on your database for the health checks. Please read the explanation in our example file: docker-compose.override.yml.example.