Spyke

Why Personal Cloud Storage is so bad on Linux?

The main cloud services don't even work natively (GoogleDrive, OneDrive, iCloud) basically the only mainstream choice is Dropbox. I tried to use Google Drive in Mint, and it's a pain to get it to work, and usually it stops working after computer restarts.

Someone has a recommendation about how to handle these services?

View original on lemm.ee
lemmy.world

I keep seeing this question pop up. "Why doesn't [closed/proprietary technology] work well in Linux?"

This question should be asked at whoever makes said technology. You are their client, why don't they support your operating system?

That responsibility should not fall on the shoulders of the thankless volunteers that do their best to create an awesome OS.

Alternatively you can buy one of the commercial distributions and become a client. Then you can ask your supplier why don't they support that technology.

126

Case in point, Mega.nz offers a native GUI client for Linux and went out of their way to also make a full command line client.
Support those services that don't treat you like ass, y'know?

14
lemm.ee

I agree! But it's surprising that even Google doesn't have a native app for Drive. There's one for android, but not for Linux? I'm guessing it all boils down to number of users,, but still...

9
WFHreply
lemmy.world

Google literally owns Android tho.

18

Yeah yeah, AOSP and all that. Despite, Android is made primarily by Google to push Google products and most apps depend on Google services. For all intents and purposes, Android is a first party OS for Google.

10
feddit.de

If you want cloud storage I'd recommend Nextcloud as a service (I'm not affiliated with them, just a customer)

Works like a charm. You can even install plugins. Also, there are other companies that provide hosting so there is no vendor-lock-in.

40
soniquestreply
lemmy.studio

I have a raspberry pi 2, would this handle Nextcloud? Any recommendations for a hard drive to use with it please?

1
ikiddreply
lemmy.world

Being 32 bit, it's getting a bit old for using it with modern software. But maybe take a look at this and give it a try:

https://help.nextcloud.com/t/how-to-install-nextcloudpi/126308

NextcloudPi is a fairly low-maintenance version of NC, the only way I'd recommend installing it besides as a docker image. Straight installing NC is a recipe for disaster, it's notoriously bad at updating that way.

Whatever you do, don't use the builtin web updater inside NC to update nextcloud itself. Their app updater is fine, but the actual Nextcloud web updater is utter dogshit and will break things.

4
kbin.social

Google drive integrates simply into the file manager on Gnome for cloud storage. It doesn't do offline file-sync between devices, however.

The Microsoft and Apple products don't support Linux because... Microsoft and Apple.

30
jrandinyreply
lemmy.world

Does it work offline? Last time I tried it only works when you are online

3

No, the Google Drive implementation is just for cloud storage. It doesn't do offline file-sync. I'll update my earlier comment.

2
OboTheHoboreply
lemm.ee

I managed to get one drive working on linux, able to mount it onto the filesystem using rclone.

2

Yes, it's often possible to get unsupported services working, but it's rarely simple and it's prone to breakage over time with changes to the system as well as to the service. I do not recommend it to anyone seeking a simple solution and I will not do it for someone I need to support.

2
lemmy.world

I sick of seeing Google Drive recommended as an alternative to dropbox. (Because I am looking for an alternative to dropbox and so far nothing has feature parity with it and the features I value.) If an app forces me to be logged in to a graphical environment locally on Linux then it has already failed to understand why people use *nix. Google Drive doesn't keep offline copies and it doesn't work on CLI. So basically useless on my server. If the files aren't natively and transparently accesible as a local filesystem while they are synced to the cloud, it's not a viable Linux Dropbox alternative. I want my files on my machine and a copy on the cloud, not the other way round.

1

I have not and do not recommend it. I simply responded to the claim that it doesn't work, because it does. OP has something else going on that's causing Google Drive problems.

I use both Dropbox and Mega and recommend either for someone seeking a simple cloud-sync solution.

2
lemmy.world

I second that.

With the additional advantage that rclone has modules like crypt and join, which allows you to keep your data encrypted no matter which cloud you use, gaining more cloud space by joining clouds, etc.

7
SALTreply
lemmy.my.id

rclone

rclone bisync, even it's not good in production, I been using it for 1.5 years, just need to check the log regularly... I just hope this function become stable enough to be on mainstream, then almost all cloud storage works well on it...

2

Just make sure, that you have logs for it, and check before sync. because sometimes in bisync, you can lost your file... but I already manage it by excluding a lot of .swp, ~.lock., and other temp files.... Mostly temp files is there cause of broken bisync, and when resync, the file that suppose to be synced, deleted...

2

Rclone is awesome. Mega and PCloud got native clients that works great. Nextcloud is an alternative.

