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

Failed to install on Home Assitant Yellow hardware #6846

Closed
4 tasks done
multinet33 opened this issue Mar 23, 2024 · 3 comments
Closed
4 tasks done

Failed to install on Home Assitant Yellow hardware #6846

multinet33 opened this issue Mar 23, 2024 · 3 comments
Labels
invalid Not an issue with AGH or a misunderstanding

Comments

@multinet33
Copy link

Prerequisites

Platform (OS and CPU architecture)

Linux, ARM64

Installation

GitHub releases or script from README

Setup

On one machine

AdGuard Home version

latest

Action

Install vi ssh (root user) and command : wget --no-verbose -O - https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v

Expected result

AdGuardHome installed and running as a service

Actual result

[core-ssh ~]$ wget --no-verbose -O - https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v
Connecting to raw.githubusercontent.com (185.199.109.133:443)
writing to stdout

  •                100% |**************************************************************************************************************************************************| 13133  0:00:00 ETA
    

written to stdout
starting AdGuard Home installation script
channel: release
operating system: linux
cpu type: arm64
AdGuard Home will be installed into /opt/AdGuardHome
checking tar
script is executed with root privileges
no need to uninstall
downloading package from https://static.adtidy.org/adguardhome/release/AdGuardHome_linux_arm64.tar.gz -> AdGuardHome_linux_arm64.tar.gz
successfully downloaded AdGuardHome_linux_arm64.tar.gz
unpacking package from AdGuardHome_linux_arm64.tar.gz into /opt
successfully unpacked, contents:
total 29676
-rwxrwxrwx 1 root root 30212096 Mar 20 15:29 AdGuardHome
-rw-rw-rw- 1 root root 587 Mar 20 15:29 AdGuardHome.sig
-rw-r--r-- 1 root root 109975 Mar 20 15:29 CHANGELOG.md
-rw-r--r-- 1 root root 35149 Mar 20 15:29 LICENSE.txt
-rw-r--r-- 1 root root 22300 Mar 20 15:29 README.md
2024/03/23 09:57:16 [info] AdGuard Home, version v0.107.46
2024/03/23 09:57:16 [info] service: control action: install
2024/03/23 09:57:16 [fatal] service: executing action "install": Failed to install AdGuard Home service: Init already exists: /etc/init.d/AdGuardHome
installation failed, removing /opt/AdGuardHome
cannot install AdGuardHome as a service

Additional information and/or screenshots

[core-ssh ~]$ uname -a
Linux core-ssh 6.1.73-haos-raspi #1 SMP PREEMPT Wed Mar 13 12:11:08 UTC 2024 aarch64 Linux

@ghost
Copy link

ghost commented Mar 23, 2024

Was AdGuard Home previously installed?
Performing the following would allow it to get past that step.

$ sudo rm /etc/init.d/AdGuardHome

If the process is still running in the background, you can kill it with:

$ ps aux | grep AdGuardHome
$ sudo kill [PID]

@Cebeerre
Copy link

Given that you're using the Yellow appliance and this comes with HAOS, probably makes more sense that you install AGH as an HAOS Add-on. Have you tried ?

@Cebeerre Cebeerre added the waiting for data Waiting for users to provide more data. label Mar 25, 2024
@multinet33
Copy link
Author

Thank you it is the solution !

@Cebeerre Cebeerre added invalid Not an issue with AGH or a misunderstanding and removed waiting for data Waiting for users to provide more data. labels Mar 25, 2024
@Cebeerre Cebeerre closed this as not planned Won't fix, can't repro, duplicate, stale Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Not an issue with AGH or a misunderstanding
Projects
None yet
Development

No branches or pull requests

2 participants