What is these python erro : KeyError: 227 #1944
Unanswered
alansenairj
asked this question in
FAQ
Replies: 6 comments
-
Running command /usr/bin/borg create --list --progress --info --log-json --json --filter=AM -C lz4 --exclude-from /tmp/tmplooqmo2b /mnt/borg_home::z390-2024-02-24-031709 /home/alan |
Beta Was this translation helpful? Give feedback.
0 replies
-
Why is it corrupting? My NFS mount point is : nfs borg_home backup mount192.168.129.254:/volume2/borg_home/ /mnt/borg_home nfs defaults,nofail,auto,x-systemd.automount 0 0 Is automount a problem for borg? |
Beta Was this translation helpful? Give feedback.
0 replies
-
It is not a NFS mounting problem . Again |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created a backup of my /home with any args. I am using vorta as is. I just put a encryption
there. It worked well
I have about 5 archives and now vorta is broking with this error in log file:
2024-02-24 02:55:40,266 - vorta.scheduler - DEBUG - Refreshing all scheduler timers
2024-02-24 02:55:40,272 - vorta.scheduler - DEBUG - Nothing scheduled for profile 1 because of timeout until 2024-02-24 03:15:50.
2024-02-24 03:00:37,018 - vorta.application - INFO - An instance of Vorta is already running. Opening main window.
2024-02-24 03:05:35,056 - vorta.keyring.abc - DEBUG - Only available on macOS
2024-02-24 03:05:35,058 - vorta.keyring.abc - DEBUG - Using VortaKWallet5Keyring
2024-02-24 03:05:35,059 - vorta.borg.borg_job - DEBUG - Using VortaKWallet5Keyring keyring to store passwords.
2024-02-24 03:05:35,065 - vorta.keyring.kwallet - DEBUG - Retrieved password for repo /mnt/borg_home
2024-02-24 03:05:35,081 - vorta.borg.jobs_manager - DEBUG - Add job for site 1
2024-02-24 03:05:35,082 - vorta.borg.jobs_manager - DEBUG - Start job on site: 1
2024-02-24 03:05:35,112 - vorta.borg.borg_job - INFO - Running command /usr/bin/borg create --list --progress --info --log-json --json --filter=AM -C lz4 --exclude-from /tmp/tmp2jfehaof /mnt/borg_home::z390-2024-02-24-030535 /home/alan
2024-02-24 03:05:35,548 - vorta.borg.borg_job - INFO - Creating archive at "/mnt/borg_home::z390-2024-02-24-030535"
2024-02-24 03:06:51,434 - vorta.borg.borg_job - ERROR - Local Exception
2024-02-24 03:06:51,434 - vorta.borg.borg_job - ERROR - Traceback (most recent call last):
File "/usr/lib64/python3.12/site-packages/borg/repository.py", line 1478, in get_fd
ts, fd = self.fds[segment]
~~~~~~~~^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/borg/lrucache.py", line 21, in getitem
value = self._cache[key] # raise KeyError if not found
~~~~~~~~~~~^^^^^
KeyError: 227
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.12/site-packages/borg/archiver.py", line 5343, in main
exit_code = archiver.run(args)
^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/borg/archiver.py", line 5263, in run
return set_ec(func(args))
^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/borg/archiver.py", line 189, in wrapper
return method(self, args, repository=repository, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/borg/archiver.py", line 672, in do_create
create_inner(archive, cache, fso)
File "/usr/lib64/python3.12/site-packages/borg/archiver.py", line 630, in create_inner
json_print(basic_json_data(manifest, cache=cache, extra={
File "/usr/lib64/python3.12/site-packages/borg/helpers/parseformat.py", line 1027, in json_print
print(json_dump(obj))
^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/borg/helpers/parseformat.py", line 1023, in json_dump
return json.dumps(obj, sort_keys=True, indent=4, cls=BorgJsonEncoder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/json/init.py", line 238, in dumps
**kw).encode(obj)
^^^^^^^^^^^
File "/usr/lib64/python3.12/json/encoder.py", line 202, in encode
chunks = list(chunks)
^^^^^^^^^^^^
File "/usr/lib64/python3.12/json/encoder.py", line 432, in _iterencode
yield from _iterencode_dict(o, _current_indent_level)
File "/usr/lib64/python3.12/json/encoder.py", line 406, in _iterencode_dict
yield from chunks
File "/usr/lib64/python3.12/json/encoder.py", line 439, in _iterencode
o = _default(o)
^^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/borg/helpers/parseformat.py", line 993, in default
'stats': o.stats(),
^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/borg/cache.py", line 435, in stats
archive = Archive(self.repository, self.key, self.manifest, archive_name,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/borg/archive.py", line 488, in init
self.load(info.id)
File "/usr/lib64/python3.12/site-packages/borg/archive.py", line 501, in load
self.metadata = self._load_meta(self.id)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/borg/archive.py", line 491, in _load_meta
data = self.key.decrypt(id, self.repository.get(id))
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/borg/repository.py", line 1210, in get
return self.io.read(segment, offset, id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/borg/repository.py", line 1610, in read
fd = self.get_fd(segment)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/borg/repository.py", line 1480, in get_fd
fd = open_fd()
^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/borg/repository.py", line 1461, in open_fd
fd = open(self.segment_filename(segment), 'rb')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/borg_home/data/0/227'
Platform: Linux z390 6.6.13-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jan 20 18:03:28 UTC 2024 x86_64
Linux: Unknown Linux
Borg: 1.2.7 Python: CPython 3.12.1 msgpack: 1.0.5 fuse: llfuse 1.5.0 [pyfuse3,llfuse]
PID: 660870 CWD: /home/alan
sys.argv: ['/usr/bin/borg', 'create', '--list', '--progress', '--info', '--log-json', '--json', '--filter=AM', '-C', 'lz4', '--exclude-from', '/tmp/tmp2jfehaof', '/mnt/borg_home::z390-2024-02-24-030535', '/home/alan']
SSH_ORIGINAL_COMMAND: None
2024-02-24 03:06:52,248 - vorta.borg.jobs_manager - DEBUG - Finish job for site: 1
2024-02-24 03:06:52,248 - vorta.borg.jobs_manager - DEBUG - No more jobs for site: 1
2024-02-24 03:06:52,249 - vorta.scheduler - DEBUG - Nothing scheduled for profile 1 because of timeout until 2024-02-24 03:15:50.
Beta Was this translation helpful? Give feedback.
All reactions