Hello everyone,

Since my daughter was born I am searching for a solution to share pictures of our child with my wife and create a copy of each smartphones photos and other files (documents). At first I tried nextcloud, but there is a lot of overhead and the administration feels kind of complex for what I need.

Anyone else having some input on which software to use?

So my main goal is:

Software running on raspberry pi (preferable docker). Has abilities like shared folder where pictures and documents get uploaded from multiple users and can be viewed (collaboration editing is not needed). Automatically copy files from smartphone (android) to raspberry from selected folder for a simple redundancy.

  • eramseth@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    I have found synching to be very useful for making copies of files across devices. I have it setup to mirror photos from my phone, photos from my wife’s phone, and various other things (to-do lists for todo.txt, notes and shopping lists for obsidian… stuff like that) back to my desktop and my NAS. You can set it to do one-way sync (which is more like a backup) or two way sync (where changes anywhere are propagated to everywhere else).

    As others have said, it’s not really a true backup solution, but handy to have immediately accessible copies of what’s on your phone in case of phone loss or damage.

    For photo viewing and sharing, I am more or less pointing the photo sharing app on my NAS to the photos I sync from phone. They all get dropped into an “inbox” when first synced and then can be organized from there.

    You may also want an actual backup solution. There are quite a few and that’s a different topic. The reason I bring it up, though, is that simply mirroring what’s currently on device is not considered a real backup by most people, and for good reason.

    • Ebby@lemmy.ssba.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      I use syncthing for backups including some phone files, but I’m not sure this would be good.

      Syncthing devs clearly don’t want this app used as a sync-and-archive tool so all phones would have all copies and any phone can permanently delete any file. I wouldn’t trust that.

      (Yes, there is a roundabout way, I do it too, but it is prone to errors and sync issues)

      I second immich and backup. immich can archive as you want, and Syncthing can make backups of files.

      • Sethayy@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        Is the roundabout way file versioning? Cause its been pretty stable for me, just toss a device with lots of space on the cluster and crank up the versions to your hearts content

        • Ebby@lemmy.ssba.com
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 months ago

          It’s changing settings to only allow one way sync and disable deletion. The sync folder basically becomes an automatic archive destination.

          They are soooo close to having this cool tool, but many feature requests have been shot down because it’s not a true sync. I get it, but it sucks too.

    • BZzzz@jlai.lu
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      5 months ago

      personnaly i have try a lot Syncthing at different times and all times I had synchronization problems in the first minutes of testing with few files (between android lineageos and/or two linux desktop)

      (fw, ip, setup, are “fine”, so i dropped and go back with nextcloud/rsync/kdeconnect -_-)

  • schizo@forum.uncomfortable.business
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    I’ll be the contrary one: I tried a lot of things and ended up, eventually, going back to Nextclolud, simply because it’s extendable and can add more shit to do things as you need it.

    File sync and images may be all you need now, but let’s say in the future you want to dump Google Docs, or add calendar and contact syncing, or notes, or to do lists, or hosting your own bookmark sync app, or integrating webmail, or…

    It’s got a lot of flaws, to be sure, but the ability to make it essentially do every task you might want cloud syncing with to at least a level of ‘good enough’, has pretty much kept me on it.

    • zipping2583@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      You are probably right… I did spend two hours today trying to get it running in my current docker environment and couldn’t get it running… That’s when I decided to look for somethinfg else…

        • zipping2583@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 months ago

          First i tried nextcloudpi image but couldn’t get it to run with beneath pihole (same raspi).

          Then I tried the AIO Image, this one seems to not even start at all. I found I have to open ports on the router. Will try again later this day.

      • schizo@forum.uncomfortable.business
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        Happy to share the docker-compose.yml I’m using for my setup. It includes OnlyOffice so that I can edit files internally, Google Dcos style. You can skip that section and remove the oonet network definition if you don’t need/want it. You’ll want to change the volume mount paths (or define volumes if you’d rather not use bind mounts) and change the ‘supersecretpasswordhere’ to something actually uh, secure.

        Anyway, file is at https://thecloud.home.uncomfortable.business/s/32HoxHajW33PRbf

    • Creat@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      5 months ago

      Nextcloud can’t do two-way sync on Android. At all. That’s like core functionality for the product IMHO and there’s a feature request open I think. When I found that out, I basically spit out my coffee. It’s fine if you just want to upload photos you take, that kinda works (but my god is it fragile).

      Nextcloud is pretty good at quite a few things, including extensibility, but having some omissions in functionality that boggle the mind.

      • schizo@forum.uncomfortable.business
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        Not saying you’re wrong, but what doesn’t work right? I haven’t noticed any behavior that seems wrong to me. Usually interact with nextcloud via the nextcloud section that gets added by the client in the file picker/file manager on the OnePlus Nord I’m using.

        • Creat@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 months ago

          The native Android client just can’t do two way sync. Just put a text file or something into any folder (from the web or desktop). Now sync that folder to Android. Now edit it on the web/desktop, and look for the changes on Android (without actively telling it to “sync”). Then change the file on Android, these 2nd changes are never sent back to the server unless you explicitly tell it to “sync” again, manually. That’s what I mean with 2 way sync.

          There are quite a few files where you just need that to work to use them properly, like the database of a password manager as a prime example. Mine can talk to Nextcloud natively, so I don’t need the client for that, but I was incredibly close to just switching to syncthing, if I didn’t have active users that use the web office integration of Nextcloud.

          • schizo@forum.uncomfortable.business
            link
            fedilink
            English
            arrow-up
            0
            ·
            5 months ago

            Just tested that and uh, yeah, what the hell? Not something my workflows need, but that’s a shocking oversight considering damn near everything else 100% does that.

            • Creat@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              0
              ·
              5 months ago

              Yeah I was just so confused when I found out that this isn’t possible. Like, it’s a file hosting and sync-ing application. That’s like absolute basics. It isn’t even “just” an open source project any more, there’s a company behind this product now. I am the last person to be angry about an open source project, run by a volunteer or three, not being feature complete.

              For what it’s worth I think it works in the iOS version of the app (possibly always has?). But that’s doesn’t exactly help me either.

  • IsoKiero@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    I’ve used Seafile for years just for this. I haven’t ran that on pi, but on virtual machine it runs pretty smoothly and android client is pretty hassle free.

  • PoopMonster@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    Immich but it has a lot of breaking changes, good news is that going stable is on their road map for this year. They also joined FUTO.