Upgrade 3.2.6 to 3.2.7: Could no load Unit configuration #6733

Closed
opened 2025-12-29 19:44:44 +01:00 by adam · 2 comments
Owner

Originally created by @Fyne5 on GitHub (Jul 29, 2022).

NetBox version

v3.2.7

Python version

3.10

Steps to Reproduce

netbox-docker 2.0
netbox 3.2.6

Edited docker-compose.yaml from image 3.2.6 to 3.2.7 and up: docker-compose up -d

Expected Behavior

netbox_1               | ✅ Initialisation is done.
netbox_1               | ⏳ Waiting for control socket to be created... (1/10)
netbox_1               | 2022/07/29 03:03:18 [warn] 7#7 Unit is running unprivileged, then it cannot use arbitrary user and group.
netbox_1               | 2022/07/29 03:03:18 [info] 7#7 unit 1.27.0 started
netbox_1               | 2022/07/29 03:03:18 [info] 16#16 discovery started
netbox_1               | 2022/07/29 03:03:18 [notice] 16#16 module: python 3.10.4 "/usr/lib/unit/modules/python3.10.unit.so"
netbox_1               | 2022/07/29 03:03:18 [info] 7#7 controller started
netbox_1               | 2022/07/29 03:03:18 [notice] 7#7 process 16 exited with code 0
netbox_1               | 2022/07/29 03:03:18 [info] 18#18 router started
netbox_1               | 2022/07/29 03:03:18 [info] 18#18 OpenSSL 3.0.2 15 Mar 2022, 30000020
netbox_1               | ⚙️ Applying configuration from /etc/unit/nginx-unit.json
netbox_1               | 2022/07/29 03:03:19 [info] 22#22 "netbox" prototype started
netbox_1               | 2022/07/29 03:03:19 [info] 23#23 "netbox" application started
netbox_1               | 2022/07/29 03:03:23 [alert] 18#18 pthread_create() failed (1: Operation not permitted)
netbox_1               | 2022/07/29 03:03:23 [alert] 18#18 failed to apply new conf
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               | ⚠️ Could no load Unit configuration
netbox_1               | 2022/07/29 03:03:23 [alert] 22#22 sendmsg(12, -1, -1, 1) failed (32: Broken pipe)
netbox_1               | 2022/07/29 03:03:23 [notice] 7#7 process 14 exited with code 1
netbox_1               | 2022/07/29 03:03:23 [notice] 7#7 process 17 exited with code 0
netbox_1               | 2022/07/29 03:03:23 [notice] 7#7 process 18 exited with code 0
netbox_1               | 2022/07/29 03:03:24 [notice] 22#22 app process (isolated 23) exited with code 0
netbox_1               | 2022/07/29 03:03:24 [alert] 22#22 sendmsg(13, -1, -1, 2) failed (32: Broken pipe)
netbox_1               | 2022/07/29 03:03:24 [notice] 7#7 process 22 exited with code 0

Here my log output

Observed Behavior

[alert] 22#22 sendmsg(12, -1, -1, 1) failed (32: Broken pipe)

And could not start the docker

Originally created by @Fyne5 on GitHub (Jul 29, 2022). ### NetBox version v3.2.7 ### Python version 3.10 ### Steps to Reproduce netbox-docker 2.0 netbox 3.2.6 Edited docker-compose.yaml from image 3.2.6 to 3.2.7 and up: docker-compose up -d ### Expected Behavior ``` netbox_1 | ✅ Initialisation is done. netbox_1 | ⏳ Waiting for control socket to be created... (1/10) netbox_1 | 2022/07/29 03:03:18 [warn] 7#7 Unit is running unprivileged, then it cannot use arbitrary user and group. netbox_1 | 2022/07/29 03:03:18 [info] 7#7 unit 1.27.0 started netbox_1 | 2022/07/29 03:03:18 [info] 16#16 discovery started netbox_1 | 2022/07/29 03:03:18 [notice] 16#16 module: python 3.10.4 "/usr/lib/unit/modules/python3.10.unit.so" netbox_1 | 2022/07/29 03:03:18 [info] 7#7 controller started netbox_1 | 2022/07/29 03:03:18 [notice] 7#7 process 16 exited with code 0 netbox_1 | 2022/07/29 03:03:18 [info] 18#18 router started netbox_1 | 2022/07/29 03:03:18 [info] 18#18 OpenSSL 3.0.2 15 Mar 2022, 30000020 netbox_1 | ⚙️ Applying configuration from /etc/unit/nginx-unit.json netbox_1 | 2022/07/29 03:03:19 [info] 22#22 "netbox" prototype started netbox_1 | 2022/07/29 03:03:19 [info] 23#23 "netbox" application started netbox_1 | 2022/07/29 03:03:23 [alert] 18#18 pthread_create() failed (1: Operation not permitted) netbox_1 | 2022/07/29 03:03:23 [alert] 18#18 failed to apply new conf 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 | ⚠️ Could no load Unit configuration netbox_1 | 2022/07/29 03:03:23 [alert] 22#22 sendmsg(12, -1, -1, 1) failed (32: Broken pipe) netbox_1 | 2022/07/29 03:03:23 [notice] 7#7 process 14 exited with code 1 netbox_1 | 2022/07/29 03:03:23 [notice] 7#7 process 17 exited with code 0 netbox_1 | 2022/07/29 03:03:23 [notice] 7#7 process 18 exited with code 0 netbox_1 | 2022/07/29 03:03:24 [notice] 22#22 app process (isolated 23) exited with code 0 netbox_1 | 2022/07/29 03:03:24 [alert] 22#22 sendmsg(13, -1, -1, 2) failed (32: Broken pipe) netbox_1 | 2022/07/29 03:03:24 [notice] 7#7 process 22 exited with code 0 ``` Here my log output ### Observed Behavior ``` [alert] 22#22 sendmsg(12, -1, -1, 1) failed (32: Broken pipe) ``` And could not start the docker
adam closed this issue 2025-12-29 19:44:44 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 29, 2022):

Please see the netbox-docker project for issues with the Docker container.

@jeremystretch commented on GitHub (Jul 29, 2022): Please see the [netbox-docker](https://github.com/netbox-community/netbox-docker) project for issues with the Docker container.
Author
Owner

@Fyne5 commented on GitHub (Aug 2, 2022):

Everyone cat read more here and solved: https://github.com/netbox-community/netbox-docker/issues/814

Thanks so much!

@Fyne5 commented on GitHub (Aug 2, 2022): Everyone cat read more here and solved: https://github.com/netbox-community/netbox-docker/issues/814 Thanks so much!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6733