Illegal instruction during postinstall

My YunoHost server

Hardware: Raspberry Pi at home
YunoHost version: 4.1.7.2
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | All of it
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Hello,

i have tested Yunohost on an old computer, it works.
Now i want to have it on my Raspberry Pi.

I’ve done all of the documentation Install YunoHost | Yunohost Documentation up to the initial configuration.

i’ve done it with direct access, SSH, same error.

root@yunohost:~# yunohost tools postinstall
Main domain: yuno.my.domain
New administration password:
Confirm new administration password:
Illegal instruction
root@yunohost:~#

nothing else.
i’ve tried with webadmin, another error but no good result

The YunoHost API is not responding. Maybe 'yunohost-api' is down or got restarted?

i’ve tried to restart but no change.
it’s out of the box, what i miss ?

while searching for an answer, i’ve done

# apt update
# apt upgrade

Pro-tips : it take a while, especially reading changelog :wink:

after a while

Setting up metronome (3.14.5+ynh10-1) ...
Installing new version of config file /etc/metronome/certs/Makefile ...
Installing new version of config file /etc/metronome/metronome.cfg.lua ...
Job for metronome.service failed because the control process exited with error code.
See "systemctl status metronome.service" and "journalctl -xe" for details.
invoke-rc.d: initscript metronome, action "start" failed.
● metronome.service - LSB: Metronome XMPP Server
   Loaded: loaded (/etc/init.d/metronome; generated)
   Active: failed (Result: exit-code) since Sun 2022-05-01 12:15:36 BST; 208ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 18703 ExecStart=/etc/init.d/metronome start (code=exited, status=1/FAILURE)

May 01 12:15:35 yunohost systemd[1]: Starting LSB: Metronome XMPP Server...
May 01 12:15:36 yunohost metronome[18703]: Starting Metronome XMPP Server: metronomeIllegal instruction
May 01 12:15:36 yunohost metronome[18703]:  failed!
May 01 12:15:36 yunohost systemd[1]: metronome.service: Control process exited, code=exited, status=1/FAILURE
May 01 12:15:36 yunohost systemd[1]: metronome.service: Failed with result 'exit-code'.
May 01 12:15:36 yunohost systemd[1]: Failed to start LSB: Metronome XMPP Server.
dpkg: error processing package metronome (--configure):
 installed metronome package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 metronome
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@yunohost:~#

and when i try

root@yunohost:~# yunohost tools postinstall
Main domain: yuno.mokujin.org
New administration password: **********
Confirm new administration password: **********
Illegal instruction
root@yunohost:~#

You can try to install directly the last YunoHost version on top of Debian 10 Buster. First install raspios lite buster arm64 that you can find here → Index of /raspios_lite_arm64/images/raspios_lite_arm64-2021-05-28 on you Rpi if it support arm64 (otherwise install the 32 bits version)

then execute in sudo :

curl https://install.yunohost.org | bash

I’m not sure i understand:
i download this image, put it on my sdcard with balenaEtcher and then use the curl command ?

Exactly ! You execute the curl command on the pi with a screen/keyboard or via SSH.
Which Rpi do you have ?

Raspberry B+, no idea if it’s 64 or 32

Are you sure it’s an RPi2 (from your link above)? My guess this is RPi 1, check our documentation: Install YunoHost | Yunohost Documentation

Check dpkg --print-architecture, but I think RPi1 is 32 bits only.

Probably 32 bits architecture if it’s a Rpi 1 B+. If you need the 32 bits image of raspios buster it’s here → Index of /raspios_armhf/images/raspios_armhf-2021-05-28

RPi B+ v1.2 : Buy a Raspberry Pi 1 Model B+ – Raspberry Pi
Thanks for the info.

I’ll try this week-end.

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