Mount dir empty

What is the problem you are having with rclone?

Trying to mount a personal MEGA account, but the mount location is empty

Run the command 'rclone version' and share the full output of the command.

rclone v1.68.1

  • os/version: arch (64 bit)
  • os/kernel: 6.6.52-1-lts (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.23.1
  • go/linking: static
  • go/tags: none

Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
--> yes

Which cloud storage system are you using? (eg Google Drive)

MEGA

The command you were trying to run (eg rclone copy /tmp remote:tmp)

sudo rclone mount --daemon --config="/home/PSS/.config/rclone/rclone.conf" --allow-non-empty mega: /mnt/mega 

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[mega]
type = mega
user = XXX
pass = XXX

A log from the command that you were trying to run with the -vv flag

2024/10/05 20:20:13 DEBUG : rclone: Version "v1.68.1" starting with parameters ["rclone" "mount" "--daemon" "--config=/home/PSS/.config/rclone/rclone.conf" "--allow-non-empty" "-vv" "mega:" "/mnt/mega"]
2024/10/05 20:20:13 DEBUG : Creating backend with remote "mega:"
2024/10/05 20:20:13 DEBUG : Using config file from "/home/PSS/.config/rclone/rclone.conf"
2024/10/05 20:20:18 DEBUG : rclone: Version "v1.68.1" finishing with parameters ["/usr/bin/rclone" "mount" "--daemon" "--config=/home/PSS/.config/rclone/rclone.conf" "--allow-non-empty" "-vv" "mega:" "/mnt/mega"]

welcome to the forum,

for debugging, simplify the setup, get that working first

  • make sure simple commands work, such as rclone ls mega: -vv

  • must use a debug log, something like --log-level=DEBUG --log-file=/home/PSS/rclone.log

  • run without sudo, mount to a subdir in homedir

  • run without --daemon, run the mount on the command line

  • run without --allow-non-empty, allows for over-mounting

so something like this, assuming the user is PSS
rclone mount mega: /home/PSS/mega --log-level=DEBUG --log-file="/home/PSS/rclone.log"

LOG:

2024/10/06 16:05:13 DEBUG : rclone: Version "v1.68.1" starting with parameters ["rclone" "mount" "mega:" "/home/PSS/mega" "--log-level=DEBUG" "--log-file=/home/PSS/rclone.log"]
2024/10/06 16:05:13 DEBUG : Creating backend with remote "mega:"
2024/10/06 16:05:13 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/10/06 16:05:22 INFO  : mega root '': poll-interval is not supported by this remote
2024/10/06 16:05:22 NOTICE: mega root '': --vfs-cache-mode writes or full is recommended for this remote as it can't stream
2024/10/06 16:05:22 DEBUG : mega root '': Mounting on "/home/PSS/mega"
2024/10/06 16:05:22 DEBUG : : Root: 
2024/10/06 16:05:22 DEBUG : : >Root: node=/, err=<nil>
2024/10/06 16:06:00 DEBUG : /: Attr: 
2024/10/06 16:06:00 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/10/06 16:06:00 DEBUG : : Statfs: 
2024/10/06 16:06:01 DEBUG : : >Statfs: stat={Blocks:5242880 Bfree:747437 Bavail:747437 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2024/10/06 16:09:21 DEBUG : : forgetting directory cache
2024/10/06 16:09:21 DEBUG : : forgetting directory cache
2024/10/06 16:09:21 INFO  : Signal received: terminated
2024/10/06 16:09:21 ERROR : /home/PSS/mega: Unmounted rclone mount
2024/10/06 16:09:21 INFO  : Exiting...

UPDATE: no progress, the terminal just gets stuck. this was done on the tty as told.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.