1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00

add troubleshooting page

This commit is contained in:
OniriCorpe 2024-07-06 19:31:59 +02:00
parent 426ba04e3c
commit d9c0a2b0c6
2 changed files with 6 additions and 2 deletions

5
doc/TROUBLESHOOTING.md Normal file
View file

@ -0,0 +1,5 @@
# Troubleshooting
## At leat one IP adress is required to run AdGuard Home
If you're using a VPS that haven't any private IPs, you need to run the command `yunohost app setting adguardhome expose_port_53 -v true` to activate public IP binding and unlock your situation, then re-run the upgrade process. Sorry about that!

View file

@ -106,8 +106,7 @@ if [ -z "${ipv4_addr:-}" ] && [ -z "${ipv6_addr:-}" ]; then
# if the variable 'expose_port_53' is unset or false, maybe the machine # if the variable 'expose_port_53' is unset or false, maybe the machine
# doesn't have any private IP? User guidance is relevant... # doesn't have any private IP? User guidance is relevant...
ynh_die --message="At leat one IP adress is required to run AdGuard Home. Please report this error. ynh_die --message="At leat one IP adress is required to run AdGuard Home. Please report this error.
(If you're using a VPS that haven't any private IPs, you need to run the command \`yunohost app setting adguardhome expose_port_53 -v true\` (You can refer to [the troubleshooting page](https://github.com/YunoHost-Apps/adguardhome_ynh/blob/master/doc/TROUBLESHOOTING.md) to get help)"
to activate public IP binding and unlock your situation, then re-run the upgrade process. Sorry about that!)"
else else
# else, do not show the message under parenthesis, because it's irrelevant # else, do not show the message under parenthesis, because it's irrelevant
ynh_die --message="At leat one IP adress is required to run AdGuard Home. Please report this error." ynh_die --message="At leat one IP adress is required to run AdGuard Home. Please report this error."