YunoHost-Apps / adguardhome_ynh

AdGuard Home package for YunoHost: Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
15 stars 15 forks source link

Install failed : At leat one IP adress is required to run AdGuard Home. #184

Open jeey opened 4 months ago

jeey commented 4 months ago

Describe the bug

Try to install AdGuard Home on my Yunoshot instance. The installation failed with the error : 2024-06-29 19:27:42,321: WARNING - At leat one IP adress is required to run AdGuard Home. Please report this error. 2024-06-29 19:27:43,822: ERROR - Impossible d'installer adguardhome : Une erreur est survenue dans le script d'installation de l'application

Context

Steps to reproduce

Expected behavior

Installation works.

Logs

2024-06-29 19:27:42,308: DEBUG - + ipv6_addr= 2024-06-29 19:27:42,308: DEBUG - + update_agh_ip_config 2024-06-29 19:27:42,308: DEBUG - + '[' -z '' ']' 2024-06-29 19:27:42,308: DEBUG - + '[' -z '' ']' 2024-06-29 19:27:42,309: DEBUG - + ynh_die '--message=At leat one IP adress is required to run AdGuard Home. Please report this error.' 2024-06-29 19:27:42,318: DEBUG - + ynh_exit_properly 2024-06-29 19:27:42,319: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]] 2024-06-29 19:27:42,321: WARNING - At leat one IP adress is required to run AdGuard Home. Please report this error. 2024-06-29 19:27:43,822: ERROR - Impossible d'installer adguardhome : Une erreur est survenue dans le script d'installation de l'application

Ddataa commented 4 months ago

Same error here during upgrade

Upgrading NGINX web server configuration...
Updating a configuration file...
At leat one IP adress is required to run AdGuard Home. Please report this error.
Could not upgrade adguardhome: An error occurred inside the app upgrade script

https://paste.yunohost.org/raw/vutazosoli

Ddataa commented 4 months ago

Same error after un-installing and try to install afterwards...

Ddataa commented 4 months ago

try this solution from troobleshoot page

yunohost app setting adguardhome expose_port_53 -v true