You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ borg2 --remote-path /usr/local/bin/borg2 --repo ssh://foo@foo.example.org:22//mnt/backup/borg2/foo repo-create --other-repo ssh://foo@foo.example.org:22/mnt/backup/borg/foo -e repokey-aes-ocb
Traceback (most recent call last):
File "borg/remote.py", line 266, in inner_serve
File "borg/remote.py", line 417, in open
File "borg/repository.py", line 164, in __enter__
File "borg/repository.py", line 234, in open
File "borgstore/store.py", line 199, in load
File "borgstore/store.py", line 188, in find
File "borgstore/backends/posixfs.py", line 108, in info
File "pathlib.py", line 840, in stat
NotADirectoryError: [Errno 20] Not a directory: '/mnt/backup/borg/foo/config/readme'
Error:
RemoteRepository.RPCError: {'i': 2, 'exception_class': 'NotADirectoryError', 'exception_args': (20, 'Not a directory'), 'exception_full': ('Traceback (most recent call last):\n', ' File "borg/remote.py", line 266, in inner_serve\n', ' File "borg/remote.py", line 417, in open\n', ' File "borg/repository.py", line 164, in __enter__\n', ' File "borg/repository.py", line 234, in open\n', ' File "borgstore/store.py", line 199, in load\n', ' File "borgstore/store.py", line 188, in find\n', ' File "borgstore/backends/posixfs.py", line 108, in info\n', ' File "pathlib.py", line 840, in stat\n', "NotADirectoryError: [Errno 20] Not a directory: '/mnt/backup/borg/foo/config/readme'\n"), 'exception_short': ("NotADirectoryError: [Errno 20] Not a directory: '/mnt/backup/borg/foo/config/readme'\n",), 'exception_trace': True, 'sysinfo': "Platform: Linux borg 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64\nLinux: Unknown Linux \nBorg: 2.0.0b14 Python: CPython 3.12.4 msgpack: 1.1.0 fuse: llfuse 1.5.1 [pyfuse3,llfuse]\nPID: 1594 CWD: /home/foo\nsys.argv: ['/usr/local/bin/borg2', 'serve']\nSSH_ORIGINAL_COMMAND: None\n"}
If reporting bugs, please include the following:
Borg server: Traceback (most recent call last):
Borg server:
Borg server: File "borg/remote.py", line 266, in inner_serve
Borg server:
Borg server: File "borg/remote.py", line 417, in open
Borg server:
Borg server: File "borg/repository.py", line 164, in __enter__
Borg server:
Borg server: File "borg/repository.py", line 234, in open
Borg server:
Borg server: File "borgstore/store.py", line 199, in load
Borg server:
Borg server: File "borgstore/store.py", line 188, in find
Borg server:
Borg server: File "borgstore/backends/posixfs.py", line 108, in info
Borg server:
Borg server: File "pathlib.py", line 840, in stat
Borg server:
Borg server: NotADirectoryError: [Errno 20] Not a directory: '/mnt/backup/borg/foo/config/readme'
Borg server: Platform: Linux foo 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64
Borg server: Linux: Unknown Linux
Borg server: Borg: 2.0.0b14 Python: CPython 3.12.4 msgpack: 1.1.0 fuse: llfuse 1.5.1 [pyfuse3,llfuse]
Borg server: PID: 1594 CWD: /home/foo
Borg server: sys.argv: ['/usr/local/bin/borg2', 'serve']
Borg server: SSH_ORIGINAL_COMMAND: None
No idea why borg2 is trying to access a nonexistent path /mnt/backup/borg/foo/config/readme as a directory?
(This bug is related to #8651 , since my workaround is to migrate to borg2...)
The new borg2 repo seems to get created however. No idea in which state it is though:
$ ssh foo@foo.example.org
$ cd /mnt/backup/borg2 && ls
foo
$ du -sh /mnt/backup/borg2/foo/
PLENTY OF GIGABYTES...
The text was updated successfully, but these errors were encountered:
Guess --from-borg1 is missing (--other-repo is not only used for borg1 -> borg2, but could also be used for borg2 -> borg and the latter is the default).
Also there are different amounts of slashes for /mnt.
It's empty, there's nothing in that directory...
That path exists and is a file. However:
No idea why borg2 is trying to access a nonexistent path
/mnt/backup/borg/foo/config/readme
as a directory?(This bug is related to #8651 , since my workaround is to migrate to borg2...)
The new borg2 repo seems to get created however. No idea in which state it is though:
The text was updated successfully, but these errors were encountered: