Yunohost Install potential root issue Yunohost update to 4.3

Bonjour!

J’ai installé yunohost sur mon Raspberry 3B+ en flashant directement sur Etcher. J’avais configuré le nécessaire (redirecttion des ports, création utilisateurs) et connecté à mon domaine mais au moment d’installer mes premières apps (Firefly III et Nextcloud) j’ai eu le message suivant : “Requirements are not met for firefly-iii, the package yunohost (4.1.7.2) must be >= 4.3.0” (interface web) et ai trouvé le post 18691 sur ce forum qui explique qu’il faut installer Debian 10 pour cela.

Je télécharge Debian 10 et flash l’image via Raspberry Pi Imager avant de tenter l’installation en curl de yunohost mais ne semble pas parvenir à me connecter en SSH (denied).

Je formatte la SD et reflash Debian 10 et arrive à me connecter en SSH et tente à nouveau l’installation de yunohost en curl comme expliqué sur le post précédemment mentionné pour obtenir l’erreur suivante:

pi@raspberrypi:~ $ sudo -i curl https://install.yunohost.org | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22546 100 22546 0 0 157k 0 --:–:-- --:–:-- --:–:-- 158k
tee: /var/log/yunohost-installation_20220410_121851.log: Permission denied
[FAIL] This script must be run as root. On most setups, typing ‘sudo -i’ can be used to become root.
tee: /var/log/yunohost-installation_20220410_121851.log: Permission denied
[INFO] Installation logs are available in /var/log/yunohost-installation_20220410_121851.log

Pas de config particulière mais 1ere expérience avec le CLI et pas de background ni de connaissances.

N’hésitez pas à m’expliquer comme si j’avais 5 ans ou pointer les erreurs précédentes pour que je puisse apprendre davantage et merci beaucoup pour votre aptience et aide!

English version:

Heya!

Quick context, I installed yunohost on my Raspberry Pi 3B+ using Etcher to flash. Followed the instructions on the page and set everything up (connected to my domain name, port configuration and creating users) and went on to install apps but ran into this message : “Requirements are not met for firefly-iii, the package yunohost (4.1.7.2) must be >= 4.3.0” (web interface) and found the issue 18691 which mentioned to install Debian 10 instead. I installed Debian 10 by flashing the image via Raspberry Pi imager but couldn’t connect via SSH so formatted the SD card, flashed again and managed to connect via SSH.

I then proceeded to install yunohost using the curl command as detailed in the aforementioned issue but get the following message:

pi@raspberrypi:~ $ sudo -i curl https://install.yunohost.org | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22546 100 22546 0 0 157k 0 --:–:-- --:–:-- --:–:-- 158k
tee: /var/log/yunohost-installation_20220410_121851.log: Permission denied
[FAIL] This script must be run as root. On most setups, typing ‘sudo -i’ can be used to become root.
tee: /var/log/yunohost-installation_20220410_121851.log: Permission denied
[INFO] Installation logs are available in /var/log/yunohost-installation_20220410_121851.log

I think it’s probably obvious for my actions but I have no IT background whatsoever and this was my first experience with the CLI, discovering SSH and trying to understand what I was doing so I will be glad if explanations are detailed or if mistakes are pointed out in order to progress!

Big thanks for the help and for your time!

No, you should have simply upgraded YunoHost. :wink: The issue you linked is unrelated to yours (it talks about first booting the system, while yours works).

sudo -i
Here press Enter.
curl https://install.yunohost.org | bash
Here press Enter.

2 Likes

Hello,

Thank you very much. I had try to update first through the web interface but had some issues for which I didn’t keep the log but found it could be solved through ssh sudo apt update which I did before updating successfully.

Was yunohost’s update through a different path?

For the sudo -i I had found this but made it into one line

sudo -i curl https://install.yunohost.org | bash

I get where the mistake was here and the installation is ongoing!

Given that it is a raspberry pi with limited horsepower, wouldn’t Debian 10 be too heavy?

Thank you very very much!

Best practices are described there: Upgrades | Yunohost Documentation

I have proposed a small rewording of that sentence to make it more clear.

It runs fine for plenty of people, myself included. It largely depends on what apps you install, obviously.

2 Likes

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