Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Version 4.1.0 does not run on my system, 4.0.9 does

Đang mở
#493 13 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
docker, docker-compose
Lĩnh vực
devops, infrastructure

Hướng nghiên cứu

Bắt đầu với cấu hình Docker Compose trong issue và so sánh các image nodered/node-red:4.0.9-debian và 4.1.0-debian. Kiểm tra trạng thái Docker PS và log của container unhealthy, bao gồm cả thông tin chi tiết về health-check, sau đó xác minh xem cùng cấu hình đó có hoạt động với từng image hay không. Hoàn tất có nghĩa là xác định được nguyên nhân ở cấp độ image có thể tái hiện hoặc ghi lại các bằng chứng cần thiết cho một fix.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

After my previous problem of my own making (not remembering that I needed to update the version in the Docker Compose file), I first upgraded to 4.0.9. Today I saw that 4.1.0 was out a couple of days ago, so I tried to upgrade. But after using the exact same Docker Compose file, only changing 4.0.9 to 4.1.0 in the line FROM nodered/node-red:4.1.0-debian, I get "image unhealthy" with Docker PS and I can't connect to it on MQTT or the frontend (which stands chewing forever until I break it). I have no idea how to find out what the problem is, but this is my Docker Compose file:

services:
  node-red:
    build:
      dockerfile_inline: | 
        FROM  nodered/node-red:4.1.0-debian
        USER root
        RUN apt-get update \
          && apt-get install -y --no-install-recommends iputils-ping sshpass openssh-client
        USER node-red
    container_name: Node-RED
    privileged: true
    restart: no
    group_add:
        - "20"
    environment:
      - TZ=Europe/Oslo

    network_mode: host 
    devices:
      - /dev/serial/by-id/usb-RFXCOM_RFXtrx433_A119M1VX-if00-port0:/dev/ttyUSB0
    volumes:
      - /media/pi/Docker/Docker-Compose/Node-RED/Data:/data
      - /media/pi/Docker/Docker-Compose:/home/pi/Docker-Compose:ro
      - /home/pi/.ssh/known_hosts:/usr/src/node-red/.ssh/known_hosts
      - type: bind
        source: /home/pi/Node-RED-omstarter.txt
        target: /home/pi/Node-RED-omstarter.txt

Stopping the container, running docker system prune -a and restarting/pulling again makes it work as it should with 4.0.9. I have tried going back and forth a few times, same result every time.

Ngôn ngữ chính
Shell
Star
540
Fork
434
Merge trung bình
24 phút
Pull request đã merge (30 ngày)
5

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của node-red/node-red-docker

Tất cả issue của node-red/node-red-docker

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.