Restic backup failed for some apps

What app is this about, and its version: restic, 0.18.1~ynh2
What YunoHost version are you running: 12.1.39
What type of hardware are you using: Raspberry Pi 3, 4+

Describe your issue

I’m using restic app to manage backups, together with rclone for using a Mega repositories.
1st problem: of the backupped apps, a couple of them failed to backup, logs added

2nd problem: even if not listed, restic itself is backupped, and fails (log3 attached)

Any help very much apreciated
W

Share relevant logs or error messages

https://paste.yunohost.org/raw/jajewifesi
https://paste.yunohost.org/raw/hetuborida
https://paste.yunohost.org/raw/ikeliraxuw

Hi, your Restic repositories are locked by another process (maybe a restic command was started but failed 1000h ago):

2026-03-14 09:32:19,720: WARNING - unable to create lock in backend: repository is already locked by PID 543215 on maindomain.tld by root (UID 0, GID 0)
2026-03-14 09:32:19,723: WARNING - lock was created at 2026-01-31 08:32:07 (1009h0m11.844437354s ago)

You can manually remove the lock for each repository (auto_data, auto_nextcloud, auto_navidrome):

cd /var/www/restic
export RESTIC_PASSWORD=...
export RESTIC_REPOSITORY=rclone:mega:/Backups/cloud.komhumana//auto_data
source .env
./restic unlock

The third log isn’t a backup of Restic itself, it’s your server data (user directories, mails and multimedia). You can disable it with a switch in Restic config panel

1 Like

Solved! Thank you

1 Like

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