|
AdGuardHome on Synology DSM 7.X ohne Docker does not start - Druckversion +- SynologyMe - Projekte (https://source.synology.me/mybb2) +-- Forum: Synology (https://source.synology.me/mybb2/forumdisplay.php?fid=3) +--- Forum: Projekte (https://source.synology.me/mybb2/forumdisplay.php?fid=4) +---- Forum: AdGuardHome (https://source.synology.me/mybb2/forumdisplay.php?fid=41) +----- Forum: Nachgefragt (https://source.synology.me/mybb2/forumdisplay.php?fid=42) +----- Thema: AdGuardHome on Synology DSM 7.X ohne Docker does not start (/showthread.php?tid=199) Seiten:
1
2
|
AdGuardHome on Synology DSM 7.X ohne Docker does not start - muiz - 05-17-2024 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.... RE: AdGuardHome on Synology DSM 7.X ohne Docker does not start - admin - 05-18-2024 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/privilegGo to the Code: /volume1/@appstore/AdGuardHome4. Then run the following command: Code: /var/packages/AdGuardHome/target/AdGuardHome -s installWhat is the output?? 5. After this run the following command: Code: /var/packages/AdGuardHome/target/AdGuardHome -s startWhat is the output?? Greetz - The admin RE: AdGuardHome on Synology DSM 7.X ohne Docker does not start - muiz - 05-18-2024 (05-18-2024, 01:15 AM)admin schrieb: Hello, please try the following. Code: ~# /var/packages/AdGuardHome/target/AdGuardHome -s start
-ash: /var/packages/AdGuardHome/target/AdGuardHome: cannot execute binary file: Exec format errorRE: AdGuardHome on Synology DSM 7.X ohne Docker does not start - admin - 05-18-2024 (05-18-2024, 02:27 PM)muiz schrieb:(05-18-2024, 01:15 AM)admin schrieb: Hello, please try the following. 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 stopIf the solution helped you, be so kind and post it on YouTube and here in the forum. Greetz - The Admin RE: AdGuardHome on Synology DSM 7.X ohne Docker does not start - muiz - 05-18-2024 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/release/AdGuardHome_linux_armv7.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 RE: AdGuardHome on Synology DSM 7.X ohne Docker does not start - admin - 05-18-2024 Thanks for your version. Can you send me the link to the ARM7 files? The Admin RE: AdGuardHome on Synology DSM 7.X ohne Docker does not start - muiz - 05-18-2024 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? RE: AdGuardHome on Synology DSM 7.X ohne Docker does not start - admin - 05-18-2024 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|uninstallSo there are more Versions. armv5 and armv7 Maybe I'll create a version that installs the right version depending on the system. We will see. ![]() Greets - The Admin RE: AdGuardHome on Synology DSM 7.X ohne Docker does not start - muiz - 05-18-2024 I used this : https://github.com/AdguardTeam/AdGuardHome#getting-started There i found this : wget --no-verbose -O - https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v And in putty it showed me this url : https://static.adtidy.org/adguardhome/release/AdGuardHome_linux_armv7.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 RE: AdGuardHome on Synology DSM 7.X ohne Docker does not start - Federation1992 - 05-19-2024 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 ![]() Liebe Grüße und besten Dank euch beiden! |