this post was submitted on 04 Nov 2023
68 points (100.0% liked)

Android

28030 readers
284 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 1 year ago
MODERATORS
all 38 comments
sorted by: hot top controversial new old
[–] bobbytables@feddit.de 22 points 1 year ago (2 children)

Nextcloud app. It works alright.

On iOS it's a different story though... (my wife has an iPhone)

[–] RootBeerGuy@discuss.tchncs.de 3 points 1 year ago (1 children)

Can I ask what doesn't work with Nextcloud to your expectations? Just sounded like "works alright" implies something is off from what you'd like. I am asking because I have recently set this up for myself and haven't noticed any issues yet. Well apart from a recent issue with one of the latest app updates crashing those auto uploads.

[–] bobbytables@feddit.de 5 points 1 year ago (2 children)

The sync on Android itself is pretty stable. Every now and then it throws errors about not being able to sync but those could be because of bad reception.

The Nextcloud app on Android has another weird error for me. It doesn't show the content of a notification (like "Update for app xyz available") but "NEXTCLOUD_NOTIFICATION". I tried to resolve it using different approaches from the internet but it followed me even to a new phone. I just gave up for the time being.

The sync with iOS is somewhat bad. To get all the images from my wife's phone to the cloud I have to plug it in, deactivate screen timeout, and open the app. Sync will stop once I close the app.

Last but not least compared to iCloud/Google Photos watching and browsing the photos on a device is just way slower. I understand why that is but in the end it's just an annoyance making the switch harder for people in my family. They understand why I am passionate about selfhosting and privacy but they still have a reasonable expectation that things just work.

All in all nothing really severe. Little annoyances along the way. I am still quite happy with the solution all in all.

[–] hayhay@programming.dev 2 points 1 year ago* (last edited 1 year ago)

They understand why I am passionate about selfhosting and privacy but they still have a reasonable expectation that things just work.

That's somewhat where my head is at too at the moment. I do want to go the privacy route but I do also want something where it can "just work" (hence why I'm looking closely at third party solutions like entee and filen or proton drive). I do care about privacy, but having all the creature comforts that companies like Google has provided is still a bit difficult to let go.

Sync will stop once I close the app.

This is an iOS limitation, so no going around that unfortunately.

[–] RootBeerGuy@discuss.tchncs.de 2 points 1 year ago

Thanka for elaborating so detailed! I can mirror your concerns, seeing mostly the same issues like slow browsing of images. But overall I am ok with this too.

[–] p5f20w18k@lemmy.world 2 points 1 year ago

I used nextcloud as well, switched to Immich when I got an iPhone though

[–] Fermiverse@feddit.de 16 points 1 year ago (2 children)

Syncthing.

App on the phone and host on the server.

[–] onelikeandidie@lemmy.world 7 points 1 year ago (1 children)

I second this, I use syncthing for phone camera to pc and laptop and have never had a problem. It's almost instant too, it's kinda nuts that it doesn't even need Internet to connect between devices. I a world where everything needs an account, and tracking, syncthing is a simple grace I take for granted

[–] Sibbo@sopuli.xyz 2 points 1 year ago (3 children)

But syncthing deletes images when they are deleted on the phone right? I just tried it, and this is what seems to happen. Is there a way to set it up such that I can delete things on my phone, but they won't be deleted on the server?

[–] macattack@lemmy.world 8 points 1 year ago* (last edited 1 year ago) (1 children)

https://docs.syncthing.net/users/config.html

Adjust the config settings:

sendreceive The folder is in default mode. Sending local and accepting remote changes. Note that this type was previously called “readwrite” which is deprecated but still accepted in incoming configs.

sendonly The folder is in “send only” mode – it will not be modified by Syncthing on this device. Note that this type was previously called “readonly” which is deprecated but still accepted in incoming configs.

receiveonly The folder is in “receive only” mode – it will not propagate changes to other devices.

receiveencrypted Must be used on untrusted devices, where the data cannot be decrypted because no folder password was entered. See Untrusted (Encrypted) Devices.

[–] Sibbo@sopuli.xyz 2 points 1 year ago (1 children)

Yeah, I have the folder on the phone on sendonly. But this sends also deletions to the server, apparently.

[–] Fermiverse@feddit.de 9 points 1 year ago

Ignore delete is a folder feature that you can set on the receiving folder.

[–] onelikeandidie@lemmy.world 2 points 1 year ago (1 children)

You can make it so that you can have a folder ignored by your syncthing on your computer called something like backup but have your phone still recognise that folder as not ignored. Then when you want to delete a photo in your phone, just move it to that folder, wait until it syncs and then delete it. Your computer should not delete the photo since it ignores any changes in that folder. I'll test this when I get home if you would like?

[–] Sibbo@sopuli.xyz 2 points 1 year ago

Thanks, but this is too labourous for me. I would like to be able to delete photos directly from my phone without the need to move them first.

I am now thinking about setting up a cronjob on the server that backs up the pictures every minute or so to a different folder with rsync...

[–] MangoPenguin@lemmy.blahaj.zone 2 points 1 year ago* (last edited 1 year ago)

Yup, it's not a good solution.

Look into Foldersync, PhotoSync, Nextcloud, Immich. They all work how you would expect where photos are backed up, and you can then remove them from your device if needed.

[–] KubrickFR@ttrpg.network 13 points 1 year ago

I heard good things about immich

[–] netchami@sh.itjust.works 12 points 1 year ago

I use self-hosted Immich with their Android app. You can also use PhotoPrism with PhotoSync.

[–] creed10@lemmy.world 9 points 1 year ago (1 children)
[–] Sibbo@sopuli.xyz 1 points 1 year ago

How do you circumvent this problem: https://sopuli.xyz/comment/4305645

I use foldersync and sftp

[–] monoboy@lemmy.sdf.org 9 points 1 year ago (1 children)
[–] iwasgodonce@lemmy.world 5 points 1 year ago

I do similar, termux with rclone, use nextcloud as the server.

[–] electric_nan@lemmy.ml 8 points 1 year ago

Nextcloud. Auto uploads any new files from specified directories to my server.

[–] Darkassassin07@lemmy.ca 7 points 1 year ago (1 children)

I fairly recently setup FolderSync to monitor my pictures folders and sync them to my server via ssh as soon as new images show up. I then set it up to sync everything else on the device on a schedule.

I'm using ssh, but you can sync between any folders through ssh, ftp, smb, dropbox, google drive, and many other cloud services. Local>cloud, cloud>cloud, cloud>local, and even bi-directional.

[–] eco_game@discuss.tchncs.de 4 points 1 year ago

+1 for FolderSync, it's amazing. I use it to sync some folders to my server over SMB.

[–] HeavyRaptor@lemmy.zip 7 points 1 year ago (1 children)

I've been using Immich. It has been getting better with every update.

[–] byrona@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Surprised to see this is the only suggestion of immich in this thread, it's great

[–] thelastknowngod@lemm.ee 6 points 1 year ago

I use Resilio Sync. It uses a modified bittorrent protocol. You don't need to open any firewall ports or anything like that.. Really simple to get going.

This is a sync took though. Replication is not the same as backups. This may or may not be for you depending on the goals.

[–] PeterPoopshit@lemmy.world 5 points 1 year ago* (last edited 1 year ago) (1 children)

Android ftp apps never work. It's also a huge pain and borderline impossible on some distros to get mtp over usb cable to work and even when it does work it barely works. Most phones don't have an sdcard slot so you can't go that route either. And I'm definitely not using Google drive because they've on purpose tried to make it impossible to go any route other than that and fuck Google.

My solution? I made a php page with a file upload so I have to upload my files via php. It's the only way. It's still easier than using the USB cable if it actually worked though. Luckily there's no way Google will ever find a way to patch this out.

Transferring files to the phone involves using the same upload button just from a pc and then I download them from the "view uploaded files" button which is a page that autogenerates download links to a page.

[–] Pantherina@feddit.de 1 points 1 year ago

Weird, for me mtp or Syncthing work pretty well. But mtp not for big archives or multiple folders, true. So syncthing with global discovery disabled.

[–] the_tab_key@lemmy.world 5 points 1 year ago (1 children)

I have a Seafile server. The Android app isn't great but it does automatically sync photos nicely.

[–] Lem453@lemmy.ca 5 points 1 year ago (1 children)

I was using nexcloud since it first released. Just recently switched to seafile. Way faster and more reliable for this.

[–] op12@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

I use https://github.com/nirajsanghvi/docker-gphotos-sync, which is a fork of Jake Wharton's Docker wrapper with an extra option baked in to prevent redownloading previously downloaded files. It relies on the gphotos-cdp tool which uses the Chrome Dev Protocol to headlessly browse the Google Photos site and download your photos one by one. The reason for this, assuming you store your photos in Google Photos, is it's one of the only ways to get your photos in their original quality and also retain EXIF information (Google Takeout loses the EXIF info).

A warning though, it can be quite finicky to setup, particularly with obtaining your account cookie for the first run. In the past it's taken me several attempts before success. However, once it's running it's pretty reliable with an occasional stall requiring a container restart (there's issues for this on the parent repos, but they were complicated problems to solve so they're still open, and occasionally needing to restart the container when the healthcheck fails once every couple of months hasn't been too bad).

[–] ndupont@lemmy.world 4 points 1 year ago

I've been using SMBSync2 for years now. I'm quite happy with it. Even in holidays it can backup over VPN. AndSMB for a while before that, until it schedule functionalities required a subscription.

[–] Aux@lemmy.world 4 points 1 year ago

Synology Photos.

[–] bartolomeo@suppo.fi 1 points 1 year ago