Wednesday, February 08, 2023
support@conference.yunohost.org
February
Mon Tue Wed Thu Fri Sat Sun
    1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
         
             

[20:21:26] <FredJ> Bonjour,
Je retente une demande de résolution pour mettre à jour un Nextcloud 22.2.3 -> 25.0.3
Système : Bullseye sur un nano comp Odroid.
yunohost:
repo: stable
version: 11.1.5.5
yunohost-admin:
repo: stable
version: 11.1.4
moulinette:
repo: stable
version: 11.1.4
ssowat:
repo: stable
version: 11.1.4
Dans les logs, il semble que Nextcloud-ynh-deps nécessite PHP8.1
Or, plus loin dans les logs, il est écrit que ce n'est pas compatible avec une version > à 8.0
2023-02-05 15:51:21,535: DEBUG - This version of Nextcloud is not compatible with > PHP 8.0.You are currently running 8.1.15.+ ynh\_exit\_properly

Avez-vous déjà rencontré ce soucis?
Comment avez-vous pu contourner le problème?
Avez-vous pu faire une mise à jour en plusieurs fois : 22->23 23->24 24->25?
Merci de vos réponses,
[20:22:41] <FredJ> Re-bonjour,
Maintenant que je suis arrivé à refaire fonctionner Nextcloud et Matrix \\o/ je reviens pour une question :
J'ai une erreur lors de la mise à jour de Nextcloud 22.2.3 vers 25.0.3.
D'après ce que je comprends, Nextcloud 25 nécessite PHP8.1
2023-02-05 15:50:32,092: DEBUG - Unpacking nextcloud-ynh-deps (25.0.3~ynh1) over (22.2.3~ynh1) ...
2023-02-05 15:50:32,157: DEBUG - dpkg: nextcloud-ynh-deps: dependency problems, but configuring anyway as you requested:
2023-02-05 15:50:32,157: DEBUG - nextcloud-ynh-deps depends on php8.1-fpm; however:
2023-02-05 15:50:32,157: DEBUG - Package php8.1-fpm is not installed.
2023-02-05 15:50:32,158: DEBUG - nextcloud-ynh-deps depends on php8.1-bz2; however:
2023-02-05 15:50:32,158: DEBUG - Package php8.1-bz2 is not installed.
....

Et PHP8.1 semble bien s'installer.
Mais la suite est contradictoire :
2023-02-05 15:51:21,396: DEBUG - + sudo -u nextcloud php8.1 --define apc.enable\_cli=1 occ --no-interaction --no-ansi -V
2023-02-05 15:51:21,535: DEBUG - This version of Nextcloud is not compatible with > PHP 8.0.You are currently running 8.1.15.+ ynh\_exit\_properly
2023-02-05 15:51:21,536: DEBUG - + local exit\_code=255
2023-02-05 15:51:21,538: DEBUG - + '\[' 255 -eq 0 '\]'
2023-02-05 15:51:22,041: DEBUG - + ynh\_clean\_setup 2023-02-05 15:51:22,042: DEBUG - + ynh\_restore\_upgradebackup

D'ou ma question : pourquoi le script installe PHP8.1 pour ensuite annoncer que Nextcloud 25 ne fonctionne pas avec des versions > à PHP8.0?
Est-ce que mon interprétation des logs est bonne?
En vous remerciant de vos réponses,
A bientôt,
[20:43:37] <tane> Security question: With the change from admin to <first user> in the admin group, am I not better to create a new random user, add them to the admin group, test it, and then remove the <first user> from the admin group. Otherwise the current administrative password will be used to log into email, nextcloud, damn near everything?
[20:59:20] <tituspijean> That is a sound thought.
[21:03:34] <c014> Where is the binary for thelounge located? I want to install additional themes
[21:12:24] <c014> ah installed through npm
[21:30:00] <phinero> > <@Alekswag:matrix.org> you should run `yunohost backup restore ...` directly from the command line

Hmm....
https://paste.yunohost.org/ojeduxeboh.sql
[21:30:49] <Aleks (he/him/il/lui)> 😬
[21:58:35] <Aleks (he/him/il/lui)> phinero: should be fixed in 11.1.6.1