Cannot add Hetzner Storage Box via sshfs
-
I have set up a Hetzner storage box and I am trying to use it as the main backup location for Cloudron, but it fails with this error:
Failed to mount (inactive): Could not determine mount failure reason.
This is what I have done:
- I have created an ssh key on the cloudron server
- Added it to Hetzner into .ssh
- Connected to Hetzner via "ssh -p 23 uXXXXX@uXXXXX.your-storagebox.de"
- Verified that /home is writable
For the cloudron backup setup:
- hostname: USER.your-storagebox.de
- remote directory: /home
- port: 23
- user: Hetzner user id
- private key inserted
- use hardlinks checked
This was in the Cloudron server logs:
Mar 02 15:57:55 box:shell mounts: mountpoint -q -- /mnt/backup-storage-validation Mar 02 15:57:55 box:shell mounts: mountpoint -q -- /mnt/backup-storage-validation errored BoxError: mountpoint exited with code 32 signal null Mar 02 15:57:55 at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:72:23) Mar 02 15:57:55 at ChildProcess.emit (node:events:519:28) Mar 02 15:57:55 at ChildProcess.emit (node:domain:488:12) Mar 02 15:57:55 at maybeClose (node:internal/child_process:1105:16) Mar 02 15:57:55 at Socket.<anonymous> (node:internal/child_process:457:11) Mar 02 15:57:55 at Socket.emit (node:events:519:28) Mar 02 15:57:55 at Socket.emit (node:domain:488:12) Mar 02 15:57:55 at Pipe.<anonymous> (node:net:339:12) { Mar 02 15:57:55 reason: 'Shell Error', Mar 02 15:57:55 details: {}, Mar 02 15:57:55 stdout: <Buffer >, Mar 02 15:57:55 stdoutLineCount: 0, Mar 02 15:57:55 stderr: <Buffer >, Mar 02 15:57:55 stderrLineCount: 0, Mar 02 15:57:55 code: 32, Mar 02 15:57:55 signal: null Mar 02 15:57:55 }
A similar thread recommended to check whether unbound was working, which I checked like this:
systemctl status unbound
I would appreciate assistance with this as the error doesn't give me anything else, it seems.
-
I have set up a Hetzner storage box and I am trying to use it as the main backup location for Cloudron, but it fails with this error:
Failed to mount (inactive): Could not determine mount failure reason.
This is what I have done:
- I have created an ssh key on the cloudron server
- Added it to Hetzner into .ssh
- Connected to Hetzner via "ssh -p 23 uXXXXX@uXXXXX.your-storagebox.de"
- Verified that /home is writable
For the cloudron backup setup:
- hostname: USER.your-storagebox.de
- remote directory: /home
- port: 23
- user: Hetzner user id
- private key inserted
- use hardlinks checked
This was in the Cloudron server logs:
Mar 02 15:57:55 box:shell mounts: mountpoint -q -- /mnt/backup-storage-validation Mar 02 15:57:55 box:shell mounts: mountpoint -q -- /mnt/backup-storage-validation errored BoxError: mountpoint exited with code 32 signal null Mar 02 15:57:55 at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:72:23) Mar 02 15:57:55 at ChildProcess.emit (node:events:519:28) Mar 02 15:57:55 at ChildProcess.emit (node:domain:488:12) Mar 02 15:57:55 at maybeClose (node:internal/child_process:1105:16) Mar 02 15:57:55 at Socket.<anonymous> (node:internal/child_process:457:11) Mar 02 15:57:55 at Socket.emit (node:events:519:28) Mar 02 15:57:55 at Socket.emit (node:domain:488:12) Mar 02 15:57:55 at Pipe.<anonymous> (node:net:339:12) { Mar 02 15:57:55 reason: 'Shell Error', Mar 02 15:57:55 details: {}, Mar 02 15:57:55 stdout: <Buffer >, Mar 02 15:57:55 stdoutLineCount: 0, Mar 02 15:57:55 stderr: <Buffer >, Mar 02 15:57:55 stderrLineCount: 0, Mar 02 15:57:55 code: 32, Mar 02 15:57:55 signal: null Mar 02 15:57:55 }
A similar thread recommended to check whether unbound was working, which I checked like this:
systemctl status unbound
I would appreciate assistance with this as the error doesn't give me anything else, it seems.
@ekevu123 said in Cannot add Hetzner Storage Box via sshfs:
created an ssh key on the cloudron server
Did you remember not to use any passphrase?
-
Give a minute, I have many storage boxes and sub-account and use them for Cloudron.
This is working for me and has worked for years.
Here is also my Hetzner overview of the storage box.
If you'd like @ekevu123 we can take a look together.
Send me a dm if want to do that. -
Give a minute, I have many storage boxes and sub-account and use them for Cloudron.
This is working for me and has worked for years.
Here is also my Hetzner overview of the storage box.
If you'd like @ekevu123 we can take a look together.
Send me a dm if want to do that.@BrutalBirdie it was just that he'd added a passphrase to the SSH keys
@ekevu123 having done it a few times myself now (for backups and various volumes) it looked like you'd done everything right so that was the only thing I could guess it could've been - glad it was that and it helped
-
Yes, exactly, it works now!
Maybe there could be a dedicated tutorial in https://docs.cloudron.io/backups/ as many people seem to use it as a backup provider. I had to look up a few other things in the process to make it work.
-
I also used a passphrase the first time I had to setup hetzner storage via sshfs, for me it's a best practice so I always put a passphrase.
-
Ahhh.
I did not expect that -
-