Any chance we can have 64bit images for ARM as an option too? We shouldn’t even have problems running the binaries compiled for archv7 because archv8 supports running those binaries directly.
I am using the official YunoHost image for my Pi4 for example but it is only armv7l
What’s needed is a volunteer that’s okay to spend its free time on this … For now I don’t even know what / who actually ships ARM64 images (from what I understand you mean for RPi, which is a specific board - ARM images are always board specific for reasons)
Like, I don’t even know if the RPi foundation officially publishes arm64 images (at least their build chain we’re based on doesn’t seem to build arm64 images)
verify/edit the /etc/apt/sources/lists file to reference buster and avoid switching to Bullseye in a while until the devs have finalized the migration script ;
I will try from a fresh installation of Raspberry Pi OS. I’ll clone my SD card before so I can just flash that if anything fails (I am already double minded about ruining a perfectly working and stable server just so I can run arm64 binaries aahhhhhh).
I will also document all the steps (if there are any bodges required) and report back over the weekend.
armv7 binaries don’t even need to be recompiled and run directly. I have marked his instructions as the correct solution if anyone else wants to try this.
I’ve tested the installation on my Raspberry Pi 3 B whitch run the last stable release for testing some stuff … and for the moment it works (since few hours).
First i made a backup (about 350 Mo by yunohost’s backup system with all the stuff selected).
Then I have installed RaspiOS Buster Lite arm64 with Raspberry Pi Imager (Raspberry Pi OS – Raspberry Pi) and installed YunoHost but not apply the post-install.
I’ve restored the backup (1 main domain and 2 sub-domains in ynh.fr, 2 users, 4 apps : Dolibarr, Galene, Mumble Server and phpMyAdmin … even the ssh config with an exotic port) … and tada : all went smoothly <3
@Kayou, i’ve not reinstall the CI. MP if you want to discuss about
The thing to remember is that YunoHost is not yet compatible with Debian Bulleyes.
So I think the best way is to choose an «old» lite image based on Buster because the recent should based on Bulleyes.
After you should check the /etc/apt/sources.list in order to verify if the reference to Buster is explicite and not «old stable» or something like that.
We use Raspbian, recently renamed Raspbian OS, and we do some tweaks such as removing the default Pi user, enabling SSH, etc
Note that Raspbian (at least as far as I’m aware of) is armhf, not arm64, despite the fact that recent versions of RPi (since RPi 3 ?) can run 64 bit OSes
In ARM devices NEVER forget that some apps are incompatible… like Onlyoffice… It only work in x64, so read before trying to install…
The list of apps incompatible with ARM is very little but is not in the main page…
The best option to use Yunohost in raspberry pi… is raspios lite arm64 + bash install script… but u must to be carefull when having expectations… some apps won’t work by themselves… not 'cos of yunohost, instead 'cos of the software itself.
Other apps… abuse in the use of interpreted languages, (element, matrix), and consume a huge amount of ram. Other are more optimized (like nextcloud) … others are just imposible to install (onlyoffice), so… be open minded… and read the docs… MANY of these cases are in the docs of each app.
There’s a really useful guide in one of the other threads where @tituspijean explains how to do an install on on RPi4 with a 64bit image.
I’ve so far found it to be if anything more stable than the 32 bit version but only on YunoHost 4.3.6.2 where there us also a really big speed improvement.
However, whenever I try to update to the Bullseye version, something goes wrong. i’m currently debating with myself whether an immediate upgrade to the Bullseye version is really necessary.
Anyway, I have translated and made step by step with a few alterations the process I mentioned:
Update, to avoid these annoying steps.
If you use the Raspberry-Pi imager to install a clean Raspberry Pi Lite OS image, you can use the advanced settings menu to setup a default username and password (replacing pi):
Enabling SSH there is also recommended if you do not have a screen and keyboard for your RPi.