netbox-community / netbox-docker

🐳 Docker Image of NetBox
https://github.com/netbox-community/netbox-docker/wiki
Apache License 2.0
1.79k stars 820 forks source link

./build.sh master fails (2nd attempt) #261

Closed daxm closed 4 years ago

daxm commented 4 years ago

I'm not sure I'm doing what you asked but here is my best attempt! :-)

Current Behavior

I just performed a fresh docker-compse up -d and then after accessing the frontend website once I thought I should test the "build" feature before continuing.

daxm@dockerman:~/testing_containers/netbox-docker$ ./build.sh master
▢️ ./build.sh master
🌐 Checking out 'master' of netbox from the url 'https://github.com/netbox-community/netbox.git' into '.netbox'
βœ… Checked out netbox
🏭 Building the following targets: main ldap
πŸ— Building the target 'main'
🐳 Building the Docker image 'docker.io/netboxcommunity/netbox:latest'.
[+] Building 0.7s (5/23)                                                                                            
 => [internal] load .dockerignore                                                                              0.0s
 => => transferring context: 174B                                                                              0.0s
 => [internal] load build definition from Dockerfile                                                           0.0s
 => => transferring dockerfile: 4.28kB                                                                         0.0s
 => ERROR [internal] load metadata for docker.io/library/python:3.7-alpine                                     0.5s
 => [internal] load build context                                                                              0.0s
 => ERROR [builder 1/6] FROM docker.io/library/python:3.7-alpine                                               0.1s
 => => resolve docker.io/library/python:3.7-alpine                                                             0.1s
------
 > [internal] load metadata for docker.io/library/python:3.7-alpine:
------
------
 > [builder 1/6] FROM docker.io/library/python:3.7-alpine:
------
failed to solve with frontend dockerfile.v0: failed to build LLB: failed to load cache key: rpc error: code = Unknown desc = error getting credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY`
daxm@dockerman:~/testing_containers/netbox-docker$ 

I'm running this on a headless virtual machine on my server:

daxm@dockerman:~/testing_containers/netbox-docker$ uname -a
Linux dockerman 4.15.0-91-generic #92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Expected Behavior

./build.sh master to not crash.

Debug Information

The output of docker-compose version:

docker-compose version 1.17.1, build unknown
docker-py version: 2.5.1
CPython version: 2.7.17
OpenSSL version: OpenSSL 1.1.1  11 Sep 2018

The output of docker version:

Client:
 Version:           19.03.6
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        369ce74a3c
 Built:             Fri Feb 28 23:45:43 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          19.03.6
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       369ce74a3c
  Built:            Wed Feb 19 01:06:16 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.3.3-0ubuntu1~18.04.1
  GitCommit:        
 runc:
  Version:          spec: 1.0.1-dev
  GitCommit:        
 docker-init:
  Version:          0.18.0
  GitCommit:        

The output of git rev-parse HEAD: 80f514fa90997bc7b132ea06b84056c6720f37d0 The command you used to start the project: ./build.sh master

The output of docker inspect netboxcommunity/netbox:latest --format "{{json .Config.Labels}}":

{"NETBOX_GIT_BRANCH":"HEAD","NETBOX_GIT_REF":"e66d065b6de59a09e35c96634e8718e4ef866c95","NETBOX_GIT_URL":"https://github.com/netbox-community/netbox.git","ORIGINAL_TAG":"docker.io/netboxcommunity/netbox:latest","org.label-schema.build-date":"2020-03-24T05:58+00:00","org.label-schema.description":"A container based distribution of Netbox, the free and open IPAM and DCIM solution.","org.label-schema.name":"Netbox Docker","org.label-schema.schema-version":"1.0","org.label-schema.url":"https://github.com/netbox-community/netbox-docker","org.label-schema.usage":"https://github.com/netbox-community/netbox-docker/wiki","org.label-schema.vcs-ref":"80f514fa90997bc7b132ea06b84056c6720f37d0","org.label-schema.vcs-url":"https://github.com/netbox-community/netbox-docker.git","org.label-schema.vendor":"The netbox-docker contributors.","org.label-schema.version":"0.22.0","org.opencontainers.image.authors":"The netbox-docker contributors.","org.opencontainers.image.created":"2020-03-24T05:58+00:00","org.opencontainers.image.description":"A container based distribution of Netbox, the free and open IPAM and DCIM solution.","org.opencontainers.image.documentation":"https://github.com/netbox-community/netbox-docker/wiki","org.opencontainers.image.licenses":"Apache-2.0","org.opencontainers.image.revision":"80f514fa90997bc7b132ea06b84056c6720f37d0","org.opencontainers.image.source":"https://github.com/netbox-community/netbox-docker.git","org.opencontainers.image.title":"Netbox Docker","org.opencontainers.image.url":"https://github.com/netbox-community/netbox-docker","org.opencontainers.image.vendor":"The netbox-docker contributors.","org.opencontainers.image.version":"0.22.0"}

The output of docker-compose logs netbox:

Attaching to netboxdocker_netbox_1
netbox_1         | Operations to perform:
netbox_1         |   Apply all migrations: admin, auth, circuits, contenttypes, dcim, extras, ipam, secrets, sessions, taggit, tenancy, users, virtualization
netbox_1         | Running migrations:
netbox_1         |   Applying contenttypes.0001_initial... OK
netbox_1         |   Applying auth.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 contenttypes.0002_remove_content_type_name... 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 taggit.0001_initial... OK
netbox_1         |   Applying taggit.0002_auto_20150616_2121... OK
netbox_1         |   Applying tenancy.0001_initial_squashed_0005_change_logging... OK
netbox_1         |   Applying dcim.0001_initial... OK
netbox_1         |   Applying ipam.0001_initial... OK
netbox_1         |   Applying dcim.0002_auto_20160622_1821... OK
netbox_1         |   Applying extras.0001_initial_squashed_0013_objectchange... OK
netbox_1         |   Applying ipam.0002_vrf_add_enforce_unique... OK
netbox_1         |   Applying dcim.0003_auto_20160628_1721_squashed_0010_devicebay_installed_device_set_null... OK
netbox_1         |   Applying ipam.0003_ipam_add_vlangroups_squashed_0011_rir_add_is_private... OK
netbox_1         |   Applying dcim.0011_devicetype_part_number_squashed_0022_color_names_to_rgb... OK
netbox_1         |   Applying ipam.0012_services_squashed_0018_remove_service_uniqueness_constraint... OK
netbox_1         |   Applying dcim.0023_devicetype_comments_squashed_0043_device_component_name_lengths... OK
netbox_1         |   Applying virtualization.0001_virtualization... OK
netbox_1         |   Applying ipam.0019_virtualization_squashed_0020_ipaddress_add_role_carp... OK
netbox_1         |   Applying dcim.0044_virtualization_squashed_0061_platform_napalm_args... OK
netbox_1         |   Applying extras.0014_configcontexts_squashed_0019_tag_taggeditem... OK
netbox_1         |   Applying dcim.0062_interface_mtu_squashed_0065_front_rear_ports... OK
netbox_1         |   Applying circuits.0001_initial_squashed_0006_terminations... OK
netbox_1         |   Applying dcim.0066_cables...
netbox_1         |     Adding console connections... 0 cables created
netbox_1         |     Adding power connections... 0 cables created
netbox_1         |     Adding interface connections... 0 cables created
netbox_1         |  OK
netbox_1         |   Applying circuits.0007_circuit_add_description_squashed_0017_circuittype_description...
netbox_1         |     Adding circuit terminations... 0 cables created
netbox_1         |  OK
netbox_1         |   Applying tenancy.0006_custom_tag_models... OK
netbox_1         |   Applying virtualization.0002_virtualmachine_add_status_squashed_0009_custom_tag_models... OK
netbox_1         |   Applying secrets.0001_initial_squashed_0006_custom_tag_models... OK
netbox_1         |   Applying ipam.0021_vrf_ordering_squashed_0025_custom_tag_models... OK
netbox_1         |   Applying dcim.0067_device_type_remove_qualifiers_squashed_0070_custom_tag_models... OK
netbox_1         |   Applying extras.0020_tag_data_squashed_0021_add_color_comments_changelog_to_tag... OK
netbox_1         |   Applying dcim.0071_device_components_add_description... OK
netbox_1         |   Applying dcim.0072_powerfeeds... OK
netbox_1         |   Applying dcim.0073_interface_form_factor_to_type... OK
netbox_1         |   Applying dcim.0074_increase_field_length_platform_name_slug... OK
netbox_1         |   Applying dcim.0075_cable_devices...
netbox_1         | Updating cable device terminations...
netbox_1         |  OK
netbox_1         |   Applying dcim.0076_console_port_types... OK
netbox_1         |   Applying dcim.0077_power_types... OK
netbox_1         |   Applying dcim.0078_3569_site_fields... OK
netbox_1         |   Applying dcim.0079_3569_rack_fields... OK
netbox_1         |   Applying dcim.0080_3569_devicetype_fields... OK
netbox_1         |   Applying dcim.0081_3569_device_fields... OK
netbox_1         |   Applying dcim.0082_3569_interface_fields... OK
netbox_1         |   Applying dcim.0082_3569_port_fields... OK
netbox_1         |   Applying dcim.0083_3569_cable_fields... OK
netbox_1         |   Applying dcim.0084_3569_powerfeed_fields... OK
netbox_1         |   Applying dcim.0085_3569_poweroutlet_fields... OK
netbox_1         |   Applying dcim.0086_device_name_nonunique... OK
netbox_1         |   Applying dcim.0087_role_descriptions... OK
netbox_1         |   Applying dcim.0088_powerfeed_available_power... OK
netbox_1         |   Applying dcim.0089_deterministic_ordering... OK
netbox_1         |   Applying dcim.0090_cable_termination_models... OK
netbox_1         |   Applying dcim.0091_interface_type_other... OK
netbox_1         |   Applying dcim.0092_fix_rack_outer_unit... OK
netbox_1         |   Applying dcim.0093_device_component_ordering... OK
netbox_1         |   Applying dcim.0094_device_component_template_ordering... OK
netbox_1         |   Applying dcim.0095_primary_model_ordering... OK
netbox_1         |   Applying dcim.0096_interface_ordering... OK
netbox_1         |   Applying dcim.0097_interfacetemplate_type_other... OK
netbox_1         |   Applying dcim.0098_devicetype_images... OK
netbox_1         |   Applying dcim.0099_powerfeed_negative_voltage... OK
netbox_1         |   Applying virtualization.0010_cluster_add_tenant_squashed_0012_vm_name_nonunique... OK
netbox_1         |   Applying virtualization.0013_deterministic_ordering... OK
netbox_1         |   Applying extras.0022_custom_links_squashed_0034_configcontext_tags... OK
netbox_1         |   Applying extras.0035_deterministic_ordering... OK
netbox_1         |   Applying extras.0036_contenttype_filters_to_q_objects... OK
netbox_1         |   Applying extras.0037_configcontexts_clusters... OK
netbox_1         |   Applying extras.0038_webhook_template_support... OK
netbox_1         |   Applying ipam.0026_prefix_ordering_vrf_nulls_first_squashed_0032_role_description... OK
netbox_1         |   Applying ipam.0033_deterministic_ordering... OK
netbox_1         |   Applying ipam.0034_fix_ipaddress_status_dhcp... OK
netbox_1         |   Applying secrets.0007_secretrole_description... OK
netbox_1         |   Applying sessions.0001_initial... OK
netbox_1         |   Applying taggit.0003_taggeditem_add_unique_index... OK
netbox_1         |   Applying users.0001_api_tokens_squashed_0003_token_permissions... OK
netbox_1         | /usr/local/lib/python3.7/site-packages/cacheops/redis.py:21: RuntimeWarning: The cacheops cache is unreachable! Error: invalid password
netbox_1         |   warnings.warn("The cacheops cache is unreachable! Error: %s" % e, RuntimeWarning)
netbox_1         | πŸ’‘ Superuser Username: admin, E-Mail: admin@example.com
netbox_1         | Running /opt/netbox/startup_scripts/000_users.py
netbox_1         | Running /opt/netbox/startup_scripts/010_groups.py
netbox_1         | Running /opt/netbox/startup_scripts/020_custom_fields.py
netbox_1         | Running /opt/netbox/startup_scripts/030_regions.py
netbox_1         | Running /opt/netbox/startup_scripts/040_sites.py
netbox_1         | Running /opt/netbox/startup_scripts/050_manufacturers.py
netbox_1         | Running /opt/netbox/startup_scripts/060_device_types.py
netbox_1         | Running /opt/netbox/startup_scripts/070_rack_roles.py
netbox_1         | Running /opt/netbox/startup_scripts/075_rack_groups.py
netbox_1         | Running /opt/netbox/startup_scripts/080_racks.py
netbox_1         | Running /opt/netbox/startup_scripts/090_device_roles.py
netbox_1         | Running /opt/netbox/startup_scripts/100_platforms.py
netbox_1         | Running /opt/netbox/startup_scripts/110_tenant_groups.py
netbox_1         | Running /opt/netbox/startup_scripts/120_tenants.py
netbox_1         | Running /opt/netbox/startup_scripts/130_devices.py
netbox_1         | Running /opt/netbox/startup_scripts/140_cluster_types.py
netbox_1         | Running /opt/netbox/startup_scripts/150_rirs.py
netbox_1         | Running /opt/netbox/startup_scripts/160_aggregates.py
netbox_1         | Running /opt/netbox/startup_scripts/170_clusters.py
netbox_1         | Running /opt/netbox/startup_scripts/180_vrfs.py
netbox_1         | Running /opt/netbox/startup_scripts/190_prefix_vlan_roles.py
netbox_1         | Running /opt/netbox/startup_scripts/200_vlan_groups.py
netbox_1         | Running /opt/netbox/startup_scripts/210_vlans.py
netbox_1         | Running /opt/netbox/startup_scripts/220_prefixes.py
netbox_1         | Running /opt/netbox/startup_scripts/230_virtual_machines.py
netbox_1         | Running /opt/netbox/startup_scripts/240_virtualization_interfaces.py
netbox_1         | Running /opt/netbox/startup_scripts/250_dcim_interfaces.py
netbox_1         | Running /opt/netbox/startup_scripts/260_ip_addresses.py
netbox_1         | 
netbox_1         | 980 static files copied to '/opt/netbox/netbox/static'.
netbox_1         | βœ… Initialisation is done.
netbox_1         | [2020-03-24 13:58:04 +0000] [1] [DEBUG] Current configuration:
netbox_1         |   config: /etc/netbox/config/gunicorn_config.py
netbox_1         |   bind: ['0.0.0.0:8001']
netbox_1         |   backlog: 2048
netbox_1         |   workers: 3
netbox_1         |   worker_class: sync
netbox_1         |   threads: 1
netbox_1         |   worker_connections: 1000
netbox_1         |   max_requests: 0
netbox_1         |   max_requests_jitter: 0
netbox_1         |   timeout: 30
netbox_1         |   graceful_timeout: 30
netbox_1         |   keepalive: 2
netbox_1         |   limit_request_line: 4094
netbox_1         |   limit_request_fields: 100
netbox_1         |   limit_request_field_size: 8190
netbox_1         |   reload: False
netbox_1         |   reload_engine: auto
netbox_1         |   reload_extra_files: []
netbox_1         |   spew: False
netbox_1         |   check_config: False
netbox_1         |   preload_app: False
netbox_1         |   sendfile: None
netbox_1         |   reuse_port: False
netbox_1         |   chdir: /opt/netbox/netbox
netbox_1         |   daemon: False
netbox_1         |   raw_env: []
netbox_1         |   pidfile: None
netbox_1         |   worker_tmp_dir: None
netbox_1         |   user: 101
netbox_1         |   group: 0
netbox_1         |   umask: 0
netbox_1         |   initgroups: False
netbox_1         |   tmp_upload_dir: None
netbox_1         |   secure_scheme_headers: {'X-FORWARDED-PROTOCOL': 'ssl', 'X-FORWARDED-PROTO': 'https', 'X-FORWARDED-SSL': 'on'}
netbox_1         |   forwarded_allow_ips: ['127.0.0.1']
netbox_1         |   accesslog: -
netbox_1         |   disable_redirect_access_to_syslog: False
netbox_1         |   access_log_format: %(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"
netbox_1         |   errorlog: -
netbox_1         |   loglevel: debug
netbox_1         |   capture_output: False
netbox_1         |   logger_class: gunicorn.glogging.Logger
netbox_1         |   logconfig: None
netbox_1         |   logconfig_dict: {}
netbox_1         |   syslog_addr: udp://localhost:514
netbox_1         |   syslog: False
netbox_1         |   syslog_prefix: None
netbox_1         |   syslog_facility: user
netbox_1         |   enable_stdio_inheritance: False
netbox_1         |   statsd_host: None
netbox_1         |   dogstatsd_tags: 
netbox_1         |   statsd_prefix: 
netbox_1         |   proc_name: None
netbox_1         |   default_proc_name: netbox.wsgi
netbox_1         |   pythonpath: /opt/netbox/netbox
netbox_1         |   paste: None
netbox_1         |   on_starting: <function OnStarting.on_starting at 0x7f7e3b8427a0>
netbox_1         |   on_reload: <function OnReload.on_reload at 0x7f7e3b8428c0>
netbox_1         |   when_ready: <function WhenReady.when_ready at 0x7f7e3b8429e0>
netbox_1         |   pre_fork: <function Prefork.pre_fork at 0x7f7e3b842b00>
netbox_1         |   post_fork: <function Postfork.post_fork at 0x7f7e3b842c20>
netbox_1         |   post_worker_init: <function PostWorkerInit.post_worker_init at 0x7f7e3b842d40>
netbox_1         |   worker_int: <function WorkerInt.worker_int at 0x7f7e3b842e60>
netbox_1         |   worker_abort: <function WorkerAbort.worker_abort at 0x7f7e3b842f80>
netbox_1         |   pre_exec: <function PreExec.pre_exec at 0x7f7e3b8520e0>
netbox_1         |   pre_request: <function PreRequest.pre_request at 0x7f7e3b852200>
netbox_1         |   post_request: <function PostRequest.post_request at 0x7f7e3b852290>
netbox_1         |   child_exit: <function ChildExit.child_exit at 0x7f7e3b8523b0>
netbox_1         |   worker_exit: <function WorkerExit.worker_exit at 0x7f7e3b8524d0>
netbox_1         |   nworkers_changed: <function NumWorkersChanged.nworkers_changed at 0x7f7e3b8525f0>
netbox_1         |   on_exit: <function OnExit.on_exit at 0x7f7e3b852710>
netbox_1         |   proxy_protocol: False
netbox_1         |   proxy_allow_ips: ['127.0.0.1']
netbox_1         |   keyfile: None
netbox_1         |   certfile: None
netbox_1         |   ssl_version: 2
netbox_1         |   cert_reqs: 0
netbox_1         |   ca_certs: None
netbox_1         |   suppress_ragged_eofs: True
netbox_1         |   do_handshake_on_connect: False
netbox_1         |   ciphers: None
netbox_1         |   raw_paste_global_conf: []
netbox_1         |   strip_header_spaces: False
netbox_1         | [2020-03-24 13:58:04 +0000] [1] [INFO] Starting gunicorn 20.0.4
netbox_1         | [2020-03-24 13:58:04 +0000] [1] [DEBUG] Arbiter booted
netbox_1         | [2020-03-24 13:58:04 +0000] [1] [INFO] Listening at: http://0.0.0.0:8001 (1)
netbox_1         | [2020-03-24 13:58:04 +0000] [1] [INFO] Using worker: sync
netbox_1         | [2020-03-24 13:58:04 +0000] [24] [INFO] Booting worker with pid: 24
netbox_1         | [2020-03-24 13:58:04 +0000] [25] [INFO] Booting worker with pid: 25
netbox_1         | [2020-03-24 13:58:04 +0000] [26] [INFO] Booting worker with pid: 26
netbox_1         | [2020-03-24 13:58:04 +0000] [1] [DEBUG] 3 workers
netbox_1         | [2020-03-24 13:58:20 +0000] [26] [DEBUG] GET /
netbox_1         | 172.23.0.7 - - [24/Mar/2020:13:58:21 +0000] "GET / HTTP/1.0" 200 31233 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36"
netbox_1         | /usr/local/lib/python3.7/site-packages/cacheops/redis.py:21: RuntimeWarning: The cacheops cache is unreachable! Error: invalid password
netbox_1         |   warnings.warn("The cacheops cache is unreachable! Error: %s" % e, RuntimeWarning)
netbox_1         | [2020-03-24 14:04:29 +0000] [26] [DEBUG] GET /
netbox_1         | 172.23.0.7 - - [24/Mar/2020:14:04:29 +0000] "GET / HTTP/1.0" 200 31233 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36"
netbox_1         | [2020-03-24 14:04:31 +0000] [26] [DEBUG] GET /login/
netbox_1         | 172.23.0.7 - - [24/Mar/2020:14:04:31 +0000] "GET /login/?next=/ HTTP/1.0" 200 21345 "http://192.168.12.42:32768/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36"
netbox_1         | [2020-03-24 14:04:34 +0000] [26] [DEBUG] POST /login/
netbox_1         | 172.23.0.7 - - [24/Mar/2020:14:04:34 +0000] "POST /login/ HTTP/1.0" 302 0 "http://192.168.12.42:32768/login/?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36"
netbox_1         | [2020-03-24 14:04:34 +0000] [26] [DEBUG] GET /
netbox_1         | 172.23.0.7 - - [24/Mar/2020:14:04:34 +0000] "GET / HTTP/1.0" 200 48333 "http://192.168.12.42:32768/login/?next=/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36"
netbox_1         | [2020-03-24 14:13:51 +0000] [25] [DEBUG] GET /dcim/sites/import/
netbox_1         | 172.23.0.7 - - [24/Mar/2020:14:13:52 +0000] "GET /dcim/sites/import/ HTTP/1.0" 200 43469 "http://192.168.12.42:32768/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36"
netbox_1         | /usr/local/lib/python3.7/site-packages/cacheops/redis.py:21: RuntimeWarning: The cacheops cache is unreachable! Error: invalid password
netbox_1         |   warnings.warn("The cacheops cache is unreachable! Error: %s" % e, RuntimeWarning)
netbox_1         | [2020-03-24 14:14:02 +0000] [25] [DEBUG] GET /dcim/sites/
netbox_1         | 172.23.0.7 - - [24/Mar/2020:14:14:02 +0000] "GET /dcim/sites/ HTTP/1.0" 200 43447 "http://192.168.12.42:32768/dcim/sites/import/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36"

The output of docker-compose logs nginx:

Attaching to netboxdocker_nginx_1
nginx_1          | 2020/03/24 13:57:14 [notice] 1#1: using the "epoll" event method
nginx_1          | 2020/03/24 13:57:14 [notice] 1#1: nginx/1.17.9
nginx_1          | 2020/03/24 13:57:14 [notice] 1#1: built by gcc 8.3.0 (Alpine 8.3.0) 
nginx_1          | 2020/03/24 13:57:14 [notice] 1#1: OS: Linux 4.15.0-91-generic
nginx_1          | 2020/03/24 13:57:14 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nginx_1          | 2020/03/24 13:57:14 [notice] 1#1: start worker processes
nginx_1          | 2020/03/24 13:57:14 [notice] 1#1: start worker process 8
cimnine commented 4 years ago

Thank you for your report.

What happens if you run docker pull docker.io/library/python:3.7-alpine?

If that works, could you also try running DOCKER_BUILDKIT=0 ./build.sh master and post the output?

daxm commented 4 years ago

Just ran this now (20200330):

daxm@dockerman:~/testing_containers/netbox-docker$ docker pull docker.io/library/python:3.7-alpine
3.7-alpine: Pulling from library/python
aad63a933944: Already exists 
f229563217f5: Already exists 
71ded8122394: Already exists 
807d0888ee2e: Already exists 
95206a02ba21: Already exists 
Digest: sha256:4a704ebee45695fa91125301e43eee08a85fc984d05cc75650cc66fad7826c56
Status: Downloaded newer image for python:3.7-alpine
docker.io/library/python:3.7-alpine
cimnine commented 4 years ago

Could you please also try the second command I asked you to run:

DOCKER_BUILDKIT=0 ./build.sh master
daxm commented 4 years ago

Doh! I didn’t see that. Will do so soon.

It is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring. β€” Carl Sagan

On Apr 4, 2020, at 13:27, Christian MΓ€der notifications@github.com wrote:

ο»Ώ Could you please also try the second command I asked you to run:

DOCKER_BUILDKIT=0 ./build.sh master β€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

cimnine commented 4 years ago

No answer. Closing this issue.