this post was submitted on 22 Sep 2023
18 points (95.0% liked)

Self Hosted - Self-hosting your services.

11419 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

Its stupid fast, reliable, and rarely has any conflicts. If it does it seems to work them out without intervention. I've tried Nextcloud including the AIO image and its just so clunky and slow. I was getting sync errors just on the simple Notes apps. Repeatedly. I mean I get why people like it, it can do way more than Seafile. But for a pure Dropbox replacement, I love it.

The fact I can reach any file on any device from any other device without syncing EVERYTHING is fantastic. I know Syncthing is also popular, but seems to require more manual settings if you want to be selective on what syncs.

I will say, I've tried and failed numerous times to get Collabora CODE and S3 storage integration to work with Seafile and that is a nightmare, at least for me. I cannot get my head around it. But standing Seafile up itself was fairly easy.

Does anyone else use it? If so, have you tried the CODE and/or multiple storage backend integrations?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 year ago (1 children)

ouh. thats a real hurdle. I was thinking about seafile lately.

but thats a major nogo.

probably I will look into a more comolex syncthing setuo.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

I really want to use Syncthing for something. I just haven't figured out what yet. Only thing I can think of is to sync games saves from my Steam Deck for non-Steam games, since they don't have cloud saves.

[–] [email protected] 1 points 1 year ago (1 children)

I use it for working with my smartphone.

sorting pictures in my pc, have them right in my gallery on my phone. fetched a pdf when doomscrolling why commuting, have it instantly on my pc when Im back home.

I am currently migrating away from tiddlywiki as I want to have my notes integrated into my plain file life as well.

[–] [email protected] 1 points 1 year ago (1 children)

I have a Mealie instance running on a VPS. It has a backup function built in, but it just dumps a .zip locally. I could leverage Syncthing to send that over to my server. Other than that, what you described is exactly how I use Seafile. I have my documents folders on all PCs and my phone synced. Had to print something off downstairs and didn't want to go get the laptop upstairs to either send to myself or print from the laptop, so seafile just let me reach to the server and pull it down via my Linux desktop client.

[–] [email protected] 1 points 1 year ago (1 children)

yeah I see, however in my use case I dont have all the time access to my server (which is also the case wifh syncthimg) plus the mentioned culprit that the seafile datastructure is not able to retrieve the files without seafile.

[–] [email protected] 2 points 1 year ago (1 children)

I mentioned it in another comment but you can use rclone to mount the seafile data structure. And at least in my testing it works really well. I'll have to test with more data and of course remote data. If I ever get the Backblaze B2 backend working then I could more easily test a use case where I didn't have access to the server like you're talking about. I have had great success with rclone mount with Dropbox, but those are not chunked files. :)

I do wonder if folks who are hesitant to use it because of the chunked files are also not using apps like Borg backup or Duplicacy. Both of which also chunk the data. I believe in both cases you can still leverage rclone to mount them as whole files for retrieval.

[–] [email protected] 1 points 1 year ago (1 children)

I indeed do not use borg or duplicacy. ^^

Im not sure if I can follow you. you mean you use rclone to clone the seafile database to you phone and use then nonetheless seafile on the phone to access it?

[–] [email protected] 1 points 1 year ago (1 children)

I mentioned rclone and its mount function as it's an alternate method of accessing Seafile's backend. So if Seafile clients and web interface are somehow inaccessible, you can use rclone mount to "reassemble" the chunked data and then recover or copy to another location as needed.

The best way I can describe the phone example is that each Seafille client is a portal to the data on the Seafile server. I have it setup like this:

  • Documents - MBP (macbook pro)
  • Documents - Note10Plus (my phone)
  • Documents - Pop (primary desktop running Pop!_OS)

From my phone I can pull any data in any of the 3 libraries without needing to sync the entire thing to each device, which is what Syncthing wants to do by default. I understand there is an ignore function but from what I can tell you'd have to manually mark quite a few folders as such so you don't sync all data to each client.

One scenario I tested last night was using rclone mount on the server, which "un-chunks" the data back into whole, flat files and mounts it in a temporary folder. I then used rclone to copy it to a Backblaze B2 bucket. Which now has fully assembled flat files sitting as a backup in B2 storage. My thought is to script that function because damned if I can't seem to get database dumps to work properly when performing backups on pretty much any self hosted product that uses them. Still learning though.

That is probably way more info than you needed to answer your question, sorry about that.

[–] [email protected] 1 points 1 year ago (1 children)

Actually I appreciate it. :)

Wasnt aware of the rclone functionality to use datachunks.

But how do you put the cloned data back into seafile?

Syncthing would simply wait until the peer is back online and propagate the update from the phone back to other peers.

But as far as I understand you simply pull a backup from a seafile repo if the server is down?

[–] [email protected] 1 points 1 year ago (1 children)

You don't need to put it back. Rclone mount is another "portal" to the seafile data, but fully assembled. It mounts to a folder you specify. Then you reach in and pull anything you might need if all of the seafile clients and web app are down.

They do have their own tool called Seafuse that will assemble the data as well, but I've not tried it since rclone works great and has a ton of support. It's fantastic.

[–] [email protected] 1 points 1 year ago (1 children)

Ok Now I understand.

Didnt knew that rclone was capable.

Well, that actually changes the situation. maybe I should still look into seafile.

Whats your hardware? i will try it on a RPi4, since I have read about nextcloud being a hog resource wise I hope seafile will be more calm

[–] [email protected] 1 points 1 year ago

I have a HP Microserver Gen 8. And about 22 docker containers including Seafile running. I've read folks had good success with it on Rpi, but I haven't tried myself. I ought to spin one up on one I have that's not doing anything.

I'm a recent convert to Rclone. I've struggled with other CLI backup tools like Borg and Restic, but rclone is very approachable.