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

Can't install in macOS as a service #7441

Open
4 tasks done
04bondgoods opened this issue Nov 16, 2024 · 0 comments
Open
4 tasks done

Can't install in macOS as a service #7441

04bondgoods opened this issue Nov 16, 2024 · 0 comments

Comments

@04bondgoods
Copy link

04bondgoods commented Nov 16, 2024

Prerequisites

Platform (OS and CPU architecture)

Darwin (aka macOS), ARM64

Installation

GitHub releases or script from README

Setup

On one machine

AdGuard Home version

v0.107.54

Action

Replace the following command with the one you're calling or a
description of the failing action:

wget --no-verbose -O - https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v -u
wget --no-verbose -O - https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v

Expected result

adguardhome successfully installed and running

Actual result

~ wget --no-verbose -O - https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v
2024-11-16 15:31:22 URL:https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh [13280/13280] -> "-" [1]
starting AdGuard Home installation script
channel: release
operating system: darwin
cpu type: arm64
AdGuard Home will be installed into /Applications/AdGuardHome
checking unzip
note that AdGuard Home requires root privileges to install using this script
restarting with root privileges
starting AdGuard Home installation script
channel: release
operating system: darwin
cpu type: arm64
AdGuard Home will be installed into /Applications/AdGuardHome
checking unzip
script is executed with root privileges
no need to uninstall
downloading package from https://static.adtidy.org/adguardhome/release/AdGuardHome_darwin_arm64.zip to AdGuardHome_darwin_arm64.zip
successfully downloaded AdGuardHome_darwin_arm64.zip
unpacking package from AdGuardHome_darwin_arm64.zip into /Applications
Archive:  AdGuardHome_darwin_arm64.zip
   creating: /Applications/AdGuardHome/
  inflating: /Applications/AdGuardHome/AdGuardHome
  inflating: /Applications/AdGuardHome/LICENSE.txt
 extracting: /Applications/AdGuardHome/AdGuardHome.sig
  inflating: /Applications/AdGuardHome/README.md
  inflating: /Applications/AdGuardHome/CHANGELOG.md
successfully unpacked, contents:
total 59208
-rwxrwxrwx  1 root  admin  30122130 Nov  6 21:17 AdGuardHome
-rw-rw-rw-  1 root  admin       566 Nov  6 21:17 AdGuardHome.sig
-rw-r--r--  1 root  admin    121535 Nov  6 21:17 CHANGELOG.md
-rw-r--r--  1 root  admin     35149 Nov  6 21:17 LICENSE.txt
-rw-r--r--  1 root  admin     21812 Nov  6 21:17 README.md
2024/11/16 15:31:24 [info] AdGuard Home, version v0.107.54
2024/11/16 15:31:24 [info] service: control action: install
2024/11/16 15:31:24 [fatal] service: executing action "install": Failed to install AdGuard Home service: Init already exists: /Library/LaunchDaemons/AdGuardHome.plist
installation failed, removing /Applications/AdGuardHome
cannot install AdGuardHome as a service

Additional information and/or screenshots

system: macos version: 15.0.1
me: experienced user with adguardhome running in windows, linux, and another macos
problem: using macos terminal, tried fully uninstall+reinstall using official shell script, can't install as a service.
note: running without service - sudo ./AdGuardHome -s run works, so it's probably some problem with launchctl.
also tried running the shell script with root privilege, no luck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant