What's new

AdGuardHome AdGuardHome New Release's 2023

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Status
Not open for further replies.
Getting this error updating to 1.6.5
/opt/etc/AdGuardHome/installer: line 736: syntax error: unexpected "then" (expecting "}")
try

curl -L -s -k -O https://raw.githubusercontent.com/jumpsmm7/Asuswrt-Merlin-AdGuardHome-Installer/master/installer && sh installer master update
straight in the ssh terminal command line. It is most likely just a glitch. The actual current upstream version works fine.
 
Awesome!! Thank you!!

I ran it twice and when I go back into amtm it still shows I need an update for ag but will still error out if I try it.
 
Awesome!! Thank you!!

I ran it twice and when I go back into amtm it still shows I need an update for ag but will still error out if I try it.
Release v1.6.6

  • Resolve minor issues which lead to misread of the scripts output after update. # mentioned by @mcosty here.
  • Condense/Consolidate Update/Install/Restore functions of the installer.

Old Release Notes v1.6.4-1.65

  • Reformatted installer scripts and auxiliary files
  • Add SSH command line shortcuts. e.g. sh installer {master|dev|""} {install|update|uninstall|BACKUP|RESTORE}
  • Add selection WebUI port during install, and for WebUI port remembrance - provided it is between the range "3000-65535" and not already in use by another process.
  • Add remote parsers for .YAML file schema version changes.

For the newest upgrade to v.1.6.6, it is recommended to run the command below in the ssh terminal:

curl -L -s -k -O https://raw.githubusercontent.com/jumpsmm7/Asuswrt-Merlin-AdGuardHome-Installer/master/installer && sh installer master update
 
Last edited:
@SomeWhereOverTheRainBow I got a couple of errors during update to v1.6.6 ... not quite sure what is going on.
SEEMs to be working OK but any clues as to how I clean this up and make it "nice" again?
Log below was from my 2nd go at it ...

Code:
=>  Please enter the number that designates your selection:, [1-4/b/r/q]: 1
 Info:  This operation will install AdGuardHome and related files (<6MB)
 Info:  to ENTWARE, no other data will be changed.
 Info:  Also some start scripts will be installed/modified as required.
 =>  Do you want to install AdGuardHome? [y/n]: y
 Info:  installer is up to date. Skipping...
 =>  Do you want to switch AdGuardHome builds? [y/n]: n
 Info:  continuing without changing builds.
 Info:  ADGUARDHOME_BUILD=Release
 Info:  No new release version available.
 Info:  ADGUARDHOME_VER=v0.107.40
rm: can't remove '/opt/etc/AdGuardHome_linux_arm64.tar.gz': No such file or directory
 Info:  AdGuardHome.sh is up to date. Skipping...
 Info:  S99AdGuardHome is up to date. Skipping...
 Info:  rc.func.AdGuardHome is up to date. Skipping...
 Info:  init-start file already configured
 Info:  services-stop file already configured
 Info:  dnsmasq.postconf file already configured
 Info:  Configure service-event-end file
 Info:  Configuring AdGuardHome...
 Info:  Checking AdGuardHome configuration...
2023/11/11 12:07:09 [error] Couldn't get logging settings from the configuration: yaml: line 5: mapping values are not allowed in this context
 Info:  Moving invalid configuration file to /opt/etc/AdGuardHome/AdGuardHome.yaml.err.
 =>  Do you want to redirect all DNS resolutions on your network through to AdGuardHome?

Had previously updated to v1.6.5 via AMTM and didn't notice any errors but I think I maybe wasn't watching ...
 
@SomeWhereOverTheRainBow I got a couple of errors during update to v1.6.6 ... not quite sure what is going on.
SEEMs to be working OK but any clues as to how I clean this up and make it "nice" again?
Log below was from my 2nd go at it ...

Code:
=>  Please enter the number that designates your selection:, [1-4/b/r/q]: 1
 Info:  This operation will install AdGuardHome and related files (<6MB)
 Info:  to ENTWARE, no other data will be changed.
 Info:  Also some start scripts will be installed/modified as required.
 =>  Do you want to install AdGuardHome? [y/n]: y
 Info:  installer is up to date. Skipping...
 =>  Do you want to switch AdGuardHome builds? [y/n]: n
 Info:  continuing without changing builds.
 Info:  ADGUARDHOME_BUILD=Release
 Info:  No new release version available.
 Info:  ADGUARDHOME_VER=v0.107.40
rm: can't remove '/opt/etc/AdGuardHome_linux_arm64.tar.gz': No such file or directory
 Info:  AdGuardHome.sh is up to date. Skipping...
 Info:  S99AdGuardHome is up to date. Skipping...
 Info:  rc.func.AdGuardHome is up to date. Skipping...
 Info:  init-start file already configured
 Info:  services-stop file already configured
 Info:  dnsmasq.postconf file already configured
 Info:  Configure service-event-end file
 Info:  Configuring AdGuardHome...
 Info:  Checking AdGuardHome configuration...
2023/11/11 12:07:09 [error] Couldn't get logging settings from the configuration: yaml: line 5: mapping values are not allowed in this context
 Info:  Moving invalid configuration file to /opt/etc/AdGuardHome/AdGuardHome.yaml.err.
 =>  Do you want to redirect all DNS resolutions on your network through to AdGuardHome?

Had previously updated to v1.6.5 via AMTM and didn't notice any errors but I think I maybe wasn't watching ...
try now.
 
Try what? :) Updating again?

I've actually restored a backup from a couple of days ago and then updated, seems to be OK now I THINK?
I want to see if you still see the errors.

curl -L -s -k -O https://raw.githubusercontent.com/jumpsmm7/Asuswrt-Merlin-AdGuardHome-Installer/master/installer && sh installer master update

or

curl -L -s -k -O https://raw.githubusercontent.com/jumpsmm7/Asuswrt-Merlin-AdGuardHome-Installer/master/installer && sh installer master and select option 1.

I patched what I thought was the problem.
 
I patched what I thought was the problem.

Ok thanks, did that - not seeing any errors now if I run through an update cycle, but no updates available so not sure if that answers your question?

Code:
Info:  Detected RT-AX86U router.
 Info:  Detected Linux platform.
 Info:  Detected ARMv8 architecture.
 Info:  JFFS custom scripts and configs are already enabled.
 Info:  DNS Environment is Ready.
 Info:  AI_VERSION=v1.6.6
 Info:  ADGUARDHOME_VER=v0.107.40
 Info:  Run Option 1 to if you want to change builds or upgrade when updates are available.
 Info:  To visit AdGuardHome,
 Info:  please go to http://192.168.1.254:14711.
 Info:  You can use the WebUI to change things to your liking!
 Info:  Stop by https://github.com/AdguardTeam/AdGuardHome/wiki
 Info:  for any configuration needs.
 Info:  Choose what you want to do:
  1) Install/Update AdGuardHome
  2) Uninstall
  3) Change Username/Password
  4) Reconfigure
  b) Backup
  r) Restore
  q) Quit
 =>  Please enter the number that designates your selection:, [1-4/b/r/q]: 1
 Info:  This operation will install AdGuardHome and related files (<6MB)
 Info:  to ENTWARE, no other data will be changed.
 Info:  Also some start scripts will be installed/modified as required.
 =>  Do you want to install AdGuardHome? [y/n]: y
 Info:  installer is up to date. Skipping...
 =>  Do you want to switch AdGuardHome builds? [y/n]: n
 Info:  continuing without changing builds.
 Info:  ADGUARDHOME_BUILD=Release
 Info:  No new release version available.
 Info:  ADGUARDHOME_VER=v0.107.40
 Info:  AdGuardHome.sh is up to date. Skipping...
 Info:  S99AdGuardHome is up to date. Skipping...
 Info:  rc.func.AdGuardHome is up to date. Skipping...
 Info:  init-start file already configured
 Info:  services-stop file already configured
 Info:  dnsmasq.postconf file already configured
 Info:  Configure service-event-end file
 Info:  Configuring AdGuardHome...
 Info:  Checking AdGuardHome configuration...
 Info:  Found previous AdGuardHome config file
 =>  Do you want to use this file without reconfiguring? [y/n]: y
 Info:  Use previous settings file
 Info:  Starting AdGuardHome...
 Checking AdGuardHome...              dead.
 Checking AdGuardHome...              alive.
 Info:  Please wait while we perform one last check.
 Checking AdGuardHome...              alive.
 Info:  AdGuardHome setup is complete.
 Info:  Operation completed, returning to Main Menu. You can quit or continue.
 
Ok thanks, did that - not seeing any errors now if I run through an update cycle, but no updates available so not sure if that answers your question?

