Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.107.49 casues error during initalize #7013

Closed
4 tasks done
AnonymousX86 opened this issue May 21, 2024 · 24 comments
Closed
4 tasks done

Version 0.107.49 casues error during initalize #7013

AnonymousX86 opened this issue May 21, 2024 · 24 comments
Assignees
Milestone

Comments

@AnonymousX86
Copy link

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

Docker

Setup

On one machine

AdGuard Home version

0.107.49

Action

Simply start Docker container, go to initialize page and try to fill forms.

Expected result

Proper AdGuard Home initialize.

Actual result

Getting error:

Error: control/install/configure | dnsServer.Prepare: preparing internal proxy: validating private RDNS upstreams: no upstream specified | 500

Additional information and/or screenshots

Screenshot 2024-05-21 at 19-12-45 Setup AdGuard Home

Installing previous version 0.107.48 resolves the issue.

@gidder
Copy link

gidder commented May 21, 2024

Probably the same issue, but with already deployed AdGuardHome after update to 0.107.49.
The docker won't start, and I see these lines repeating in the logs:

2024/05/21 19:48:20.212312 [info] AdGuard Home, version v0.107.49
2024/05/21 19:48:20.215945 [info] tls: using default ciphers
2024/05/21 19:48:20.218690 [info] safesearch default: disabled
2024/05/21 19:48:20.225038 [info] Initializing auth module: /opt/adguardhome/work/data/sessions.db
2024/05/21 19:48:20.225245 [info] auth: initialized.  users:1  sessions:0
2024/05/21 19:48:20.225378 [info] AdGuard Home updates are disabled
2024/05/21 19:48:20.225559 [info] web: initializing
2024/05/21 19:48:20.376319 [error] querylog: closing: flushing log buffer: nothing to write to a file
2024/05/21 19:48:20.376330 [fatal] dnsServer.Prepare: preparing internal proxy: validating private RDNS upstreams: no upstream specified

Downgrading to adguard/adguardhome:v0.107.48 helped

@MRobi1
Copy link

MRobi1 commented May 21, 2024

Seeing the same issue both from a new install and from an update
Forcing v0.107.48 fixes the issue

@PiuPiuson
Copy link

Same here in an existing setup. Downgrading fixed it.

@silentkiller88
Copy link

Same here in existing docker setup, doNgrading fixed the issue indeed

@geriguy43
Copy link

Just wanted to confirm, I have same issue,
AdGuard won't start after the update (automatic update by whatchtower.)

Synology NAS, Adguard in a Docker container, redirected to an own IP address.

Needed to roll back to the latest stable version which solved the problem.

@nickwilkie
Copy link

Me too, just happened to do an update a few minutes ago and my network went down, downgrading fixed. Using adguard in a docker compose on a proxmox vm.

@jerheij
Copy link

jerheij commented May 22, 2024

Same here, the latest version caused the error and prevented it to start. Downgrading to v0.107.48 fixed it.

@middreks
Copy link

Managed to get it up and running by setting use_private_ptr_resolvers to false in AdGuardHome.yaml config.
While this is not ideal, for a temp solution it could help.

@solidgonk
Copy link

LXC from helper-scripts deployed fine, but Docker deployment failed with this error.

@Tommatheussen
Copy link

Managed to get it up and running by setting use_private_ptr_resolvers to false in AdGuardHome.yaml config. While this is not ideal, for a temp solution it could help.

If this helps for the Devs: I never set that flag (from UI) before, now I just toggled it on and back off from the UI (in version 0.107.48) and the latest version correctly boots up now

@EugeneOne1 EugeneOne1 self-assigned this May 22, 2024
@EugeneOne1 EugeneOne1 added this to the v0.107.50 milestone May 22, 2024
@Xazziri
Copy link

Xazziri commented May 22, 2024

More info:
I have 3 docker instances running of which 2 failed like described. These two show, under the Private reverse DNS servers heading: AdGuard Home could not determine suitable private reverse DNS resolvers for this system. The third (not docker but podman) did not fail and has a different message: By default, AdGuard Home uses the following reverse DNS resolvers: "10.89.2.1:53".
Setting use_private_ptr_resolvers to false in AdGuardHome.yaml config for the 2 that failed did fix the problem, but enabling local resolving on the docker hosts also works.
I would propose to check if AdGuard Home can determine suitable private reverse DNS resolvers for this system. If not, set use_private_ptr_resolvers to false.

@jerheij
Copy link

jerheij commented May 22, 2024