23

Nextcloud works great! Includes integrations with GNOME and KDE including taskbar icons etc. and you can pay a service to host Nextcloud for you if you'd prefer that to selfhosting.

19
lemmy.world

I have a self-hosted Nextcloud and my Nextcloud account connected via GNOME as an Online Account. It integrates seamlessly with Calendar, gives me a webdav mount for my files etc. I don't have any issues. I have not added any Google accounts, and definitely no Microsoft accounts. I don't use public clouds for private stuff.

18

@Luckyfriend222 @desconectado when I first switched to gnome I loved this and probably one of the main reasons I'll be sticking with gnome now.

calender, tasks, contacts all just integrated perfectly felt like I was in some sort of apple Eco system product for a second the way it all just synced together

1
woelkchenreply
lemmy.world

I have a self-hosted Nextcloud and my Nextcloud account connected via GNOME as an Online Account.

The self-hosted bit is the problem. I have yet to find a Nextcloud provider that offers the service truly ready to go. The ones I found try to make it somewhat easy by offering Install buttons in web interfaces but if you have absolutely no clue about such things, even that is a hurdle to overcome.

1

Considering that the list includes providers I've had first hand experience with and those are not ready to use: No.

1

@fossisfun @desconectado Still, if I was Microsoft I think I'll develop an official OneDrive client for Linux. And I hope in the future they'll realize it's not a bad opportunity for them and for fidelizing users.

2

Hi, I quote this, Syncthing+Nextcloud if you want to share directories, files, calendar, contatcs etc with someone, for example your family.

1
TCB13reply
lemmy.world

Syncthing is a very good piece of software, even when working cross-platform. Nextcloud, however, is the biggest and most cumbersome pile of garbage open-source produced in the last decate.

Currently I'm running Syncthing on my NAS and all my devices sync to it (no cross-device sync to avoid issues). Then I've an SMB share to allow access to the files on iOS devices and FileBrowser for a cloud-like web browser access experience. Works flawlessly uses very little RAM and its solid, private, secure and manageable open-source - not something like Nextcloud that calls home, breaks everything on upgrades, wastes ram and runs slowly to only deliver an inferior experience in all possible ways.

Some of my experiences with NC are described in detail at https://lemmy.world/comment/1571886 and https://lemmy.world/comment/346174

0

Nextcloud is everything other than minimization and stability. I bet if you take a quick look at their repositories you'll find security-wise questionable stuff very fast and also tons of different pieces not a single thing.

2
lemm.ee

Syncthing is pretty good. I've got a raspberry pi running it on my local network with an old usb hard drive I had kicking around and it works great

10

Just to be clear, Syncthing is not cloud storage but file syncing. It can be used in a similar way but it does have different strengths and weaknesses.

7
Synapsereply
lemmy.world

The linux client worst fine, eventhough I rarely use it.

1

I haven't had any issues with pCloud's linux client either, although it is definitely not as quick to sync as Dropbox. It might take 30 seconds to pick up changes instead of 3. Something about block-level change tracking I think.

2

rsync/ rclone just works! Have not tried rsync with cloud yet, I use rclone for encrypted backups. Most cloud services are supported including google drive.

9
lemmy.world

For command line sync to the cloud you can use rclone. It's FOSS and works with many different cloud providers.

For a constant sync experience you can use insync. It's closed source and requires a license though, but works reasonably well.

Sorry for the lack of direct links since I'm on the phone.

8

You don't need insync - most people just automate rclone sync commands using whatever task scheduler their system runs by default (cronjobs or systemd units, typically). For those who prefer a GUI, KDE has a Scheduled Tasks app.

On Android, you can use Round Sync which is a wrapper around rclone and can import the same configs.

3
lemmy.world

I had a problem with Mega using Fedora. Trying to update from Fedora 37 to 38, I had a dependency problem with the Megasync app. I tried uninstalling but the problem persisted and I couldn't upgrade, so I had to make a clean install.

Other than that, Mega and Syncthing worked perfect for me.

1
miloreply
lemm.ee

The same thing happened to me, so I switched to the flatpak version and it works well.

1
lemm.ee

Yeah, that works as intended, what I meant is to have offline files, (full on sync folders) not only the virtual disc mounted. I work with lots of scripts (MATLAB) and the speed is significantly slower for virtual files.

1
lemm.ee

I also say that pCloud is possibly the best option. Simple install, free storage, and a cheap lifetime purchase for more storage. My only complaint is that they don't support aarch64 yet, but I don't need think there's really anyone that does yet so I'm living with offline backups.

6
Crozekielreply
lemmy.zip

Too many horror stories with pDrive about people getting locked out and never seeing their data again, and their terms lay it out that they own what you upload not you. That scared me away from pDrive.

I moved to kDrive and it has done everything I need so far. It's a little slow to transfer if you are in the US since their servers are in the EU, but that's a minor complaint and only a hurdle I had to worry about once during initial sync... It's hardly noticeable with everyday changed to individual files.

The Google drive integrations in dolphin / KDE work well enough but it doesn't have an option to "sync" folders in a local drive like the windows client did, and that was my main use case. Same with dropbox, you get one sync folder on your main OS drive. I have 8 storage drives in my computer and I have more data that needs synced and backed up than will fit on my main OS drive.

0

While I've never had a problem in my 5 years of use, I only really used it as an automatic phone backup that my laptop could then pull the files in and work with. Not a lot of use, or devices. I don't doubt that pCloud has their privacy issues, and I don't doubt the horror stories. Like I said I'm not using my account anymore, and would love to try Nextcloud if I had the time to figure it out and the money to buy the hardware to do it with.

2

Mega (Mega Upload) ain't bad, 30gb free. Worth a look!

I used them all, so I get plenty of cloud storage for free

5

I don't understand those questions. Google Drive is webdav to the best of my knowledge. Anyway, it works out of the with Gnome/Ubuntu. When you connect a Google account, a drive icon appears. Doesn't get more "native".

I get the problem that most vendors don't have an app for Linux, so some functionality is lacking compared to what you may be used to. And cross-platform anything can be a problem, i.e if you really need Linux Desktop + Android + Windows + Apple stuff. (I do and learned to use web-based applications for work.)

What do you really expect from a "Personal Cloud Storage"? not a clearly defined term.

Seafile (needs a paid server as the backend) works nice for syncing files. Google Drives works as network drive. There are tons of backup solutions that work with tons of storage backends (aka professional cloud storage).

5
lemmy.ml

Most people I know who use Linux wouldn't trust Cloud services cause that's just storing your stuff on somebody else machine. You can self hosted service like Next cloud on a raspberry pi or just get comfortable with networking enough to setup VPN and ssh into your home computer from the net to get your stuff.

5
JackbyDevreply
programming.dev

A huge part of disaster recovery is storing things in separate geographic locations. That's not easily don't with self hosting. If all my stuff is on a file server at my house and my house burns down then I've lost all my files.

6
nyanreply
lemmy.cafe

While this is true, you can have a remote backup service that isn't the type of cloud storage the OP seems to want (that is, which isn't designed for editing individual files on the fly on the remote server, or synchronizing between devices). They're similar, but not the same.

2

I'm mostly talking about the "somebody else's computer" part in the comment I replied to. I don't think it's very feasible. I think self hosting stuff from home is awesome and think it's a culture more folks should check out, but to really have a proper backup of files they need to be stored in multiple different physical locations and that's not something that's cost effective for most folks. What you're talking about is still "someone else's computer" so not different from the comment above.

2
alteropenreply
noc.social

@JackbyDev @besbin my personal solution for this is an encrypted 16tb external storage drive I keep in my car. A copy of my server drive is made once a week. not perfect solution but doesn't require much effort on my part

1

I walk through the woods on one side of my house, there is a shovel behind some trees I’ve marked. Then I go back to my house, down the other side of my property until I get to the river. Then I dig in the river bank until I get to a plastic bag. Double wrapped of course.

Inside the plastic bag?.. a collection of 1gb USB thumb drives and a note pad.

In the note pad?.. an index cataloguing what is backed up on each thumb drive.

3
alteropenreply
noc.social

@JackbyDev in a parking space on the other side of the road from my house, not far but deals with the whole house fire problem

1
ebits21reply
lemmy.ca

I guess it depends where you live, but I’d be worried about heat/freezing.

1

@ebits21 yes this is true I mean I live in the UK so we don't get extremes neither way, but maybe during winter I should keep the drive at my partners place

1
sopuli.xyz

Well the thing is, I’m still not comfortable in opening up an attack surface like that. I would much rather pay for someone else to do that. Preferably someone who really knows what they are doing and keeps an eye on the constantly evolving security environment. There’s a bunch of other stuff happening in my life, so finding the time to play server admin isn’t that easy right now.

3

Thanks for the link. Recently, I’ve been looking into nextcloud providers, but somehow I missed this company.

1

If you need the online storage (or whatever self hosted service) just for yourself (and maybe some few people), it's very simple to set up a Wireguard instance. My server doesn't even show open ports to the outside world, but with Wireguard I can access my git, wiki, etc in my home LAN.
I haven't really tried any of the second tier Solutions like Tailscale. But when you have more users or a more complex environment, that could help.

Still, sharing stuff with "outsiders" would still be tricky, I guess - at least I haven't found a solution...

3

Uh what? Lots of Linux users also use cloud services.

Pretty easy to use something like Cryptomator with almost any service and maintain privacy.

Self hosting can be great; it can also be a pain.

1

Someone has a recommendation about how to handle these services?

You don't. Apple is notorious for their walled garden approach. Microsoft has no interest in supporting Linux (why should they?). Don't know about Google.

I am pretty happy with pcloud. They offer lifetime licenses that are really worth it if you intend to stick with them long term. The automatic Backup works great and AFAIK they have clients for all major platform's. The android client could be better, but Windows and Linux works great. Don't miss any functionality and the connection (at least here in Germany) is fast.

4
lemmy.ca

I use Google Drive with InSync. It's not free, but it's a good piece of software I've been using for years and it does everything I need.

4

If only they would listen to the hundreds of requests for a flatpak…

I use it too and have for years.

2

i have multiple google drives synced right into my file manager...like i just click it, it mounts it, and drag stuff in and out as if it were local...i'm on debian with gnome. dropbox works the same way. obviously icloud and onedrive may be more difficult, but i'm pretty sure there is something formsyncing up onedrive, but i choose to disable one drive on all my windows devices.

3
lemm.ee

I switched to linux (POP OS) as daily driver recently. Using selfhosted nextcloud and had 0 issues installing client and syncing. Didnt try google and other big guys yet

3
sh.itjust.works

Pop OS had me log into Google and I believe my Google Drive space was automatically mounted. Too easy :)

1

It is too easy, but It probably got mounted as network drive so you dont have files stored on pc (bonus if you are low on storage). At least that was case with my nextcloud, so I removed that account and installed app from store. Both ways are super easy, iphone dificulty

Network drive is perfectly fine if you are ok with that (no internet = no files and it will open files bit longer), but OP was asking for synced files on local drive. I selfhost cloud and I prefer sync so I can have one more copy stored on desktop

1
rabbitea.rs

I have a Backblaze B2 account I use for other things, I recently created a new bucket on it and attached it as a drive using s3fs. Works fine as far as I can tell (I've not used it much - prefer to keep things locally and just back them up off-site, which is actually what I have my B2 account for), so you certainly can do this with an S3 (AWS) compatible service.

3
feddit.uk

I use Backblaze B2 buckets too, just use a cron job to sync stuff once a day (using it for backups). It's not expensive and it just seems to keep on working. I also like their disc reliability reports they send out.

1

Indeed. Quicker and more stable than Next loud or OneDrive for me.

2

Because Linux is not a platform moneymaking capitalists choose to develop their apps for?

You have Nextcloud for all distros, Flatpak, Appimage. You have Syncthing which doesnt exist on iOS.

3
lemmy.ml

Chiming in, is there a solid OneDrive client for linux that just works? No collaboration stuff needed for it or other fluff, just simple file sync. I pay for OneDrive family and would be nice to be able to sync files with other ecosystems (Synology, Windows, Android).

3
talizorahreply
kbin.social

There’s a commercial Linux client I was using called Insync and it was perfect. Only stopped using it because I switched away from Linux

5

This is the one I'm using as well. I use it to keep my work laptop running Linux in sync with the various Windows desktops I use in our offices. Works great for keeping my work keepass vault in sync.

1

I use kDrive and it works well with Fedora. Infomaniak, the company behind kDrive, is from my country, Switzerland. It uses a lot of renewable energy and the heat from their servers is used to heat buildings in my city.

2

I use Google cloud with nautilus, and before that I used google-drive-ocamlfuse on my Chromebook with custom firmware. All this just so I don't have to use their stupid website.

2

Because it's a disproportionate amount of effort to natively support an extra OS (particularly one as fragmented as Linux), especially one with such a small userbase that largely isn't interested in using proprietary cloud services in the first place because of data privacy and security concerns.

Obviously not all Linux users are super worried about that stuff (I mean, I use Linux and have a google pixel), but on average the Linux userbase is way way more aware of that stuff than most users who just want their photos backed up without having to worry about it.

2

Has anyone tried cryptpad.fr. I'm considering it, but I have yet to try it.

2

Last time I tried, Dropbox has the best linux app. It even supports LAN syncing and integration with nautilus (ubuntu default file manager). However I need to move to onedrive because dropbox is just too expensive

2

Dropbox works pretty well for me, however I'm planning on building my own home server with nextcloud setup as soon as I can.

1