Code:
Info:  Detected RT-AX86U router.
 Info:  Detected Linux platform.
 Info:  Detected ARMv8 architecture.
 Info:  JFFS custom scripts and configs are already enabled.
 Info:  DNS Environment is Ready.
 Info:  AI_VERSION=v1.6.6
 Info:  ADGUARDHOME_VER=v0.107.40
 Info:  Run Option 1 to if you want to change builds or upgrade when updates are available.
 Info:  To visit AdGuardHome,
 Info:  please go to http://192.168.1.254:14711.
 Info:  You can use the WebUI to change things to your liking!
 Info:  Stop by https://github.com/AdguardTeam/AdGuardHome/wiki
 Info:  for any configuration needs.
 Info:  Choose what you want to do:
  1) Install/Update AdGuardHome
  2) Uninstall
  3) Change Username/Password
  4) Reconfigure
  b) Backup
  r) Restore
  q) Quit
 =>  Please enter the number that designates your selection:, [1-4/b/r/q]: 1
 Info:  This operation will install AdGuardHome and related files (<6MB)
 Info:  to ENTWARE, no other data will be changed.
 Info:  Also some start scripts will be installed/modified as required.
 =>  Do you want to install AdGuardHome? [y/n]: y
 Info:  installer is up to date. Skipping...
 =>  Do you want to switch AdGuardHome builds? [y/n]: n
 Info:  continuing without changing builds.
 Info:  ADGUARDHOME_BUILD=Release
 Info:  No new release version available.
 Info:  ADGUARDHOME_VER=v0.107.40
 Info:  AdGuardHome.sh is up to date. Skipping...
 Info:  S99AdGuardHome is up to date. Skipping...
 Info:  rc.func.AdGuardHome is up to date. Skipping...
 Info:  init-start file already configured
 Info:  services-stop file already configured
 Info:  dnsmasq.postconf file already configured
 Info:  Configure service-event-end file
 Info:  Configuring AdGuardHome...
 Info:  Checking AdGuardHome configuration...
 Info:  Found previous AdGuardHome config file
 =>  Do you want to use this file without reconfiguring? [y/n]: y
 Info:  Use previous settings file
 Info:  Starting AdGuardHome...
 Checking AdGuardHome...              dead.
 Checking AdGuardHome...              alive.
 Info:  Please wait while we perform one last check.
 Checking AdGuardHome...              alive.
 Info:  AdGuardHome setup is complete.
 Info:  Operation completed, returning to Main Menu. You can quit or continue.
It answers it, the errors were from parts of the installer running that should have been kept separate if there was no update. The errors were just from over looked lines in the wrong spots. All fixed.

I bet you notice the entire selection process is much quicker. ;)
 
Hi,
I've tried to instal AdGuard Home using your script but I get stucked everytime in the step in the screenshot attached.
I tried to reboot the router but AdGuard stil not run.
My router is AX86U Pro with last Merlin version 3004.388.4.
Could someone help me in the debug plese?
Is there a way to check a log why the script get stucked in that passage?
Many thanks in advance


Screenshot 2023-11-13 155942.png
 
Hi,
I've tried to instal AdGuard Home using your script but I get stucked everytime in the step in the screenshot attached.
I tried to reboot the router but AdGuard stil not run.
My router is AX86U Pro with last Merlin version 3004.388.4.
Could someone help me in the debug plese?
Is there a way to check a log why the script get stucked in that passage?
Many thanks in advance


View attachment 54179
How long are you waiting on that screen because that step can sometimes take a minute, the check process isnt always a quick one, And what other addons do you have installed?
 
Last edited:
For sure more than ten minutes at least once in one of my many attempts…
I have Wicens script to retrieve the WAN IP and Scribe
 
For sure more than ten minutes at least once in one of my many attempts…
I have Wicens script to retrieve the WAN IP and Scribe
Are you on a double Nat? 🤔 I know in some instances that has caused problems for users in the past who were trying to install adguardhome. Also, I am still investigating a possible bug where AdGuardhome does not properly start because of not being able to setup GO syslog facilitators when syslog-ng is active (scribe).
 
No I’m not behind a double nat.
I can remove scribe and see if it starts.
I let you know ASAP
Thanks
 
Are you on a double Nat? 🤔 I know in some instances that has caused problems for users in the past who were trying to install adguardhome. Also, I am still investigating a possible bug where AdGuardhome does not properly start because of not being able to setup GO syslog facilitators when syslog-ng is active (scribe).
I confirm that removing scribe ADH starts immediately.
Thank you!!!!
 
I confirm that removing scribe ADH starts immediately.
Thank you!!!!
I am going to be running some tests later to see if we just simply need to restart scribe on starting AdGuardhome. There may be a solution, but I just haven't had time to test it. I am still at a loss for why syslog-ng (scribe) would be breaking AdGuardhomes abilities to report to syslog. It is this breakage that makes adguardhome fail to start.

The whole issue itself is completely undetectable because the logs for starting adguardhome simply do not populate when the bug is happing. So, the user wouldn't be able to tell that it was adguardhome failing to initiate the go syslog facilitators. I had to try starting adguardhome straight from the terminal command line to be able to reproduce the issue. There, the lines that would have printed to syslog indicating the failure, printed to the terminal mentioning that adguardhome was unable to load the drivers for communicating with syslog.

The bug is only present "sometimes" when running syslog-ng. Once I restarted scribe, adguardhome worked with no problems.
 
Last edited:
AGH devs released a new version (AdGuard Home v0.107.41) which includes a "fix" for a case of quic and h3 connection failure ( https://github.com/AdguardTeam/AdGuardHome/issues/6335 ) i didn't have this problem before, ironically, after updating, i cannot use quic and h3 servers anymore:

Server "h3://dns.google/dns-query": could not be used, please check that you've written it correctly
Server "quic://dns.adguard-dns.com": could not be used, please check that you've written it correctly

Anybody else having this problem?
 
Status
Not open for further replies.

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top