Sunday, February 23, 2025
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
   
             

[05:07:19] <tituspijean> > <@jorgeluis:pub.solar> Can someone help me with this?

It's a bit tricky to help you if you do not explicitly quote the commands or actions you ran and their output. 😇

Migrating Mastodon is no easy thing, are you following a tutorial? there are a few mentions of it on the forum. This one could be of interest: https://forum.yunohost.org/t/migrating-an-existing-mastodon-instance-in-yunohost/25240
[10:52:05] <tripop> So, just for saying : seem there's a `npm corepack` bug actually, with a matching key error. At least on Sharkey install. But hope it's not touching other projects as well. Here the git issue : https://github.com/YunoHost-Apps/sharkey_ynh/issues/35
[12:43:35] <rodinux> zut, j'ai un soucis sur mon serveur local !
```
yunohost
Traceback (most recent call last):
File "/usr/bin/yunohost", line 25, in <module>
import yunohost
ModuleNotFoundError: No module named 'yunohost'
```
[12:49:36] <rodinux> Sur ce serveur j'ai un borg (server) installé qui reçoit des sauvegardes distantes, j'ai voulu ajouter une app borgbackup pour faire une sauvegarde locale, je crois que c'est là que le problème est apparu...
[12:58:52] <rodinux> je ne vois plus les champs dans la webadmin aussi...
[12:59:43] <Aleks (he/him/il/lui)> que racontent `dpkg --list | grep yunohost` et `ls -ld /usr/lib/python3/dist-packages/yunohost`
[13:00:34] <rodinux> ```
dpkg -l | grep yunohost*
ii yunohost 12.0.11 all manageable and configured self-hosting server
ii yunohost-admin 12.0.5 all web administration interface for yunohost
ii yunohost-portal 12.0.7 all user portal designed for yunohost

[13:01:03] <rodinux> ```
ls -ld /usr/lib/python3/dist-packages/yunohost
drwxr-xr-x 9 root root 4096 Jan 25 18:42 /usr/lib/python3/dist-packages/yunohost
[13:01:54] <Aleks (he/him/il/lui)> quid de `python3 -c "import sys; print(sys.path)"` ?
[13:02:27] <rodinux> ```
python3 -c "import sys; print(sys.path)"
['', '/usr/lib/python311.zip', '/usr/lib/python3.11', '/usr/lib/python3.11/lib-dynload', '/var/www/borg/venv/lib/python3.11/site-packages']
[13:03:00] <Aleks (he/him/il/lui)> ben genre t'as sourcé le venv dans ton shell actuel c'est ça ?
[13:04:52] <Aleks (he/him/il/lui)> bref je sais pas ce que t'as fait mais ferme et réouvre ton terminal ...
[13:05:19] <rodinux> Ah, j'ai tenté cela
```
app=borg
PATH="/var/www/$app/venv/bin/:$PATH"
export BORG_PASSPHRASE="$(sudo yunohost app setting $app passphrase)"
repository="$(sudo yunohost app setting $app repository)"
borg list "$repository" | less
[13:05:32] <Aleks (he/him/il/lui)> et avant ça ?
[13:09:18] <rodinux> avant ? avant j'ai essayé de faire un script .sh de sauvegarde locale avec des commandes `yunohost backup create` entre autre, mais il n'a jamais fonctionné...
[13:09:45] <Aleks (he/him/il/lui)> bref, t'as sans doute sourcé un venv à un moment donné ...
[13:09:54] <Aleks (he/him/il/lui)> soit tu fais `deactivate`, soit tu relance ton shell
[13:12:14] <rodinux> dans `/var/log/yunohost/yunohost-cli.log`
```
2025-02-23 13:25:16,408 SUCCESS yunohost.configpanel.set - Config updated as expected
2025-02-23 13:25:16,409 DEBUG yunohost.log.close - To view the log of the operation 'Apply settings', use the command 'yunohost log show 20250223-122509-settings_set'
2025-02-23 13:25:16,415 DEBUG moulinette.actionsmap.process - action executed in 7.187s
2025-02-23 13:25:16,415 DEBUG moulinette.core.release - lock has been released
2025-02-23 13:34:17,641 DEBUG moulinette.core.acquire - acquiring lock...
2025-02-23 13:34:17,654 DEBUG moulinette.actionsmap.process - loading python module yunohost.service took 0.002s
2025-02-23 13:34:17,654 DEBUG moulinette.actionsmap.process - processing action 'yunohost.service.add'
2025-02-23 13:34:17,748 SUCCESS yunohost.service.service_add - Le service 'borg' a été ajouté
2025-02-23 13:34:17,749 DEBUG moulinette.actionsmap.process - action executed in 0.094s
2025-02-23 13:37:56,073 DEBUG moulinette.actionsmap.process - loading python module yunohost.app took 0.018s
2025-02-23 13:37:56,073 DEBUG moulinette.actionsmap.process - processing action 'yunohost.app.setting'
2025-02-23 13:37:56,075 DEBUG moulinette.actionsmap.process - action executed in 0.002s
2025-02-23 13:39:01,659 DEBUG moulinette.actionsmap.process - loading python module yunohost.app took 0.018s
2025-02-23 13:39:01,659 DEBUG moulinette.actionsmap.process - processing action 'yunohost.app.setting'
2025-02-23 13:39:01,662 DEBUG moulinette.actionsmap.process - action executed in 0.002s
2025-02-23 13:47:00,649 DEBUG moulinette.actionsmap.process - loading python module yunohost.app took 0.018s
2025-02-23 13:47:00,649 DEBUG moulinette.actionsmap.process - processing action 'yunohost.app.setting'
2025-02-23 13:47:00,653 DEBUG moulinette.actionsmap.process - action executed in 0.004s
2025-02-23 13:47:00,896 DEBUG moulinette.actionsmap.process - loading python module yunohost.app took 0.020s
2025-02-23 13:47:00,896 DEBUG moulinette.actionsmap.process - processing action 'yunohost.app.setting'
2025-02-23 13:47:00,900 DEBUG moulinette.actionsmap.process - action executed in 0.004s
2025-02-23 13:47:01,162 DEBUG moulinette.actionsmap.process - loading python module yunohost.app took 0.019s
2025-02-23 13:47:01,162 DEBUG moulinette.actionsmap.process - processing action 'yunohost.app.setting'
2025-02-23 13:47:01,164 DEBUG moulinette.actionsmap.process - action executed in 0.002s
2025-02-23 13:47:01,539 DEBUG moulinette.core.acquire - acquiring lock...
2025-02-23 13:47:16,602 WARNING moulinette.core.acquire - Une autre commande YunoHost est actuellement en cours, nous attendons qu'elle se termine avant de démarrer celle là
2025-02-23 13:48:01,754 WARNING moulinette.core.acquire - Toujours en attente...
2025-02-23 13:51:01,844 WARNING moulinette.core.acquire - Toujours en attente...
2025-02-23 14:03:01,790 WARNING moulinette.core.acquire - Toujours en attente..
[13:14:06] <rodinux> Ok, en effet en quittant root avec l'user je peux utiliser `sudo yunohost log list`
[13:20:46] <rodinux> peut-être aussi car j'utilise des `yunohost settings set security.webadmin.webadmin_allowlist_enabled -v no` ou `yunohost settings get security.webadmin.webadmin_allowlist_enabled -v yes` en fait faut-il utiliser `false` ou `true` ? ou `0` et `1` ?? avant avec YNH11 j'utilisait `True` ou `False`, mais depuis YNH12 j'utilise `no` ou `yes` ???
[13:21:41] <Aleks (he/him/il/lui)> ça n'a pas de rapport
[13:23:52] <rodinux> en tous cas c'est bien ça, c'est revenu, merci... de toute façon il a lancé une sauvegarde borg quand j'ai redémarré le service borg via la webadmin et c'est là que ça a bloqué la webadmin
[14:40:30] <rodinux> Je crois que d'avoir lancé le service borg depuis la webadmin était une mauvaise idée
[16:44:39] <poesty> https://aria.im/_bifrost/v1/media/download/AQyQ3qk81fBgqWGp3xsbuN8wXkE3e62TNX__dw6dcQ6TyfZ07UFB19piyJRee_-rPKkBwbWtFmTL8TEe4rCvQbJCeVONit_QAG1hdHJpeC5xdW5uLmV1LzBmODg4NmJmYjVjNDhlNGM1YWJjOGUzOWYzZmM2Mjc1MGM3N2VjNTI1ZTMxZmIzN2EyMzc2NGIwZTEyNDZlOWY
[16:46:35] <poesty> It looks like the landing page of yunohost.org is not available in Simplified Chinese. Possibly related to wrong language code?
[18:44:33] <cippr> Bonsoir, pouvez-vous me confirmer si le problème de "YunoHost DynDNS update" vous a bien déjà été signalé ? Si besoin je peux fournir les détails donné dans le mail du cron (arm64 ; YunoHost 12.0.11 stable)
[19:33:04] <cippr> https://paste.yunohost.org/ihixeyopih.swift