Describe the bug
It is impossible to install Simple-Torrent on a Raspberry pi (4) if you use the official Yunohost image on installation.
It seems like it is a x32 OS but Raspberri pi 4 support x64 apps si while hardware is okay, software from the image makes it impossible.
#WorkAround#
User 'tituspijean' told me that flahsing Raspbian and then using the Yunohost install script would make this work (yet to try).
Context
- Hardware: Raspberry PI 4 8Go
- YunoHost version: 4.3.4.2 stable
- I have access to my server: Through SSH YES | through the webadmin YES | direct access via keyboard / screen YES
- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
- Using, or trying to install package version/branch: Simple-torrent 1.3.9
Steps to reproduce
- Flash Yunohost image on Raspberry Pi
- Install Yunohost
- Try installing simple-torrent
- See error
Expected behavior
The app should install
Logs
args:
app: simple-torrent
args: domain=maindomain.tld&path=%2Fsimpletorrent&is_public=1
force: false
label: Simple Torrent
no_remove_on_failure: false
ended_at: 2021-12-09 18:23:19.566645
env:
YNH_APP_ARG_DOMAIN: maindomain.tld
YNH_APP_ARG_IS_PUBLIC: '1'
YNH_APP_ARG_PATH: /simpletorrent
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_d8k3l5l0
YNH_APP_ID: simple-torrent
YNH_APP_INSTANCE_NAME: simple-torrent
YNH_APP_INSTANCE_NUMBER: '1'
YNH_APP_MANIFEST_VERSION: 1.3.9~ynh3
YNH_ARCH: armhf
error: Une erreur est survenue dans le script d'installation de l'application
interface: api
operation: app_install
parent: null
related_to:
-
- app
- simple-torrent
started_at: 2021-12-09 18:23:17.172081
success: false
yunohost_version: 4.3.4.2
============
2021-12-09 18:23:17,199: INFO - Installation de simple-torrent...
2021-12-09 18:23:17,288: DEBUG - Nothing to update in LDAP
2021-12-09 18:23:17,289: DEBUG - Permission 'simple-torrent.main' mise à jour
2021-12-09 18:23:17,315: DEBUG - Journal complet de cette opération : ' Mise à jour de l'URL associée à l'autorisation 'simple-torrent' '
2021-12-09 18:23:17,390: DEBUG - The permission database has been resynchronized
2021-12-09 18:23:17,440: DEBUG - La configuration de SSOwat a été regénérée
2021-12-09 18:23:17,500: DEBUG - Permission 'simple-torrent.main' créée
2021-12-09 18:23:17,501: DEBUG - Journal complet de cette opération : ' Créer permission 'simple-torrent' '
2021-12-09 18:23:17,547: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
2021-12-09 18:23:17,570: DEBUG - + source _common.sh
2021-12-09 18:23:17,571: DEBUG - + source /usr/share/yunohost/helpers
2021-12-09 18:23:17,573: DEBUG - +++ set +o
2021-12-09 18:23:17,573: DEBUG - +++ grep xtrace
2021-12-09 18:23:17,578: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-12-09 18:23:17,578: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-12-09 18:23:17,655: DEBUG - + ynh_abort_if_errors
2021-12-09 18:23:17,656: DEBUG - + trap ynh_exit_properly EXIT
2021-12-09 18:23:17,657: DEBUG - + domain=maindomain.tld
2021-12-09 18:23:17,657: DEBUG - + path_url=/simpletorrent
2021-12-09 18:23:17,658: DEBUG - + is_public=1
2021-12-09 18:23:17,658: DEBUG - ++ ynh_detect_arch
2021-12-09 18:23:17,660: DEBUG - +++ uname -m
2021-12-09 18:23:17,661: DEBUG - +++ grep arm64
2021-12-09 18:23:17,667: DEBUG - ++ '[' -n '' ']'
2021-12-09 18:23:17,669: DEBUG - +++ uname -m
2021-12-09 18:23:17,669: DEBUG - +++ grep aarch64
2021-12-09 18:23:17,675: DEBUG - ++ '[' -n '' ']'
2021-12-09 18:23:17,677: DEBUG - +++ uname -m
2021-12-09 18:23:17,678: DEBUG - +++ grep 86
2021-12-09 18:23:17,683: DEBUG - ++ '[' -n '' ']'
2021-12-09 18:23:17,685: DEBUG - +++ uname -m
2021-12-09 18:23:17,686: DEBUG - +++ grep 64
2021-12-09 18:23:17,691: DEBUG - ++ '[' -n '' ']'
2021-12-09 18:23:17,692: DEBUG - ++ architecture=unknown
2021-12-09 18:23:17,692: DEBUG - ++ echo unknown
2021-12-09 18:23:17,692: DEBUG - + architecture=unknown
2021-12-09 18:23:17,693: DEBUG - + app=simple-torrent
2021-12-09 18:23:17,946: INFO - [....................] > Validating installation parameters...
2021-12-09 18:23:17,951: DEBUG - + '[' unknown == unknown ']'
2021-12-09 18:23:17,952: DEBUG - + ynh_die '--message=Sorry, this app cannot be installed on a 32-bit ARM machine.'
2021-12-09 18:23:18,025: WARNING - Sorry, this app cannot be installed on a 32-bit ARM machine.
2021-12-09 18:23:18,028: DEBUG - + ynh_exit_properly
2021-12-09 18:23:19,564: ERROR - Impossible d'installer simple-torrent : Une erreur est survenue dans le script d'installation de l'application