Open RubenKelevra opened 1 year ago
You or Hetzner seem to be having some network issues. The error message is a bit unwieldy, but unrelated to Vorta.
I think OP requests that vorta handles this error more nicely. I agree to that. However the same applies to borg.
I doubt that's an issue on Hetzner's side, since I use LTE.
I thought a bit about that - I think I make a feature request for a fix.
Agree that we shouldn't show the full traceback here. That belongs into the log.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
borgbackup/borg#7016 will ease this.
@m3nu why is the stale bot trying to close issues, which are not fixed?
why is the stale bot trying to close issues, which are not fixed?
Not sure what you want to hear. We configured it like that. That is its purpose. When adding specific tags like type:enhancement
or type:bug
they will be ignored by the bot.
Every day I log onto my laptop see a huge pile of alert notifications form Vorta that backups failed.
I have to dig through the logs (I can't see a way to view errors in the application?) only to find that 99% of the time it was just Vorta trying to backup while my laptop went to sleep or I had a blip in my internet connectivity.
2023-02-17 08:39:48,816 - vorta.scheduler - DEBUG - Scheduling next run for 2023-02-18 08:00:00
2023-02-17 08:43:46,399 - vorta.borg.borg_job - WARNING - Remote: client_loop: send disconnect: Broken pipe
2023-02-17 08:43:46,445 - vorta.borg.borg_job - ERROR - Local Exception
2023-02-17 08:43:46,446 - vorta.borg.borg_job - ERROR - Traceback (most recent call last):
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archiver.py", line 183, in wrapper
return method(self, args, repository=repository, **kwargs)
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archiver.py", line 675, in do_create
create_inner(archive, cache, fso)
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archiver.py", line 608, in create_inner
self._rec_walk(path=path, parent_fd=parent_fd, name=name,
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archiver.py", line 820, in _rec_walk
self._rec_walk(
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archiver.py", line 820, in _rec_walk
self._rec_walk(
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archiver.py", line 820, in _rec_walk
self._rec_walk(
[Previous line repeated 3 more times]
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archiver.py", line 786, in _rec_walk
status = self._process_any(path=path, parent_fd=parent_fd, name=name, st=st, fso=fso, cache=cache,
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archiver.py", line 688, in _process_any
return fso.process_file(path=path, parent_fd=parent_fd, name=name, st=st, cache=cache)
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archive.py", line 1434, in process_file
self.process_file_chunks(item, cache, self.stats, self.show_progress, backup_io_iter(self.chunker.chunkify(None, fd)))
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archive.py", line 1261, in process_file_chunks
item.chunks.append(chunk_processor(chunk))
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archive.py", line 1249, in chunk_processor
chunk_entry = cache.add_chunk(chunk_id, data, stats, wait=False)
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/cache.py", line 951, in add_chunk
self.repository.put(id, data, wait=wait)
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/remote.py", line 476, in do_rpc
return self.call(f.__name__, named, **extra)
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/remote.py", line 711, in call
for resp in self.call_many(cmd, [args], **kw):
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/remote.py", line 828, in call_many
raise ConnectionClosed()
borg.remote.ConnectionClosed: Connection closed by remote host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archiver.py", line 5159, in main
exit_code = archiver.run(args)
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archiver.py", line 5090, in run
return set_ec(func(args))
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/archiver.py", line 168, in wrapper
with repository:
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/remote.py", line 636, in __exit__
self.rollback()
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/remote.py", line 476, in do_rpc
return self.call(f.__name__, named, **extra)
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/remote.py", line 711, in call
for resp in self.call_many(cmd, [args], **kw):
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/remote.py", line 781, in call_many
send_buffer() # Try to send data, as some cases (async_response) will never try to send data otherwise.
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/remote.py", line 721, in send_buffer
written = self.ratelimit.write(self.stdin_fd, self.to_send.peek_front())
File "/opt/homebrew/Cellar/borgbackup-fuse/1.2.2/libexec/lib/python3.10/site-packages/borg/remote.py", line 417, in write
written = os.write(fd, to_send)
BrokenPipeError: [Errno 32] Broken pipe
Description
I wanted to create my first backup with Vorta on a “Storage Box” by Hetzner.
A disconnect occurred.
This is not explained in an error popup, but with a message which is hardly readable due to having no scroll bar – I had to turn my screen 90° to read it.
Apart from not handling this error:
As this is the first time I'm using Borg I'm a bit confused – I thought Borg can continue by running create again. So Vorta isn't doing this?
Reproduction
OS
ArchLinux latest
Version of Vorta
0.8.7
What did you install Vorta with?
Other
Version of Borg
1.2.2
Logs