Cannot setup Backup with network share

Before I go on the path and clutter the github issue page with a bug I want to make sure it is not something I need to tweak in my enviorment.

The issue: I cannot mount CIFS throught the frontend or the embassy-cli but I have no issues to mount through mount command but that does not solve backups. Any clue what I can do to proceed? Could I fake an external device by moutning to a path?

The Enviroement:
Raspberry PI: Plan9 (git revision: 92cd85b2043bde1e91cdb3caa4becc2ebcc44009)
Synology: CIFS sharing
they are on different VLANs but routing without any limits for TCP and UDP

I can mount without any problem through the terminal but that does not solve any magic encrypted backups

mount -t cifs -o username=backup_user,password=secretpassword // /tmp/test

The result from using embassy-cli

start9@embassy:~ $ sudo embassy-cli backup target cifs add /start9_backup/ backup_user secretpassword
Network Error:

The result from frontend

Error in the UI

RPC ERROR: Network Error

URL: https://embassy.local/rpc/v1

The payload



            "message":"Network Error",
                "debug":"\n   0: \u001b[91m\u001b[0m\n\nLocation:\n   \u001b[35msrc/util/\u001b[0m:\u001b[35m57\u001b[0m\n\n  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SPANTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\n   0: \u001b[91membassy::disk::mount::filesystem::cifs\u001b[0m\u001b[91m::\u001b[0m\u001b[91mmount_cifs\u001b[0m with \u001b[96m\u001b[3mhostname\u001b[0m\u001b[2m=\u001b[0m\"\" \u001b[3musername\u001b[0m\u001b[2m=\u001b[0m\"backup_user\" \u001b[3mmount_type\u001b[0m\u001b[2m=\u001b[0mReadOnly\u001b[0m\n      at \u001b[35msrc/disk/mount/filesystem/\u001b[0m:\u001b[35m36\u001b[0m\n   1: \u001b[91membassy::disk::mount::guard\u001b[0m\u001b[91m::\u001b[0m\u001b[91mmount\u001b[0m with \u001b[96m\u001b[3mmount_type\u001b[0m\u001b[2m=\u001b[0mReadOnly\u001b[0m\n      at \u001b[35msrc/disk/mount/\u001b[0m:\u001b[35m85\u001b[0m\n\nBacktrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.\nRun with RUST_BACKTRACE=full to include source snippets.",

Debug message in the JSON payload cleaned up for readibility


  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SPANTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   0:  embassy::disk::mount::filesystem::cifs :: mount_cifs with hostname=\"\" username=\"backup_user\" mount_type=ReadOnly 
      at src/disk/mount/filesystem/
   1:  embassy::disk::mount::guard :: mount with mount_type=ReadOnly
      at src/disk/mount/

        Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

I would suspect your network setup here - can you put them on the exact same network (to test) and let us know if that solves the problem?

This is solved in StartOS version
With the change of

  • Use IP addresses for Network Folder Backups
1 Like