Skip to content

[BUG] Dockerfile not matching / building latest upstream stable release (10.2.105) #181

@MajorP93

Description

@MajorP93

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When running your logic / matcher for retrieving latest available "Unifi Network Application" it returns release 10.1.

Version 10.2 has been released already: https://community.ui.com/releases/UniFi-Network-Application-10-2-105/cf38dace-ce91-4e4a-8ab7-a1d2db30aa55

Since the matching logic in Dockerfile does not "find" the new release it does not get built.

Does the logic in Dockerfile need to be updated in order to find / retrieve the new version?

Would love to be able to update my instance.

Thanks a lot for maintaining this Docker image. Much appreciated.

Best regards

Expected Behavior

Latest stable release of Unifi Network Application being built/used by Dockerfile.

Steps To Reproduce

Try to build this image locally. It will not find / build latest available Unifi network application release.

Environment

- OS:latest Raspbian on Raspberry Pi 5
- How docker service was installed: docker convenience script

CPU architecture

arm64

Docker creation

---
services:
  unifi-network-application:
    image: linuxserver/unifi-network-application:latest
    container_name: unifi-network-application
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - MONGO_USER=unifi
      - MONGO_PASS=${MONGO_PASS}
      - MONGO_HOST=unifi-db
      - MONGO_PORT=27017
      - MONGO_DBNAME=unifi
      - MONGO_AUTHSOURCE=admin
    volumes:
      - ./app-data:/config
    ports:
      - 8443:8443
      - 3478:3478/udp
      - 10001:10001/udp
      - 8080:8080
      - 1900:1900/udp #optional
      - 8843:8843 #optional
      - 8880:8880 #optional
      - 6789:6789 #optional
      - 5514:5514/udp #optional
    restart: unless-stopped
  unifi-db:
    image: mongo:7.0
    container_name: unifi-db
    environment:
      - MONGO_INITDB_ROOT_USERNAME=root
      - MONGO_INITDB_ROOT_PASSWORD=${MONGO_INITDB_ROOT_PASSWORD}
      - MONGO_USER=unifi
      - MONGO_PASS=${MONGO_PASS}
      - MONGO_DBNAME=unifi
      - MONGO_AUTHSOURCE=admin
    volumes:
      - ./mongodb-data:/data/db
      - ./init-mongo.sh:/docker-entrypoint-initdb.d/init-mongo.sh:ro
    restart: unless-stopped

Container logs

user@linbox:~> curl -sX GET "https://fw-update.ubnt.com/api/firmware-latest?filter=eq~~product~~unifi-controller&filter=eq~~platform~~unix&filter=eq~~channel~~release" \
                                                | jq -r '._embedded.firmware[].version' \
                                                | awk -F '+' '{print $1}' \
                                                | tr -d 'v'
10.1.89

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions