MyBB 1.8.38 Security & Maintenance Release wurde eingespielt!
Hinweis ++ Das nutzen von Scripten oder Paketen aus diesem Forum geschieht eigenverantwortlich. ++ Der Betreiber der Webseite übernimmt keinerlei Haftung für Schäden die aus der Nutzung resultieren! ++ Im Zweifel im Forum in der entsprechenden Rubrik eine Anfrage stellen!

AdGuardHome on Synology DSM 7.X ohne Docker does not start
#1
Im sorry i left a comment on the wrong section of your forum.

Installed  on 213J and a 220+ but no matter what i try it wont open.
Tried to changed both ports in /var/packages/AdGuardHome. (213J) Still no go.
On my 220+ ports where already in use so i had to open your SPK and change the ports in there. But still  it wont start.
And yes i did run sed -i "s/package/root/g" /var/packages/AdGuardHome/conf/privilege  as root before start.
Im about to give up....
Zitieren
#2
Hello, please try the following.

1. Uninstall everything
Use Putty to check that the AdGuardHome folders under
Code:
/var/packages/..
/volume1/@appstore/..

are deleted.

2. Install the package without starting it afterwards.
3. Execute the command as in the instructions with root rights in Putty.
Code:
sed -i "s/package/root/g" /var/packages/AdGuardHome/conf/privileg


Go to the
Code:
/volume1/@appstore/AdGuardHome
directory and check whether the following folders are present.

   

4. Then run the following command:
Code:
/var/packages/AdGuardHome/target/AdGuardHome -s install


What is the output??


5. After this run the following command:
Code:
/var/packages/AdGuardHome/target/AdGuardHome -s start

What is the output?? 


Greetz - The admin
DS 918+   (12GB)   [DSM 7.1.1-42962 Update 6]
DS 1821+ (20GB)   [DSM 7.2-64570 Update 1]

FRITZ!Box 7490 + Dreambox DM900 UHD (openATV-Image)
Zitieren
#3
(05-18-2024, 01:15 AM)admin schrieb: Hello, please try the following.

1. Uninstall everything
Use Putty to check that the AdGuardHome folders under
Code:
/var/packages/..
/volume1/@appstore/..

are deleted.

2. Install the package without starting it afterwards.
3. Execute the command as in the instructions with root rights in Putty.
Code:
sed -i "s/package/root/g" /var/packages/AdGuardHome/conf/privileg


Go to the
Code:
/volume1/@appstore/AdGuardHome
directory and check whether the following folders are present.



4. Then run the following command:
Code:
/var/packages/AdGuardHome/target/AdGuardHome -s install


What is the output??

Code:
root@NAS:~# /var/packages/AdGuardHome/target/AdGuardHome -s install
2024/05/18 14:22:06 [info] AdGuard Home, version v0.107.44
2024/05/18 14:22:06 [info] service: control action: install
2024/05/18 14:22:08 [info] service: started
2024/05/18 14:22:08 [info] Almost ready!
AdGuard Home is successfully installed and will automatically start on boot.
There are a few more things that must be configured before you can use it.
Click on the link below and follow the Installation Wizard steps to finish setup                                      .
AdGuard Home is now available at the following addresses:
2024/05/18 14:22:08 [info] go to http://127.0.0.1:3000
2024/05/18 14:22:08 [info] go to http://[::1]:3000
2024/05/18 14:22:08 [info] go to http://192.168.1.236:3000
2024/05/18 14:22:08 [info] go to http://192.168.1.237:3000
2024/05/18 14:22:08 [info] go to http://172.17.0.1:3000
2024/05/18 14:22:08 [info] go to http://[fe80::42:aeff:fe87:526d%docker0]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::7c89:4bff:fe45:3803%docker320846b                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::a872:c5ff:fe5b:9572%dockerc2c0122                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::38e6:a5ff:fe8d:5a34%dockerdea2454                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::f0d2:2ff:fe29:eedd%docker9f8e952]                                      :3000
2024/05/18 14:22:08 [info] go to http://[fe80::4cbe:39ff:fed3:7df3%dockerf6daf39                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::bc4f:18ff:feeb:3dd6%dockerea1d13f                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::7481:2bff:fead:c727%docker5f136aa                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::a095:5aff:fe39:62ff%docker109a95b                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::24c7:1fff:fe39:4de%docker453e57a]                                      :3000
2024/05/18 14:22:08 [info] go to http://[fe80::f8db:a2ff:fee8:477f%dockerbd342f8                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::34ab:fcff:fe35:4fa8%docker11ba8f5                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::40ed:8dff:fe42:a4e%docker3da0898]                                      :3000
2024/05/18 14:22:08 [info] go to http://[fe80::1816:b2ff:fe2f:2c19%dockerc493a89                                      ]:3000
2024/05/18 14:22:08 [info] service: action install has been done successfully on                                       linux-systemd


5. After this run the following command:
Code:
/var/packages/AdGuardHome/target/AdGuardHome -s start

What is the output?? 

Code:
root@NAS:~# /var/packages/AdGuardHome/target/AdGuardHome -s start
2024/05/18 14:23:46 [info] AdGuard Home, version v0.107.44
2024/05/18 14:23:46 [info] service: control action: start
2024/05/18 14:23:50 [info] service: action start has been done successfully on linux-systemd



Greetz - The admin


After doing these 2  commands it starts.on the 220+ Thank you.

But on the 213j i  get this 
Code:
~# /var/packages/AdGuardHome/target/AdGuardHome -s install
-ash: /var/packages/AdGuardHome/target/AdGuardHome: cannot execute binary file: Exec format error
Code:
~# /var/packages/AdGuardHome/target/AdGuardHome -s start
-ash: /var/packages/AdGuardHome/target/AdGuardHome: cannot execute binary file: Exec format error
Zitieren
#4
(05-18-2024, 02:27 PM)muiz schrieb:
(05-18-2024, 01:15 AM)admin schrieb: Hello, please try the following.

1. Uninstall everything
Use Putty to check that the AdGuardHome folders under
Code:
/var/packages/..
/volume1/@appstore/..

are deleted.

2. Install the package without starting it afterwards.
3. Execute the command as in the instructions with root rights in Putty.
Code:
sed -i "s/package/root/g" /var/packages/AdGuardHome/conf/privileg


Go to the
Code:
/volume1/@appstore/AdGuardHome
directory and check whether the following folders are present.



4. Then run the following command:
Code:
/var/packages/AdGuardHome/target/AdGuardHome -s install


What is the output??

Code:
root@NAS:~# /var/packages/AdGuardHome/target/AdGuardHome -s install
2024/05/18 14:22:06 [info] AdGuard Home, version v0.107.44
2024/05/18 14:22:06 [info] service: control action: install
2024/05/18 14:22:08 [info] service: started
2024/05/18 14:22:08 [info] Almost ready!
AdGuard Home is successfully installed and will automatically start on boot.
There are a few more things that must be configured before you can use it.
Click on the link below and follow the Installation Wizard steps to finish setup                                      .
AdGuard Home is now available at the following addresses:
2024/05/18 14:22:08 [info] go to http://127.0.0.1:3000
2024/05/18 14:22:08 [info] go to http://[::1]:3000
2024/05/18 14:22:08 [info] go to http://192.168.1.236:3000
2024/05/18 14:22:08 [info] go to http://192.168.1.237:3000
2024/05/18 14:22:08 [info] go to http://172.17.0.1:3000
2024/05/18 14:22:08 [info] go to http://[fe80::42:aeff:fe87:526d%docker0]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::7c89:4bff:fe45:3803%docker320846b                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::a872:c5ff:fe5b:9572%dockerc2c0122                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::38e6:a5ff:fe8d:5a34%dockerdea2454                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::f0d2:2ff:fe29:eedd%docker9f8e952]                                      :3000
2024/05/18 14:22:08 [info] go to http://[fe80::4cbe:39ff:fed3:7df3%dockerf6daf39                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::bc4f:18ff:feeb:3dd6%dockerea1d13f                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::7481:2bff:fead:c727%docker5f136aa                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::a095:5aff:fe39:62ff%docker109a95b                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::24c7:1fff:fe39:4de%docker453e57a]                                      :3000
2024/05/18 14:22:08 [info] go to http://[fe80::f8db:a2ff:fee8:477f%dockerbd342f8                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::34ab:fcff:fe35:4fa8%docker11ba8f5                                      ]:3000
2024/05/18 14:22:08 [info] go to http://[fe80::40ed:8dff:fe42:a4e%docker3da0898]                                      :3000
2024/05/18 14:22:08 [info] go to http://[fe80::1816:b2ff:fe2f:2c19%dockerc493a89                                      ]:3000
2024/05/18 14:22:08 [info] service: action install has been done successfully on                                       linux-systemd


5. After this run the following command:
Code:
/var/packages/AdGuardHome/target/AdGuardHome -s start

What is the output?? 

Code:
root@NAS:~# /var/packages/AdGuardHome/target/AdGuardHome -s start
2024/05/18 14:23:46 [info] AdGuard Home, version v0.107.44
2024/05/18 14:23:46 [info] service: control action: start
2024/05/18 14:23:50 [info] service: action start has been done successfully on linux-systemd



Greetz - The admin


After doing these 2  commands it starts.on the 220+ Thank you.

But on the 213j i  get this 
Code:
~# /var/packages/AdGuardHome/target/AdGuardHome -s install
-ash: /var/packages/AdGuardHome/target/AdGuardHome: cannot execute binary file: Exec format error
Code:
~# /var/packages/AdGuardHome/target/AdGuardHome -s start
-ash: /var/packages/AdGuardHome/target/AdGuardHome: cannot execute binary file: Exec format error

Hello, it seems that the ADGuardHome binary is not compatible with the DS213j architecture. 
This means that unfortunately you cannot use the application on the system. 

For your other system, the DS 220+, you now have three options to access the system: 

To stop ADGuardHome if it not work with the Software Center you need the following command in putty:

Code:
/var/packages/AdGuardHome/target/AdGuardHome -s stop

If the solution helped you, be so kind and post it on YouTube and here in the forum.

Greetz - The Admin
DS 918+   (12GB)   [DSM 7.1.1-42962 Update 6]
DS 1821+ (20GB)   [DSM 7.2-64570 Update 1]

FRITZ!Box 7490 + Dreambox DM900 UHD (openATV-Image)
Zitieren
#5
S
The solution did help me. Dont  know where to put this here. Sorry...
And  in my case its to  bad for me. I was hoping for the older Synology to run this as backup for my PI Hole on my 220+. Since the 213j cant  run docker (anymore, cause it did work a year ago. Unofficialy)
Edit: I openend you version and replaced the Adguard file with the ARM7  files. And it installs and runs fine on the 213J.
I  download the package from https://static.adtidy.org/adguardhome/re...mv7.tar.gz into AdGuardHome_linux_armv7.tar.gz

I hope you dont mind i did this. But you can offer 2 versions now if needed.  Works fine. Thanks again.

EDIT: New versions
Zitieren
#6
Thanks for your version. Can you send me the link to the ARM7 files?

The Admin
DS 918+   (12GB)   [DSM 7.1.1-42962 Update 6]
DS 1821+ (20GB)   [DSM 7.2-64570 Update 1]

FRITZ!Box 7490 + Dreambox DM900 UHD (openATV-Image)
Zitieren
#7
Code:
https://static.adtidy.org/adguardhome/release/AdGuardHome_linux_armv7.tar.gz
(05-18-2024, 05:05 PM)admin schrieb: Thanks for your version. Can you send me the link to the ARM7 files?

The Admin
Zitieren
#8
Hello, I meant the link to the text where you can make sure that the version also comes from the ADGuard provider. 
I have now found it myself 

this CPU has no floating point hardware, so it cannot run (use armv5 on an armv7 device)


Code:
Btw, i can confirm that actuallly the installer work, it still try to install the ARMv7 than try with the v5 and need some fixes due to the filesystem of this device but is okay

root@modemtim:~# curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v

starting AdGuard Home installation script
channel: release
operating system: linux
cpu type: armv7
AdGuard Home will be installed into /opt/AdGuardHome
checking curl
checking tar
script is executed with root privileges
no need to uninstall
downloading package from https://static.adguard.com/adguardhome/release/AdGuardHome_linux_armv7.tar.gz -> AdGuardHome_linux_armv7.tar.gz
unpacking package from AdGuardHome_linux_armv7.tar.gz into /opt
runtime: this CPU has no floating point hardware, so it cannot run
this GOARM=7 binary. Recompile using GOARM=5.
trying to use armv5 cpu
restarting with root privileges
starting AdGuard Home installation script
channel: release
operating system: linux
cpu type: armv5
AdGuard Home will be installed into /opt/AdGuardHome
checking curl
checking tar
script is executed with root privileges
no need to uninstall
downloading package from https://static.adguard.com/adguardhome/release/AdGuardHome_linux_armv5.tar.gz -> AdGuardHome_linux_armv5.tar.gz
unpacking package from AdGuardHome_linux_armv5.tar.gz into /opt
2021/06/24 15:27:12 [info] Service control action: install
2021/06/24 15:27:12 [info] Service has been started
2021/06/24 15:27:12 [info] Almost ready!
AdGuard Home is successfully installed and will automatically start on boot.
There are a few more things that must be configured before you can use it.
Click on the link below and follow the Installation Wizard steps to finish setup.
2021/06/24 15:27:12 [info] AdGuard Home is available on the following addresses:
2021/06/24 15:27:12 [info] Go to http://127.0.0.1:3000
2021/06/24 15:27:12 [info] Go to http://[::1]:3000
2021/06/24 15:27:12 [info] Go to http://192.168.168.1:3000
2021/06/24 15:27:12 [info] Go to http://192.168.1.1:3000
2021/06/24 15:27:12 [info] Go to http://192.168.168.129:3000
2021/06/24 15:27:12 [info] Go to http://79.27.199.18:3000
2021/06/24 15:27:12 [info] Action install has been done successfully on unix-systemv
AdGuard Home is now installed and running
you can control the service status with the following commands:
sudo /opt/AdGuardHome/AdGuardHome -s start|stop|restart|status|install|uninstall


So there are more Versions. armv5 and armv7  Dodgy
Maybe I'll create a version that installs the right version depending on the system. We will see.  Coffee

Greets - The Admin
DS 918+   (12GB)   [DSM 7.1.1-42962 Update 6]
DS 1821+ (20GB)   [DSM 7.2-64570 Update 1]

FRITZ!Box 7490 + Dreambox DM900 UHD (openATV-Image)
Zitieren
#9
I used this : https://github.com/AdguardTeam/AdGuardHo...ng-started

There i  found this : wget --no-verbose -O - https://raw.githubusercontent.com/Adguar...install.sh | sh -s -- -v

And in putty it showed me this url : https://static.adtidy.org/adguardhome/re...mv7.tar.gz
And replaced the files in your installer with  7zip.
To install i used all the commands you posted earlier.
And it runs fine.
Im not able to test on other systems i  only have  2 Synologies. x64  and arm7

Here are all the releases : https://github.com/AdguardTeam/AdGuardHome/releases
Zitieren
#10
Hallo zusammen,

ich hatte das Problem ebenfalls mit meiner DS218 am 06.04.2024.
Ebenfalls hatte ich dies im falschen Bereich gemeldet, kam bis jetzt nur nicht dazu das hier zu posten.
Die Lösung von Muiz und admin hat bei mir ebenfalls funktioniert.

1) Ich habe nach Anleitung von admin alles installiert und geprüft wie in #3 aufgeführt.

2) Danach habe ich die ARMv7 Daten aus Post #7 geladen und in das Verzeichnis
/volume1/homes/YourUser/NewFolder/
kopiert.

3) Per Putty mit dem Admin angemeldet und per sudo-i Rootrechte zugewiesen.

4) Ich habe in den Ordner navigiert:
cd /volume1/@appstore/AdGuardHome

und darin folgende Daten gelöscht:
rm CHANGELOG.md
rm AdGuardHome*
rm LICENSE.txt
rm README.md

5) gefolgt vom Verschieben der ARMv7 Daten mit den Befehlen:
mv /volume1/homes/YourUser/NewFolder/AdGuardHome* /volume1/@appstore/AdGuardHome
mv /volume1/homes/YourUser/NewFolder/CHANGELOG.md /volume1/@appstore/AdGuardHome
mv /volume1/homes/YourUser/NewFolder/LICENSE.txt /volume1/@appstore/AdGuardHome
mv /volume1/homes/YourUser/NewFolder/README.md /volume1/@appstore/AdGuardHome

6) Danach habe ich die Rechte zugewiesen mit dem Befehl:
sed -i "s/package/root/g" /var/packages/AdGuardHome/conf/privileg

7) Dann im Synology Betriebssystem unter IP:5000 den Dienst gestartet und per Putty geprüft mit dem Befehl:
/var/packages/AdGuardHome/target/AdGuardHome -s start

Der Dienst läuft und lässt sich nun über Port :3000 aufrufen und einrichten Smile

Liebe Grüße und besten Dank euch beiden!
Zitieren






Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste

Powered by MyBB, © MyBB Group.
Template by Jason Liehr.