Warning in ynh backup : YNH_DEFAULT_COMPOSER_VERSION readonly variable

Rpi4b on ynh 4.2.4 over ssh
I cron ynh backup everynight and receive this alert since 2 weeks (23th of april), when I was in ynh 4.2.0 and now ynh 4.2.4
I guess it is not important. I do not know where to look in the log to check which actions I perform on the server on the 23th of April (this would be useful).
here is the error:

RESULT CODE: 0
ERROR OUTPUT:
/usr/share/yunohost/helpers.d/php: line 561: YNH_DEFAULT_COMPOSER_VERSION: readonly variable

The backup is running fine after that.
Thanks

We would need to know which app is doing that. :confused: If you do not know, and do not know how to find it, maybe you can share your apps list?

Basically the Composer helpers have been made official in the new version, making any app that still uses the testing helpers crash. The helpers end up being sourced twice, and since there is this readonly variable being initialized twice, it crashes.

Ah ok I understand. I guess it must be syncthing or nextcloud since they are not updated to latest version.

yunohost app list | sed ‘s/your.domain/domain.ynh/g’
apps:
0: description: Stream and manage your music collection
domain_path: domain.ynh/airsonic
id: airsonic
name: Airsonic
version: 10.6.2~ynh2
1:
description: Fallback server for YunoHost.
id: fallback
name: Fallback server
version: 0.9~ynh1
2:
description: Videoconferencing server that is easy to deploy
domain_path: meet.domain.ynh/
id: galene
name: Meet
version: 0.3.4~ynh1
3:
description: Media System that manage and stream your media.
domain_path: domain.ynh/jellyfin
id: jellyfin
name: Jellyfin
version: 10.6.4~ynh3
4:
description: URL Shortener
domain_path: domain.ynh/Z
id: lstu
name: Lstu
version: 0.22-0~ynh2
5:
description: A monitoring tools
domain_path: domain.ynh/monitorix
id: monitorix
name: Monitorix
version: 3.12.0~ynh1
6:
description: real-time performance and health monitoring
domain_path: domain.ynh/netdata
id: netdata
name: NetData
version: 1.30.0~ynh1
7:
description: Online storage, file sharing platform and various other applications
domain_path: domain.ynh/NC
id: nextcloud
name: Nextcloud
version: 20.0.7~ynh1
8:
description: Simple and user-friendly photo gallery that’s made for photographers
domain_path: album.domain.ynh/
id: photoview
name: Photoview
version: 2.3.2~ynh1
9:
description: Network-wide ad blocking via your own DNS server.
domain_path: domain.ynh/pihole
id: pihole
name: Pi-hole
version: 3.3.1~ynh6
10:
description: Open Source Webmail software
domain_path: domain.ynh/webmail
id: roundcube
name: Roundcube
version: 1.4.11~ynh1
11:
description: Web based AJAX terminal emulator
domain_path: domain.ynh/ssh
id: shellinabox
name: Shell In A Box
version: 2.21~ynh2
12:
description: Continuous file synchronization program.
domain_path: domain.ynh/syncthing
id: syncthing
name: Syncthing
version: 1.15.1~ynh2
13:
description: A self hostable read-it-later app
domain_path: domain.ynh/wallabag
id: wallabag2
name: Wallabag
version: 2.3.8~ynh3

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