# Can't install pihole – "error inside the app installation script"

**URL:** https://forum.yunohost.org/t/cant-install-pihole-error-inside-the-app-installation-script/24487
**Category:** Support apps
**Tags:** pihole, install, english
**Created:** [April 22, 2023, 1:44pm UTC](https://forum.yunohost.org/t/cant-install-pihole-error-inside-the-app-installation-script/24487 "2023-04-22T13:44:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![w\_and\_b](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/w/ac8455/32.png) [@w\_and\_b](https://forum.yunohost.org/u/w_and_b)
#### Post date: [April 22, 2023, 1:44pm UTC](https://forum.yunohost.org/t/cant-install-pihole-error-inside-the-app-installation-script/24487/1 "2023-04-22T13:44:12Z")

</div>

### My YunoHost server

**Hardware:** Raspberry Pi 4 at home  
**I have access to my server :** Through SSH and webadmin  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no  
**If yes, please explain:**  
**If your request is related to an app, specify its name and version:** 5.14.2~ynh1

### Description of my issue

I’m trying to install pihole. After a while the installation script exits with the (rather nondescript) error message `An error occurred inside the app installation script`. Here’s my [paste log](https://paste.yunohost.org/raw/oheruqeqip).

The problem seems to be with the user group “admin”. When I `grep admin /etc/group`, the result is empty. Adding the group by hand doesn’t change anything; the script exits with the exact same error.

In case it’s relevant: In the pre-install selection screen I chose to log queries and to use pihole as my DHCP server.

Any ideas?

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [April 26, 2023, 3:24pm UTC](https://forum.yunohost.org/t/cant-install-pihole-error-inside-the-app-installation-script/24487/2 "2023-04-26T15:24:43Z")

</div>

You are on 11.1 and probably did not get rid of the legacy `admin` user, as advised by the release note.

Or anyway you should pick a different user for the “Choose an administrator for this app” question during PiHole install

---

<div class="post-metadata">

### Author: ![w\_and\_b](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/w/ac8455/32.png) [@w\_and\_b](https://forum.yunohost.org/u/w_and_b)
#### Post date: [April 26, 2023, 4:00pm UTC](https://forum.yunohost.org/t/cant-install-pihole-error-inside-the-app-installation-script/24487/3 "2023-04-26T16:00:56Z")

</div>

You’re right, with a user who is not admin the install process finishes fine. Thanks!

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [May 11, 2023, 4:01pm UTC](https://forum.yunohost.org/t/cant-install-pihole-error-inside-the-app-installation-script/24487/4 "2023-05-11T16:01:11Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
