Can't upgrade any app - bakcup file is missing

Hello everyone! Thanks for reading this :slight_smile:

My YunoHost server

**Hardware: laptop at home

YunoHost version: (stable)

I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen

Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I have an error when I try to upgrade any app, same message every time:

/mnt/retroarch/SAVES/bnw-ynhbackup is a folder on an external USB drive, where I store my backups.

I run two scripts via crontab, one for email backup, and one for complete backup. I can share the complete scripts if needed, but the main command for creating the backup are:

yunohost backup create --system data_mail -o /mnt/retroarch/SAVES/bnw-ynhbackup/mail
yunohost backup create -o /mnt/retroarch/SAVES/bnw-ynhbackup/complete

These scripts will also remove the oldest backup file because I donโ€™t want to have my drive full in a few months.

And from what I understand, the app upgrade script is checking if one of these file is still there, but obviously it has been deleted already.

How can I avoid this?

FileNotFoundError: [Errno 2] No such file or directory: โ€˜/mnt/retroarch/SAVES/bnw-ynhbackup/mail/20210917-012005.tarโ€™

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