RAW preview not working on MEGA after rclone copy

Hello there,

I'm new to rclone. I am transferring about 8TB of backup files from Dropbox to MEGA. I successfully copied a 350GB folder full of RAW images via rclone copy (though painfully slow - it took 4-5 full days). However, none of the RAW images will preview on MEGA. If I download them locally, I can see them. Preview works for images I have downloaded manually from Dropbox and uploaded manually to MEGA. So, there seems to be something in the rclone copy process that is breaking MEGA preview... Any ideas anyone?

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

rclone v1.68.0
- os/version: darwin 14.6.1 (64 bit)
- os/kernel: 23.6.0 (x86_64)
- os/type: darwin
- os/arch: amd64
- go/version: go1.23.1
- go/linking: dynamic
- go/tags: cmount

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

Dropbox to MEGA

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

rclone copy

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

[Dropbox]
type = dropbox
token = XXX

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

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

The DEBUG log for 19625 files is huge... I can post it if it helps.

welcome to the forum,

afiak, rclone is not breaking anything

https://forum.rclone.org/t/thumbnail-not-visible/37008

I wonder if megacmd would help here... It is at the end an official client...

@tbone install megacmd for your platform and then use it to run webdav server. In the next step you can connect to it using rclone webdav remote.

There are plenty of examples in the past threads if not clear enough, for example:

Some users also report that megacmd is noticeably faster than mega access implementation in rclone.

This was helpful, thanks! Since it's a third-party restriction megacmd seems the only way to go...

Thanks for your quick and helpful responses. I have installed megacmd and created a webdav remote in rclone following your examples:

``
Configuration complete.
Options:

  • type: webdav
  • url: 127.0.0.1
  • vendor: other
    ``

Executing the command rclone lsd webDAV: I get the error: couldn't list files: Propfind "127.0.0.1/": unsupported protocol scheme
I have no idea what's going on. :see_no_evil: Is it relevant that the examples all have a 4-digit port number following the IP, and I don't?

you have to specify port as well

By reconfiguring the webDAV remote? Which port number do I use?

When you use megacmd and configure and run webdav server it should tell you all details. Use them in rclone remote configuration.

For example in megacmd:

kptsky@me.com:/$ webdav
WEBDAV SERVED LOCATIONS:
/: http://127.0.0.1:4443/LIVS3IDK/Cloud%20Drive
kptsky@me.com:/$ 

Also I think first you have to connect to your account. Check megacmd docs.

Thank you so much! It is up and running now. :partying_face:

SO: Creating a webDAV remote in rclone that is connected to MEGA's own megacmd preserves the function to view images in MEGA. Copying images to MEGA cloud with a direct MEGA remote in rclone results in no viewing options for images without downloading them.

As a total newbie to command shells, rclone, remotes, etc. this whole journey has been a little daunting and time consuming despite the available documentation and helps. But with a good result! Here's a rough breakdown of the process for people like me:

  1. Install rclone* (download from rclone.org)
  2. In rclone, setup a socalled "remote" for your source cloud provider (command: "rclone config")
  3. Install megacmd (download from MEGA website)
  4. In megacmd, login to your MEGA account (command: "login" followed by MEGA username)
  5. In megacmd, setup webDAV (command: "webdav" followed by directory of choice)
  6. Copy the entire URL that megacmd returns (from "http:" onward)
  7. Mount a server with that URL on your OS (on Mac: Finder --> Go --> Connect to Server --> Paste URL --> "Connect")
  8. Set username and password of your choice when prompted
  9. In rclone, setup a webdav remote (command: "rclone config") with the following specs:
    -- type: webdav
    -- url: The full URL from 6)
    -- vendor: other
    -- username and password from 8)
  10. In rclone, check the remotes you setup (command: "listremotes"). This should show your source cloud remote from 2) and your webdav remote from 9)
  11. Copy files from your source remote to the webdav remote, making sure you use the exact remote names (upper/lower case sensitive) from 10) followed by ":" plus any directory of your choice (command: "copy" followed by source remote directory and then by webdav remote directory)
  12. Your files will appear in MEGA with preview function!

*I strongly advise installing rclone from an admin account in your OS. Otherwise you'll hit permission problems for essential commands.

1 Like

Thanks for sharing all details! For sure very useful for others.

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