AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

The new --update flag does not work

Open siavashs opened this issue 3 years ago • 0 comments

Prerequisites

  • [X] I have checked the Wiki and Discussions and found no answer

  • [X] I have searched other issues and found no duplicates

  • [X] I want to report a bug and not ask a question

Operating system type

Linux, Other (please mention the version in the description)

CPU architecture

32-bit MIPS LE

Installation

GitHub releases or script from README

Setup

On a router, DHCP is handled by the router

AdGuard Home version

v0.107.19

Description

What did you do?

Ran ./AdGuardHome --update on EdgeRouter X

Expected result

AdGuardHome to check for updates and exit as it's already running the latest version.

Actual result

It printed a DHCP error and just waited:

# ./AdGuardHome --update
2022/11/25 11:58:06.612383 [info] AdGuard Home, version v0.107.19
2022/11/25 11:58:06.675757 [info] tls: using default ciphers
2022/11/25 11:58:06.690595 [error] creating dhcpv4 srv: dhcpv4: invalid IP is not an IPv4 address
2022/11/25 11:58:06.722682 [info] Initializing auth module: /config/AdGuardHome/data/sessions.db
^C
2022/11/25 11:58:47.843287 [info] Received signal "interrupt"
2022/11/25 11:58:47.843436 [info] stopping AdGuard Home
2022/11/25 11:58:47.844284 [info] stopped

Screenshots (if applicable)

Additional information

siavashs avatar Nov 25 '22 11:11 siavashs