What app is this about, and its version: Grafana 12.4.2-ynh1
What YunoHost version are you running: 12.1.39
What type of hardware are you using: Raspberry Pi 3, 4+
Describe your issue
Hi
I had an issue on the last grafana update, on the ‘Upgrading source files’ step it throws this error :
“Failed to upgrade grafana: An error occurred inside the app upgrade script : No URL defined for source arm64.arm64 ?”
Share relevant logs or error messages
Info: Now upgrading grafana…
Info: Creating a safety backup prior to the upgrade
Info: Collecting files to be backed up for grafana…
Info: Declaring files to be backed up…
Info: /home/yunohost.app/grafana will not be saved, because ‘BACKUP_CORE_ONLY’ is set.
Info: /var/log/grafana/ will not be saved, because ‘BACKUP_CORE_ONLY’ is set.
Info: Backing up the MySQL database…
Info: Backup script completed for grafana. (YunoHost will then actually copy those files to the archive).
Info: Creating a backup archive from the collected files…
Info: The archive will contain about 678MB of data.
Success! Backup created: grafana-pre-upgrade1
Info: Backup grafana-pre-upgrade2 was deleted because it is replaced by a newer backup grafana-pre-upgrade1
Info: Updating sources…
Info: Updating system_user…
Info: Updating install_dir…
Info: Updating data_dir…
Info: Updating ports…
Info: Updating permissions…
Info: Updating apt…
Info: Updating database…
Info: [++…] > Ensuring downward compatibility…
Info: [##+++…] > Stopping grafana’s systemd service…
Info: [#####++…] > Upgrading source files…
Warning: No URL defined for source arm64.arm64 ?
Error: Failed to upgrade grafana: An error occurred inside the app upgrade script : No URL defined for source arm64.arm64 ?
Info: The operation ‘Upgrade the ‘grafana’ app’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20260327-082823-app_upgrade-grafana’ to get help
Warning: Here’s an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - ++ ynh_read_manifest ‘resources.sources[“arm64”]’
Info: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_ectsl_8m/manifest.toml
Info: DEBUG - ++ toml_to_json
Info: DEBUG - ++ python3 -c ‘import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))’
Info: DEBUG - ++ jq ‘.resources.sources[“arm64”]’ --raw-output
Info: DEBUG - + local sources_json=null
Info: DEBUG - + jq -re .url
Info: DEBUG - null
Info: DEBUG - + local arch_prefix=.arm64
Info: DEBUG - + local src_url=
Info: DEBUG - + local src_sum=
Info: DEBUG - + local src_format=
Info: DEBUG - + local src_in_subdir=
Info: DEBUG - + src_in_subdir=true
Info: DEBUG - + local src_extract=
Info: DEBUG - + local src_platform=
Info: DEBUG - + local src_rename=
Info: DEBUG - + ynh_die ‘No URL defined for source arm64.arm64 ?’
Info: WARNING - No URL defined for source arm64.arm64 ?
Info: ERROR - Failed to upgrade grafana: An error occurred inside the app upgrade script : No URL defined for source arm64.arm64 ?
Warning: Upgrade failed … attempting to restore the safety backup (Yunohost first need to remove the app for this) …
Info: Removing grafana…
Info: [++++++++++…] > Removing system configurations related to grafana…
Info: [####################] > Removal of grafana completed
Info: Deprovisioning database…
Info: Deprovisioning apt…
Info: Deprovisioning permissions…
Info: Deprovisioning ports…
Info: Deprovisioning data_dir…
Info: Deprovisioning install_dir…
Info: Deprovisioning system_user…
Info: Deprovisioning sources…
Success! grafana uninstalled
Info: Preparing archive for restoration…
Info: Restoring grafana…
Info: Provisioning sources…
Info: Provisioning system_user…
Info: Provisioning install_dir…
Info: Provisioning data_dir…
Info: Provisioning ports…
Info: Provisioning permissions…
Info: Provisioning apt…
Info: Provisioning database…
Info: [+++…] > Restoring the app main directory…
Info: [###+++…] > Restoring the data directory…
Info: Skipping /home/yunohost.app/grafana which doesn’t exists in the archive, probably because restoring from a safety-backup-before-upgrade
Info: [######++++…] > Restoring the MySQL database…
Info: [##########+++…] > Restoring system configurations related to grafana…
Info: Skipping /var/log/grafana/ which doesn’t exists in the archive, probably because restoring from a safety-backup-before-upgrade
Info: [#############+++…] > Reloading NGINX web server and grafana’s service…
Info: The service grafana has correctly executed the action start.
Info: [####################] > Restoration completed for grafana
Success! Restoration completed
Error: The operation ‘Upgrade the ‘grafana’ app’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20260327-082823-app_upgrade-grafana’ to get help