[08:29:22]
<florent[m]> Very weird behavior when upgrading an app (Grist), but sounds like a Yunohost issue :
https://forum.yunohost.org/t/grist-upgrade-failure/42052/7?u=fflorent
TL;DR:
- the user triggered an `updates>>Upgrade all packages`
- the step logs (so the steps?) are printed twice at different moment
Does it rings you a bell?
[08:35:59]
<Thomas> I think ewilly has reported this issue in one room about immich
[08:37:28]
<Thomas> Does this issue come after clicking several times on the upgrade button or only once?
[08:37:28]
<Thomas> And does it exist when upgrading from cli?
[08:44:46]
<florent[m]> Could be a question to ask
[08:46:11]
<florent[m]> I think the user used the web UI given his message.
EDIT: he explicitly mentions the `webadmin`.
[09:54:47]
<ewilly> Yes it appends several times with immich. Here for example https://forum.yunohost.org/t/immich-fails-to-update-restore/41451/2?u=ewilly
[10:14:03]
<orhtej2> In unrelated news there's a curious case of disappearing PHP pool configs for apps
[10:44:22]
<orhtej2> > In unrelated news there's a curious case of disappearing PHP pool configs for apps
Cf https://forum.yunohost.org/t/backup-php-firefly-iii-conf-not-found/42075?u=orhtej2 but there are other reports for other apps
[10:44:22]
<florent[m]> Thank you! 🙏
[12:36:56]
<orhtej2> > Cf https://forum.yunohost.org/t/backup-php-firefly-iii-conf-not-found/42075?u=orhtej2 but there are other reports for other apps
I feel like backup is run with wrong `php_version` or after `apt` runs, the odd behavior seems to trigger on php version change 🤔
[12:36:57]
<Yunohost Git/Infra notifications> [yunohost] Salamandar pushed to trixie: __init__: Use Pathlib instead of os ([bf2f374b](https://github.com/YunoHost/yunohost/commit/bf2f374b96b0906fb7ada2cb32939b9a0b5efc00))
[12:45:04]
<Yunohost Git/Infra notifications> 🏗️ Starting build for yunohost/13.0.4+202604151445 for trixie/unstable/all...
[12:46:57]
<Yunohost Git/Infra notifications> ✔️ Completed build for yunohost/13.0.4+202604151445 for trixie/unstable/all.
[12:46:58]
<Yunohost Git/Infra notifications> ✔️ Completed distribution for yunohost/13.0.4+202604151445 for trixie/unstable.
[13:33:14]
<florent[m]> Funny ([related to this](https://forum.yunohost.org/t/grist-upgrade-failure/42052/7?u=fflorent)):
```
root@ynh-dev:/ynh-dev# yunohost tools update & yunohost tools update
[1] 5769
Info: Fetching available upgrades for system packages…
Info: Fetching available upgrades for system packages…
Warning: E: Could not get lock /var/lib/apt/lists/lock. It is held by process 5779 (apt-get)
Warning: E: Unable to lock directory /var/lib/apt/lists/
Info: The operation 'Fetching available system updates and refreshing app catalog' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20260415-133054-tools_update' to get help
Error: Unable to update the cache of APT (Debian's package manager). Here is a dump of the sources.list lines, which might help identify problematic lines:
sources.list:deb http://deb.debian.org/debian bookworm main contrib
sources.list:deb http://deb.debian.org/debian bookworm-updates main contrib
sources.list:deb http://deb.debian.org/debian-security/ bookworm-security main contrib
sources.list.d/yarn.list:deb [signed-by=/etc/apt/trusted.gpg.d/yarn.gpg] https://dl.yarnpkg.com/debian/ stable main
sources.list.d/yunohost.list:deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] http://forge.yunohost.org/debian/ bookworm stable testing unstable
sources.list.d/extra_php_version.list:deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] https://packages.sury.org/php/ bookworm main
Info: Updating application catalog…
Success! The application catalog has been updated!
Warning: Uhoh, somehow the lock /var/run/moulinette_yunohost.lock did not exist ...
```
[13:34:23]
<florent[m]> When I try with apt update, the behavior looks more consistent:
```
root@ynh-dev:/ynh-dev# apt update & apt update
[1] 6242
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://dl.yarnpkg.com/debian stable InRelease
Hit:5 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:6 https://packages.sury.org/php bookworm InRelease
Hit:1 https://forge.yunohost.org/debian bookworm InRelease
Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 6243 (apt)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/lib/apt/lists/
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
[1]+ Exit 100 apt update
```
[14:46:38]
<Yunohost Git/Infra notifications> [yunohost] Salamandar pushed to fpu-i18n: Create utils.i18n.m18n, replace moulinette.m18n calls with this package ([8ca07012](https://github.com/YunoHost/yunohost/commit/8ca070125406f312e6d42af9ba56a56ebe83b5dd))
[14:46:45]
<Yunohost Git/Infra notifications> [yunohost] Salamandar pushed to fpu-i18n: utils.i18n: Implement M18N as wrapper around moulinette. It will call gettext in the future. ([0b679575](https://github.com/YunoHost/yunohost/commit/0b67957572ba6fcaef1fc6f36eb39d744893da9b))
[14:46:45]
<Yunohost Git/Infra notifications> [yunohost] Salamandar pushed to fpu-i18n: maintenance: Add convert_locales to convert .json to .po files ([36ed5a78](https://github.com/YunoHost/yunohost/commit/36ed5a783adb5989117a575f8b008ee609cbfbf8))
[14:48:30]
<Yunohost Git/Infra notifications> [yunohost] Salamandar pushed to fpu-i18n: maintenance: Add convert_locales to convert .json to .po files ([7454928e](https://github.com/YunoHost/yunohost/commit/7454928e98d663ee917b84f060208d2ead979e28))
[16:14:06]
<Yunohost Git/Infra notifications> [yunohost] Salamandar pushed to fpu-i18n: utils.i18n: Implement M18N as wrapper around moulinette. It will call gettext in the future. ([c312eeef](https://github.com/YunoHost/yunohost/commit/c312eeef733b3eab2d9e38dd30f6179e1676da8e))
[16:14:11]
<Yunohost Git/Infra notifications> [yunohost] Salamandar pushed to fpu-i18n: maintenance: Add convert_locales to convert .json to .po files ([4b305c9b](https://github.com/YunoHost/yunohost/commit/4b305c9b152b05982d2681a6d03ac5b64781ff2b))
[16:14:23]
<Yunohost Git/Infra notifications> [yunohost] Salamandar pushed to fpu-i18n: utils.i18n: Use gettext and .mo files to handle translations ([7e68a07a](https://github.com/YunoHost/yunohost/commit/7e68a07ae300679a8f4e4a14b22c7421c0029a83))
[16:17:51]
<Yunohost Git/Infra notifications> [yunohost] Salamandar pushed to fpu-i18n: utils.i18n: Use gettext and .mo files to handle translations ([6d57831c](https://github.com/YunoHost/yunohost/commit/6d57831c1f4eb5edb8544dc726956fbca1f537cb))
[17:39:30]
<emile> ```
:~# yunohost
Traceback (most recent call last):
File "/usr/bin/yunohost", line 25, in <module>
import yunohost
ModuleNotFoundError: No module named 'yunohost'
[17:39:37]
<emile> 🚀
[17:40:09]
<emile> what can I do ?
[17:44:29]
<emile> hmmok seems my fault
[17:48:09]
<Salamandar> :D
[17:49:06]
<emile> ```
yunohost backup restore --force nextcloud-pre-upgrade2.tar
Error: The following apps can't be restored because they are already installed: nextcloud
[17:49:37]
<emile> hmm this is weird even with --force, yuno won't restore nextcloud app :/
[18:11:43]
<Thomas> You have to first remove the app before being able to restore it
[18:28:45]
<emile> yop I figured out, it just a little bit strange to have a --force that didn't work with app :)
[18:28:47]
<emile> thanks !
[19:55:15]
<Yunohost Git/Infra notifications> [issues] nojhan opened [issue #2791](https://github.com/YunoHost/issues/issues/2791): UX: app link opened in new tab prevent pinned tabs