GithubHelp home page GithubHelp logo

Comments (7)

nicknol avatar nicknol commented on September 21, 2024

it seems to be related to the backup functionality.
The supervisor log shows:

24-02-28 19:29:00 ERROR (MainThread) [supervisor.backups.manager] Backup 25b7e633 error
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/backups/manager.py", line 261, in dobackup
    async with backup:
  File "/usr/src/supervisor/supervisor/backups/backup.py", line 363, in __aexit
    self.outersecuretarfile.exit(
  File "/usr/local/lib/python3.12/site-packages/securetar/_init.py", line 140, in __exit
    self._tar.close()
  File "/usr/local/lib/python3.12/tarfile.py", line 1975, in close
    self.fileobj.close()
OSError: [Errno 5] I/O error

from hassio-nextcloud-backup.

sanchosk avatar sanchosk commented on September 21, 2024

Same thing here. @nicknol did you have any luck? I guess the problem is the file for backup is above 2GB...

from hassio-nextcloud-backup.

sanchosk avatar sanchosk commented on September 21, 2024

@nicknol I think I know where the problem is.
I recently moved my backup location from local data disk to remote NFS.
This seems to be the problem - with NFS, the NC backup does not work.
If I switch the default backup back to local device, the NC backup works again.
Can you, plz, check if you also have default backup location switched to some remote drive? (SMB/NFS)

from hassio-nextcloud-backup.

nicknol avatar nicknol commented on September 21, 2024

@sanchosk
yes, the backup itself fails if it is supposed to be created on a NAS and is big:

  • a small backup (~500MB) could be created locally and on the NAS
  • a big(ger) backup (~3GB) could be created locally but not on the NAS

I could create big backups on the NAS in 2023, means using HA 2023.12. I can't remember exactly whether it stopped working with 2024.1 or 2024.2
Writing about it, I think I remember a comment about an improvement/change to handling tar in one of the recent releases. ... have to dig for it
Found it, it was about HASS OS 12: https://www.home-assistant.io/blog/2024/02/26/home-assistant-os-12-support-for-raspberry-pi-5/

from hassio-nextcloud-backup.

Sebclem avatar Sebclem commented on September 21, 2024

Can you confirm that this is not related to this addon ?

from hassio-nextcloud-backup.

sanchosk avatar sanchosk commented on September 21, 2024

I am not sure, cannot confirm nor deny. What I can say is that when the backup location is set to local, the addon works as expected, when the backup location is shared drive, it does not.
At the same time, the shared drive has no problem to create backups of 2+GB.
So, can't tell "where is the ball", but I know that the combination of the addon and external drive for backup renders the addon defective.

from hassio-nextcloud-backup.

Sebclem avatar Sebclem commented on September 21, 2024

This could be linked to the location api param, but it's strange because this should fallback to the default setting....

from hassio-nextcloud-backup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.