Skip to content

can't mount fuse : FileNotFoundError #97

Description

@maitredede

Hello,
When I try to fuse mount the backups, I have a FileNotFoundError :

root@backy:~# backy2 --debug --verbose fuse /mnt/
    INFO: [backy2.logging] $ /usr/bin/backy2 --debug --verbose fuse /mnt/
   DEBUG: [backy2.logging] backup.fuse(**{'mount': '/mnt/'})
    INFO: [alembic.runtime.migration] Context impl PostgresqlImpl.
    INFO: [alembic.runtime.migration] Will assume transactional DDL.
   ERROR: [backy2.logging] Unexpected exception
   ERROR: [backy2.logging] 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/backy2/scripts/backy.py", line 769, in main
    func(**func_args)
  File "/usr/lib/python3/dist-packages/backy2/scripts/backy.py", line 323, in fuse
    backy.fuse(mount)
  File "/usr/lib/python3/dist-packages/backy2/backy.py", line 1028, in fuse
    get_fuse(self, mount, cachedir)
  File "/usr/lib/python3/dist-packages/backy2/fuse.py", line 333, in get_fuse
    fuse = FUSE(BackyFuse(backy, cachedir), mount, foreground=True, allow_other=True)
  File "/usr/lib/python3/dist-packages/backy2/fuse.py", line 166, in __init__
    self.tree = self._tree()
  File "/usr/lib/python3/dist-packages/backy2/fuse.py", line 208, in _tree
    tree.mkdir(name_path)
  File "/usr/lib/python3/dist-packages/backy2/fuse.py", line 120, in mkdir
    self.create(path, self.dir(date=date), True)
  File "/usr/lib/python3/dist-packages/backy2/fuse.py", line 111, in create
    pos = self.get_path(parent_path)
  File "/usr/lib/python3/dist-packages/backy2/fuse.py", line 103, in get_path
    raise FileNotFoundError()
FileNotFoundError
   ERROR: [backy2.logging] Backy failed.

Using backy 2.13.8 with postgresql+minio.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions