You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This link here got me started on this project but it was published 2023. Today, i have been trying to replicate this architecture manually (via web UI) to start as i had no knowledge about AWS or terraform so i figured i should first start here.
I have all this set up at the moment. and have created an image via Github Actions that is pushed to the ECR. ECS cluster is set up and i can start a service to run the netbox task. the task gets to the "Running" status but then fails health checks done by the ALB which then stops the task. I have ECS Exec enabled and can connected to the container. Here i have found that
cat /proc/net/tcp
outputs that verify that postgres and redis have an established connection
reveals that there is nothing listening on 8080. (results in failed health checks) << not understanding why nothing is listening.
these are the processes in question. It seems that these are stuck in these processes. Netbox migration never finishes.
There are no logs other than failed health checks and logs about migration starting. No error logs outside of:
Task Failed ELB health checks in ()
Exit code: 143.
So my conclusion is that the task is stoppping at migration/initialization.
Any Ideas??
Dockerfile
ARG NETBOX_TAG=v4.3-3.3.0
FROM --platform=linux/arm64 netboxcommunity/netbox:${NETBOX_TAG}
Logs
January 29, 2026, 18:46 | 🧬 loaded config '/etc/netbox/config/configuration.py' | netbox
-- | -- | --
January 29, 2026, 18:46 | 🧬 loaded config '/etc/netbox/config/extra.py' | netbox
January 29, 2026, 18:46 | 🧬 loaded config '/etc/netbox/config/logging.py' | netbox
January 29, 2026, 18:46 | 🧬 loaded config '/etc/netbox/config/plugins.py' | netbox
January 29, 2026, 18:46 | Operations to perform: | netbox
January 29, 2026, 18:46 | Apply all migrations: account, auth, circuits, contenttypes, core, dcim, django_rq, extras, ipam, sessions, social_django, taggit, tenancy, users, virtualization, vpn, wireless | netbox
January 29, 2026, 18:46 | Running migrations: | netbox
January 29, 2026, 18:46 | ⚙️ Applying database migrations | netbox
January 29, 2026, 18:46 | [WARN tini (7)] Tini is not running as PID 1 and isn't registered as a child subreaper. | netbox
January 29, 2026, 18:46 | Zombie processes will not be re-parented to Tini, so zombie reaping won't work. | netbox
January 29, 2026, 18:46 | To fix the problem, use the -s option or set the environment variable TINI_SUBREAPER to register Tini as a child subreaper, or run Tini as PID 1. | netbox
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://www.gooddata.com/blog/netbox-deployment-to-aws-in-one-click/
This link here got me started on this project but it was published 2023. Today, i have been trying to replicate this architecture manually (via web UI) to start as i had no knowledge about AWS or terraform so i figured i should first start here.
Amazon services:
VPC
ECS Fargate
RDS
ElastiCache
SecretsManager
ALB
I have all this set up at the moment. and have created an image via Github Actions that is pushed to the ECR. ECS cluster is set up and i can start a service to run the netbox task. the task gets to the "Running" status but then fails health checks done by the ALB which then stops the task. I have ECS Exec enabled and can connected to the container. Here i have found that
cat /proc/net/tcp
outputs that verify that postgres and redis have an established connection
reveals that there is nothing listening on 8080. (results in failed health checks) << not understanding why nothing is listening.
ps aux
/dev/init -- /usr/bin/tini -- /opt/netbox/docker-entrypoint.sh /opt/netbox/launch-netbox.sh
/bin/bash /opt/netbox/docker-entrypoint.sh /opt/netbox/launch-netbox.sh
/usr/bin/tini -- /opt/netbox/docker-entrypoint.sh /opt/netbox/launch-netbox.sh
python3 ./manage.py migrate --no-input
these are the processes in question. It seems that these are stuck in these processes. Netbox migration never finishes.
There are no logs other than failed health checks and logs about migration starting. No error logs outside of:
Task Failed ELB health checks in ()
Exit code: 143.
So my conclusion is that the task is stoppping at migration/initialization.
Any Ideas??
Dockerfile
Logs
Beta Was this translation helpful? Give feedback.
All reactions