Unable to see contents of storj buckets after mounting.
I have been trying to get my storj mounted on Linux (Debian 11.3). I'm able to follow the config wizard and make a connection to my storj buckets. Problem is in the mounting part. Sometimes the mount goes through successfully and sometimes the terminal freezes, but I can never see the contents of my buckets. If I'm lucky sometimes I'm able to see the buckets, but never whats in it. I'm not using rclone as root.
Would really appreciate any insight into what's wrong, if there's something I'm doing incorrectly or whether its a bug.
Run the command 'rclone version' and share the full output of the command.
rclone v1.58.1
os/version: debian 11.3 (64 bit)
os/kernel: 5.10.0-13-amd64 (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.17.9
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Storj DCS
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone mount arthaus_storj3 /etc/levideo --allow-other --log-file=/etc/rclonelog/storjmountlog.txt --log-level DEBUG
The rclone config contents with secrets removed.
[arthaus_storj3]
type = storj
access_grant = [my access grant key]
A log from the command with the -vv flag
2022/06/15 20:08:04 DEBUG : rclone: Version "v1.58.1" starting with parameters ["rclone" "mount" "arthaus_storj3" "/etc/levideo" "--allow-other" "--log-file=/etc/rclonelog/storjmountlog.txt" "--log-level" "DEBUG"]
2022/06/15 20:08:04 DEBUG : Creating backend with remote "arthaus_storj3"
2022/06/15 20:08:04 DEBUG : Using config file from "/home/vsuvarna/.config/rclone/rclone.conf"
2022/06/15 20:08:04 DEBUG : fs cache: renaming cache item "arthaus_storj3" to be canonical "/home/arthaus_storj3"
2022/06/15 20:08:04 INFO : Local file system at /home/arthaus_storj3: poll-interval is not supported by this remote
2022/06/15 20:08:04 DEBUG : Local file system at /home/arthaus_storj3: Mounting on "/etc/levideo"
2022/06/15 20:08:04 DEBUG : : Root:
2022/06/15 20:08:04 DEBUG : : >Root: node=/, err=<nil>
2022/06/15 20:09:25 DEBUG : : forgetting directory cache
2022/06/15 20:12:23 INFO : Signal received: terminated
2022/06/15 20:12:23 ERROR : /etc/levideo: Failed to unmount: signal: hangup
2022/06/15 20:12:23 INFO : Exiting...
Thank you animosity for such a quick reply. I tried adding the : but I'm still not able to get it to work. Everytime I enter the mount command, the terminal stops responding. My SSH has also stopped working.
Here's the most recent log from the updated mount command. Forgive me for attaching an image instead of pasting the code. My SSH isn't working so the screenshot is from a graphical shell.
Hi animosity, I gave it another try, this time using the --daemon flag as you suggested. It did not freeze up this time and I have a successful mount. I can see both my buckets listed under the directory, but nothing beyond that. Still can't see any of my sub folders or files.
So is that what you would expect?
Looks like two buckets I'd imagine? No files?
arthaus-injest and arthaus-library are the 2 buckets on my storj account, so that part looks okay. I do have files and folders in both buckets, so that is the part I've been getting stuck on for weeks.
Your output also looks bizarre. How are you running that?
Well, my SSH broke shortly after I made this forum post, so currently I'm depending on a weblish/glish graphical shell. I'll get around to troubleshooting SSH tomorrow.
I would suggest you pass through the S3 gateway instead. It's more simple and usable than the native interface that is mostly for enterprise with big bandwidth.
Also, take care that you use the same passphrase for the various access (web, S3, native), else you will not see them!!!
I was able to fix this problem with the help of the kind folk over at Storj. It was a decryption key issue. My account has 2 buckets, so it needs 2 different decryption keys. The solution was to make 2 access grants for rclone and mount the buckets one by one. Now with the correct key, I can finally see the contents of the buckets.
Thank you to animosity for being so patient and helping me troubleshoot this yesterday. Sorry for the false alarm. There's no bug in rclone, its beautiful and perfect as is