Adguard installation failed

Hi,

I have a problem when tryong to install adguard home on my server.

My YunoHost server

Hardware: Odroid HC4
YunoHost version: 4.3.4.2
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen if needed |
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : I guess yes
If yes, please explain: I have some changes on fail2ban config and postfix/main config

Description of my issue

I try to install adguard home on my server and it’s failing, not very sure of why.

Here is the yunohost log : https://paste.yunohost.org/raw/ohoqafinav

Relevant lines :

2021-12-11 13:20:06,231: INFO - [#####++++...........] > Setting up source files...
2021-12-11 13:20:06,234: DEBUG - + ynh_app_setting_set --app=adguardhome --key=final_path --value=/var/www/adguardhome
2021-12-11 13:20:06,235: DEBUG - + local _globalapp=adguardhome
2021-12-11 13:20:06,401: DEBUG - + app=adguardhome
2021-12-11 13:20:06,402: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2021-12-11 13:20:06,403: DEBUG - + ynh_app_setting set adguardhome final_path /var/www/adguardhome
2021-12-11 13:20:06,671: DEBUG - + ynh_setup_source --dest_dir=/var/www/adguardhome --source_id=arm64
2021-12-11 13:20:06,779: DEBUG - + source_id=arm64
2021-12-11 13:20:06,780: DEBUG - + keep=
2021-12-11 13:20:06,781: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src
2021-12-11 13:20:06,782: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src
2021-12-11 13:20:06,783: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-11 13:20:06,785: WARNING - grep: /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src: No such file or directory
2021-12-11 13:20:06,787: DEBUG - + local src_url=
2021-12-11 13:20:06,788: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src
2021-12-11 13:20:06,790: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-11 13:20:06,793: WARNING - grep: /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src: No such file or directory
2021-12-11 13:20:06,800: DEBUG - + local src_sum=
2021-12-11 13:20:06,802: WARNING - grep: /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src: No such file or directory
2021-12-11 13:20:06,804: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-11 13:20:06,805: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src
2021-12-11 13:20:06,807: DEBUG - + local src_sumprg=
2021-12-11 13:20:06,808: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-11 13:20:06,809: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src
2021-12-11 13:20:06,811: WARNING - grep: /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src: No such file or directory
2021-12-11 13:20:06,814: DEBUG - + local src_format=
2021-12-11 13:20:06,817: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-11 13:20:06,818: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src
2021-12-11 13:20:06,820: WARNING - grep: /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src: No such file or directory
2021-12-11 13:20:06,823: DEBUG - + local src_extract=
2021-12-11 13:20:06,825: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-11 13:20:06,827: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src
2021-12-11 13:20:06,829: WARNING - grep: /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src: No such file or directory
2021-12-11 13:20:06,832: DEBUG - + local src_in_subdir=
2021-12-11 13:20:06,833: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src
2021-12-11 13:20:06,835: DEBUG - ++ cut --delimiter== --fields=2-
2021-12-11 13:20:06,837: WARNING - grep: /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src: No such file or directory
2021-12-11 13:20:06,840: DEBUG - + local src_filename=
2021-12-11 13:20:06,841: DEBUG - + src_sumprg=sha256sum
2021-12-11 13:20:06,842: DEBUG - + src_in_subdir=true
2021-12-11 13:20:06,843: DEBUG - + src_format=tar.gz
2021-12-11 13:20:06,844: DEBUG - ++ echo tar.gz
2021-12-11 13:20:06,845: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2021-12-11 13:20:06,851: DEBUG - + src_format=tar.gz
2021-12-11 13:20:06,853: DEBUG - + src_extract=true
2021-12-11 13:20:06,854: DEBUG - + '[' '' = '' ']'
2021-12-11 13:20:06,854: DEBUG - + src_filename=arm64.tar.gz
2021-12-11 13:20:06,855: DEBUG - + local local_src=/opt/yunohost-apps-src/adguardhome/arm64.tar.gz
2021-12-11 13:20:06,856: DEBUG - + mkdir -p /var/cache/yunohost/download/adguardhome/
2021-12-11 13:20:06,862: DEBUG - + src_filename=/var/cache/yunohost/download/adguardhome/arm64.tar.gz
2021-12-11 13:20:06,863: DEBUG - + test -e /opt/yunohost-apps-src/adguardhome/arm64.tar.gz
2021-12-11 13:20:06,864: DEBUG - + '[' -n '' ']'
2021-12-11 13:20:06,865: DEBUG - + ynh_die 'Couldn'\''t parse SOURCE_URL from /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src ?'
2021-12-11 13:20:06,908: WARNING - Couldn't parse SOURCE_URL from /var/cache/yunohost/app_tmp_work_dirs/app_r2s7xn21/conf/arm64.src ?
2021-12-11 13:20:06,913: DEBUG - + ynh_exit_properly
2021-12-11 13:20:08,422: ERROR - Impossible d'installer adguardhome : Une erreur est survenue dans le script d'installation de l'application

Thank you very much for any help you can provide :slight_smile:
Quiwy

It looks like the app can’t be installed on arm64 right now, only on amd64 (“classic” architecture) and armhf

Just created an issue on github : Installation on arm64 is not working · Issue #23 · YunoHost-Apps/adguardhome_ynh · GitHub

And a merge request : Create arm64.src by Quiwy · Pull Request #24 · YunoHost-Apps/adguardhome_ynh · GitHub

Will wait for integration on master

2 Likes

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