Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mega backend missing from debian sid rclone package #3980

Open
elig0n opened this issue Feb 18, 2020 · 18 comments
Open

Mega backend missing from debian sid rclone package #3980

elig0n opened this issue Feb 18, 2020 · 18 comments

Comments

@elig0n
Copy link

elig0n commented Feb 18, 2020

hi i cannot seem to find mega.nz in the backends list or via config

@darthShadow
Copy link
Member

https://rclone.org/mega/

@elig0n
Copy link
Author

elig0n commented Feb 18, 2020

Yes I've seen that but it doesn't work. LIke I said there was no "mega" in the list and typing it in didn't help either.

@darthShadow
Copy link
Member

What version of rclone are you using? Perhaps its too old. I am able to configure and use the Mega backend without issues on the latest rclone beta. It has been available for at least the last couple of stable releases.

@elig0n
Copy link
Author

elig0n commented Feb 19, 2020

rclone v1.50.2

  • os/arch: linux/amd64
  • go version: go1.13.6

on WSL Debian sid, installed via apt.
The manual page does show "* Mega" in the list of supported providers but not in the one from rclone help backends.
The backends I see when inside interactive 'rclone config' are 32 in number and as follows:

  1 / 1Fichier
   \ "fichier"
 2 / Alias for an existing remote
   \ "alias"
 3 / Amazon Drive
   \ "amazon cloud drive"
 4 / Amazon S3 Compliant Storage Provider (AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, etc)
   \ "s3"
 5 / Backblaze B2
   \ "b2"
 6 / Box
   \ "box"
 7 / Cache a remote
   \ "cache"
 8 / Citrix Sharefile
   \ "sharefile"
 9 / Dropbox
   \ "dropbox"
10 / Encrypt/Decrypt a remote
   \ "crypt"
11 / FTP Connection
   \ "ftp"
12 / Google Cloud Storage (this is not Google Drive)
   \ "google cloud storage"
13 / Google Drive
   \ "drive"
14 / Google Photos
   \ "google photos"
15 / Hubic
   \ "hubic"
16 / JottaCloud
   \ "jottacloud"
17 / Koofr
   \ "koofr"
18 / Local Disk
   \ "local"
19 / Mail.ru Cloud
   \ "mailru"
20 / Microsoft Azure Blob Storage
   \ "azureblob"
21 / Microsoft OneDrive
   \ "onedrive"
22 / OpenDrive
   \ "opendrive"
23 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
   \ "swift"
24 / Pcloud
   \ "pcloud"
25 / Put.io
   \ "putio"
26 / SSH/SFTP Connection
   \ "sftp"
27 / Transparently chunk/split large files
   \ "chunker"
28 / Union merges the contents of several remotes
   \ "union"
29 / Webdav
   \ "webdav"
30 / Yandex Disk
   \ "yandex"
31 / http Connection
   \ "http"
32 / premiumize.me
   \ "premiumizeme"

@darthShadow
Copy link
Member

Weird, mine shows 36 backends. Just tried a local 1.50.1 beta and its showing up there too.

Would you mind upgrading to the latest version from the official downloads ?

@ncw ncw changed the title How to add mega.nz drive ? Mega backend missing from debian sid rclone package Feb 20, 2020
@ncw ncw added this to the Known Problem milestone Feb 20, 2020
@ncw ncw added bug and removed question labels Feb 20, 2020
@ncw
Copy link
Member

ncw commented Feb 20, 2020

on WSL Debian sid, installed via apt.

I wonder if debian are leaving out the mega backend for some reason. There are no build constraints on the mega backend so it should be present...

Ah yes, I see this in the source package

debian/patches/0002-Disable-mega-backend.patch

@toddy15 can you tell us the reason for this - It didn't say in the patch. Is there something I could do to make the backend acceptable for Debian? Thanks!

@stratosgear
Copy link

I ended up here, too, since mega does not appear in the v1.50.2 version of rclone that is installed on Ubuntu 20.04

@soredake
Copy link

soredake commented Jul 6, 2020

toddy@debian.org

@toddy15
Copy link
Contributor

toddy15 commented Jul 6, 2020

Hi @ncw,

the reason that the mega backend is disabled is simple: the package "github.com/t3rm1n4l/go-mega" is not available in Debian, therefore I cannot enable that backend.

As soon as t3rm1n4l/go-mega is available as a Debian package, the mega backend can be enabled.

Regards,
Tobias

@soredake
Copy link

soredake commented Oct 24, 2020

Workaround for Ubuntu 20.10:

wget -qO - https://azlux.fr/repo.gpg.key | sudo apt-key add -
sudo add-apt-repository "deb https://packages.azlux.fr/debian/ buster main"

@blademckain
Copy link

why for mega don't use the official Megasync for linux?

@soredake
Copy link

soredake commented Mar 9, 2021

@darthShadow
Copy link
Member

At this point, we are blocked on go-mega not being available as a debian package (t3rm1n4l/go-mega#27). Posting here will not help resolve this so please focus your efforts on getting go-mega packaged for debian or finding a maintainer who can help with that.

@maltfield
Copy link

maltfield commented May 23, 2023

@darthShadow in the meantime, can you please update the website with a note indicating that "Mega" may be missing as a remote on some systems, and include a link link to this github issue?

That would have saved me (and certainly main others) a lot of time searching

@maltfield
Copy link

maltfield commented May 25, 2023

For users who prioritize using mega (over using rclone), there's a couple alternatives until this upstream issue is resolved:

  1. The official mega MEGAsync GUI client https://mega.io/desktop
  2. The official mega MEGAcmd CLI client https://mega.io/cmd
  3. The unofficial megatools CLI client https://megatools.megous.com/

Ironically, the first two official packages are not in the Debian repos, but there is an RFP for that here

But the unofficial megatools package is in the Debian repos:

Unfortunately there's an auth bug in Debian 11's version of megatools, but the fixed version is available in Debian 12

@firrsefu
Copy link

I've created a "bug" under Work-Needing and Prospective Packages to request go-mega be added to Debian so rclone can work with Mega.nz storage: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039997

See also t3rm1n4l/go-mega#27

@Maytha8
Copy link

Maytha8 commented Dec 20, 2023

@darthShadow @ncw I've packaged go-mega in Debian (it just got into Debian Unstable), and I'm now working alongside Tobias to update the rclone package, get Mega re-enabled, among other things.

Feel free to ping me here or email me for anything else. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants