neolink
neolink copied to clipboard
Segmentation fault with 4 x 4K B800 cameras
Version: 0.40.0 (pulled from dockerhub 26.5.2022) With 4 B800 cameras connected to neolink it crashes. Only one of the cameras is visible in Frigate. The terminal screen shows constant segmentation fault (but logs does not). The restart count for the container was previously 742 for 6 hours "uptime". Now in 2 minutes 17.
docker-compose: neolink: image: thirtythreeforty/neolink container_name: neolink ports: - 8554:8554 volumes: - /mnt/nas_container/neolink/neolink.toml:/etc/neolink.toml <-- nfs mount. restart: unless-stopped environment: RUST_LOG: debug
toml-file (renamed to txt to allow upload): neolink.txt
Container status: State Dead false Error ExitCode 139 FinishedAt 2022-05-27T18:02:31.701136061Z OOMKilled false Paused false Pid 0 Restarting true Running true StartedAt 2022-05-27
T18:02:27.139335141Z Status restarting
Logs: _neolink_logs.txt
This is probably the usual know issue with docker containers. User have reported that it works if you use a Debian based image rather than an alpine. Your welcome to try but you need to be familiar with building dockerfiles.
Thanks for the info. I have now a new, own neolink image basing on debian-slim.
Hi @Nuffe71 , can you post the debian-based Dockerfile?
- Download the latest neolink debian version from here
- Extract the files to a folder
- Get the entrypoint.sh from this same repo and place it in the same folder as the app
- Create the Dockerfile (again, use the same folder from step 2)
FROM debian:stable-slim
WORKDIR /usr/local/src/neolink
USER root
RUN apt update -y && apt upgrade -y
RUN apt install -y \
libgstrtspserver-1.0-0 \
libgstreamer1.0-0 \
libgstreamer-plugins-bad1.0-0 \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad
RUN apt clean && apt autoremove -y
COPY neolink /usr/local/bin/
RUN chmod +x /usr/local/bin/neolink
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/usr/local/bin/neolink", "rtsp", "--config", "/etc/neolink.toml"]
ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 8554
-
docker build . --tag yourownneolink