More info: I have 3 docker instances running of which 2 failed like described. These two show, under the Private reverse DNS servers heading: AdGuard Home could not determine suitable private reverse DNS resolvers for this system. The third (not docker but podman) did not fail and has a different message: By default, AdGuard Home uses the following reverse DNS resolvers: "10.89.2.1:53". Setting use_private_ptr_resolvers to false in AdGuardHome.yaml config for the 2 that failed did fix the problem, but enabling local resolving on the docker hosts also works. I would propose to check if AdGuard Home can determine suitable private reverse DNS resolvers for this system. If not, set use_private_ptr_resolvers to false.

I wonder if it wouldn't be better to disable the feature by default unless specifically enabled. Reverse DNS is, as far as I am concerned, a more advanced feature. Especially when talking about a system primarily being used for ad, and other malicious crap, blocking.

@thepod7
Copy link

thepod7 commented May 22, 2024

I have set use_private_ptr_resolvers to false on both of my containers and the systems will still not load, they continue to fail with this error:

adguardhome_2 | 2024/05/22 11:26:28.013219 [fatal] dnsServer.Prepare: preparing internal proxy: validating private RDNS upstreams: no upstream specified

My only fix was to downgrade - adguard/adguardhome:v0.107.48

I should add that I am also running unbound along with adguard

@jerheij
Copy link

jerheij commented May 22, 2024

I have set use_private_ptr_resolvers to false on both of my containers and the systems will still not load, they continue to fail with this error:

adguardhome_2 | 2024/05/22 11:26:28.013219 [fatal] dnsServer.Prepare: preparing internal proxy: validating private RDNS upstreams: no upstream specified

My only fix was to downgrade - adguard/adguardhome:v0.107.48

I should add that I am also running unbound along with adguard

Have you stopped the container, updated the values and then started the containers? I read somewhere that if you do it while AGH is still running it might change it again.

@thepod7
Copy link

thepod7 commented May 22, 2024

I have stopped the containers, even went as far as restarting the Pi's they are running on - as mentioned the only solution was to force the systems back to v0.107.48

@ainar-g
Copy link
Contributor

ainar-g commented May 22, 2024

Thank you all for the report. We have reproduced the error and working on a fix.

adguard pushed a commit that referenced this issue May 22, 2024
Updates #7013.

Squashed commit of the following:

commit 68a53ec
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Wed May 22 15:55:31 2024 +0300

    all: imp chlog

commit a02b8e1
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Wed May 22 14:21:27 2024 +0300

    all: log changes, imp docs

commit f9ec0ef
Merge: ee7202a 1be34ab
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Wed May 22 14:16:30 2024 +0300

    Merge branch 'master' into 7013-initial-rdns

commit ee7202a
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Wed May 22 13:11:58 2024 +0300

    dnsforward: fix http rdns check

commit 5eaa024
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Wed May 22 12:40:30 2024 +0300

    all: fix initial rdns check
@EugeneOne1
Copy link
Member

EugeneOne1 commented May 22, 2024

Hello @AnonymousX86 and everyone else. We've just pushed the edge build (v0.108.0-a.908+a030dd45) that should fix this to the Docker Hub. Could you please give it a try? We'll include this fix into the upcoming release if it fixes the problem.

@Liziloo
Copy link

Liziloo commented May 22, 2024

Hello @AnonymousX86 and everyone else. We've just pushed the edge build (v0.108.0-a.908+a030dd45) that should fix this to the Docker Hub. Could you please give it a try? We'll include this fix into the upcoming release if it fixes the problem.

Worked for me! Thank you.

@ItsMelody
Copy link

Had this same issue. Gave me this error

dnsServer.Prepare: preparing internal proxy: validating private RDNS upstreams: no upstream specified

Forcing adguard/adguardhome:v0.107.48 seems to have fixed the issue.

@EugeneOne1
Copy link
Member

@ItsMelody, could you please try the adguard/adguardhome:edge version? It should fix the issue as well.

@EugeneOne1 EugeneOne1 modified the milestones: v0.107.51, v0.107.50 May 22, 2024
patadune added a commit to patadune/homelab that referenced this issue May 22, 2024
@doedelgit
Copy link

@ItsMelody, could you please try the adguard/adguardhome:edge version? It should fix the issue as well.

I just tried this and it's working fine for me while it failed before on 0.107.49.

@ItsMelody
Copy link

@ItsMelody, could you please try the adguard/adguardhome:edge version? It should fix the issue as well.

Works!

@EugeneOne1
Copy link
Member

Thank you all for testing. We're closing this issue for now, the release with the fix is coming soon.

@EugeneOne1
Copy link
Member

FYI, v0.107.50 is released now.

@ainar-g ainar-g unpinned this issue May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests