Just had NextCloud denying my credentials (not for the first time). I know they weren’t wrong because I’m using a password manager. Logs didn’t say much. Was about to reinstall (again, not the first time nextcloud went bonkers on me) before I tried a docker compose down && docker compose up. Lo and behold after a restart the credentials worked again.

This stuff is just way too flaky for something so important.

Is OwnCloud good again? My main usecase is saving photos but I don’t want them locked away in a database so SeaFile is out.

Edit: I’m going to take the time to reply to you all, bit busy with work and family suddenly. But a little update - I’ve quickly setup Immich and fired up the CLI to import my library. AFAIK the files are still stored on disk somewhere but metadata is in a database. I didn’t realize this before, knowing that I think my mind is made up and Immich is the best solution. Thanks everyone!

  • Scrubbles@poptalk.scrubbles.tech
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    I’m not done but I’m so tired of just stupid error messages that don’t help from developers. I love the open source community but for gods sake devs, handle your errors in a format that makes sense.

    Nextcloud or others, it’s always the same. I either get a 200 line stacktrace that means absolutely nothing to me because the dev didn’t bother to handle the exception (like you submit a form and get a null reference back. It sure would be nice to know what field was null) or of course the infamous “Exception occurred” and nothing else.

    My favorite was I tried to submit to Jellyfin a fix for one of their very opaque exceptions, keep the stack trace but rewrite the error message like “x exception occurred, do you have permissions to do that?” Or something and the PR was rejected. I just can’t even with that

    • Domi@lemmy.secnd.me
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      My favorite was I tried to submit to Jellyfin a fix for one of their very opaque exceptions, keep the stack trace but rewrite the error message like “x exception occurred, do you have permissions to do that?” Or something and the PR was rejected. I just can’t even with that

      Out of interest, which PR was that?

      It’s uncommon to rewrite exception messages to be user friendly, they are for developers. The exception shouldn’t be thrown in the first place if it’s a common issue or the error message should be more generic for unhandled problems.

      • christophski@feddit.uk
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 year ago

        I strongly disagree with this, any error message shown to the user should be helpful to the user

        • Domi@lemmy.secnd.me
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

          I think you misunderstood, this is about exceptions, which shouldn’t be shown to users unless they ask for it.

          Exceptions are not helpful to users most of the time, as shown above. They need instructions on how to report issues instead since they most likely can’t fix an unhandled exception by themselves.

          • mryessir@lemmy.sdf.org
            link
            fedilink
            English
            arrow-up
            4
            ·
            1 year ago

            Underrated comment.

            To put it into user perspective:

            Exception X with error code xxx means Y. Y should be shown via a modal dialog to the user. The state of the application has to be reverted to a valid state as error handling.

            The exception/error gets logged, the user doesn’t receive a exception but the interpretation of the error is shown to him via the UI.

      • Scrubbles@poptalk.scrubbles.tech
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        ehh I try to keep me here and my real github separate. I’m all for exception messages being for developers especially in logs, but things also shouldn’t error silently either. This was a case where there was something different with my OS I was running and I wanted to show an error that there was a common reason for that exception being thrown. This was years ago though, so I don’t remember details

  • vividspecter@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    My problem with nextcloud is more the performance of the web interface rather than it’s reliability (and that’s even with mariadb + redis setup and a decently fast minipc). It’s fine if you avoid the web interface, but that’s part of the draw of the thing.

    • MangoPenguin@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      The poor performance carries over to the sync clients too because they’re just using webdav http requests. Nextcloud will take like 10+ hours to sync my folders, vs about 10 minutes with Syncthing or something else.

    • pim@feddit.nl
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      The performance is indeed pretty terrible. Most stuff runs fine on my NUCs except nextcloud. Maybe throwing more hardware at it solves it though.

      • Neshura@bookwormstory.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        As someone with a beef server: Nope, performance stays unsatisfactory. Redis helps a lot but only if the page is cached which tbh just makes the experience worse if the page isn’t cached

        Edit: I’m using the AIO installer though, as discussed elsewhere in this post that might be the root cause of the poor performance, will check on the weekend by installing nextcloud manually in a fresh vm

  • Reborn2966@feddit.it
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    use immich for photos.

    owncloud ocis works but is very young. is literally just file hosting with something to open office files online.

  • h3ndrik@feddit.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Most likely you got blocked for some time by the brute force prevention. Have a look at your logfiles.

  • Morethanevil@lmy.mymte.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I am using nextcloud for years now with postgres, redis and configured PHP setttings, but I installed it on the host. Never had any problems, Performance is awesome… Almost everytime I read about problems is with the docker images. The new AIO image shall be bad too, but I can not say anything to this, since I don’t use it.

    I really like docker, but sometimes it is better to install on the host directly or use an LXC if you need isolation. MinIO is the same… Would not want it in a Container

    Maybe seafile could be an option for you 🤔

    • cecilkorik@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Owncloud is not fully open source. Nextcloud is. They have developed in different directions since then, but that remains the fundamental difference that split them apart in the first place. If that matters to you, Nextcloud is the right choice. If that doesn’t matter to you, then use whichever you prefer and has the features you need.

    • u_tamtam@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Is it measurably better? From a quick look, it’s PHP again (and if your NC runs slow, there’s a fair chance it’s not properly set-up/tuned), and SQLite (so, rather small scale).

  • HTTP_404_NotFound@lemmyonline.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    For photos, I’d highly recommend checking out Photoprism.

    the “PhotoSync” app available for both android and apple can sync from your phone to photoprism.

    But, nextcloud itself, works pretty nice for me. But, I use OIDC-based logon, with Authentik.

  • Nsh@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    I haven’t got this kind of issue with nextcloud, I’m pretty sure you can reset your password using occ via cli

    • Midas@ymmel.nlOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      I’m using the LSIO docker image and I could not locate the occ file to fire off the reset - but even then - I didn’t need to reset my password anyway…

      • u_tamtam@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        1 year ago

        That’s your problem, just there: you deployed a one size fits all blackbox of a container that, by definition, on top of pulling all the inefficiencies and redundancies of docker, isn’t tuned for your specific hardware and operational needs. I get the appeal of containers, but if you want to self-host responsibly, you’ve got to be in control of what’s running and how.

        Sorry if this sounds harsh.