And it failed spectacularly.

We only needed a simple form, but we wanted to be fancy, so we used “nextcloud forms”.

The docker image automatically updated the install to nextcloud 30, but the forms app requires nextcloud 29 or lower. No warning whatsoever. It’s an official app, couldn’t they wait that it was ready for NC 30 before launching it? The newsletter boasts “NC hub 9 is the best thing after sliced bread” yet i don’t see any difference both in visual or performance compared to NC hub 2

Conclusion: we made our business to rely on nextcloud forms as a signup form, but the only reason we were using it was disabled who knows how many weeks ago.

  • irotsoma@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    26 days ago

    Docker automatically upgrades if you tell it to by specifying “latest” or not specifying a version number. But it only upgrades if you issue the pull command or the compose up command. There are ways to start without a pull like using start or restart. So yes, there was warning and something you did actively told it to upgrade.

    And it’s really bad practice to update any software without testing, especially between breaking/major version numbers.

    Finally, it’s not uncommon for a platform to release its update and then the plugins or addons to follow. Especially with major updates that require lots of testing before release. This allows plugin/add-on makers to fully test their software with the release version of the platform rather than all of the plugin makers having to wait for one that may be lagging behind.

    • Moonrise2473@feddit.itOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      26 days ago

      You again commented on the docker upgrade comment that I said it’s irrelevant. It’s really like saying “if you wore pants that day, they wouldn’t have done that, it’s your fault”. It doesn’t make sense to spend $1000 in operating costs to host a useless survey that gets 3 responses a year. If it breaks for a week nobody dies.

      Focus on how they’re moving fast and breaking things, ok? It’s not normal that official plugins don’t support the latest stable release. It’s not an alpha, it’s not a beta, it’s stable. Stable means everything needs to work. Official plugins need to support the latest stable release. It’s acceptable only if this was a third party plugin made by a hobbyist in their free time

      WordPress updates also break many plugins but it never happened that a stable release blocked official ones like woocommerce.

      By the way, now I have learned that the latest version of nextcloud is a public beta and it’s better to always stay one version behind. So why don’t they call it public beta?

  • JASN_DE@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    28 days ago

    Wait, you update productions systems without running a staging environment? Or even checking the update notes and your installed apps? Also no backups? What kind of business are you running over there?

    • Scrubbles@poptalk.scrubbles.tech
      link
      fedilink
      English
      arrow-up
      0
      ·
      28 days ago

      Oh, Nextcloud docker is a joke. They follow no standards or best practices when it comes to docker. They keep the entire app directory mounted as a volume, which means it does upgrade you without you “needing” to upgrade the docker image. They have volumes within volumes they need to mount. Their configs can (and do) override environment variables. Most actions that need to be taken require running an occ command which can only be done by exec’ing into the container.

      Nextcloud docker is honestly just such a joke. They should have rethought their application from a docker sense and they didn’t. God just number one - Docker images should never update. It’s a freaking pinned version for a reason. If I want to update, it should be as simple as upping the version tag, and it does any upgrades in place when I do that.

      I honestly steer people away from Nextcloud now because of how mismanaged their images are.

      • Max-P@lemmy.max-p.me
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        28 days ago

        Yep, and I’d guess there’s probably a huge component of “it must be as easy as possible” because the primary target is selfhosters that don’t really even want to learn how to set up Docker containers properly.

        The AIO Docker image is an abomination. The other ones are slightly more sane but they still fundamentally mix code and data in the same folder so it’s not trivial to just replace the app.

        In Docker, the auto updater should be completely neutered, it’s the wrong way to update the app.

        The packages in the Arch repo are legit saner than the Docker version.

        • Scrubbles@poptalk.scrubbles.tech
          link
          fedilink
          English
          arrow-up
          0
          ·
          28 days ago

          I had to learn how to mount subpaths for their terrible container, and god just the updater is mind boggling. And I have to store their code in a volume, because of course I have to, why would code and configuration ever need to be… configurable? I actually just tried to put their config.php into a ConfigMap just to try, and of course PHP doesn’t allow that - not that I blame PHP for it - but ffs it’s been years, it’s time to allow config to also come from a yaml or something.

  • adr1an@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days ago

    Not to flame you, but really just an HTML form was all you needed? It’s a super simple feature…

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    27 days ago

    Why did you do automatic updates without testing? That is the real issue.

    Honestly your IT department sounds like it could use some help

    • Moonrise2473@feddit.itOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      26 days ago

      Manual docker upgrade issued my me after reading the official blog and newsletter. The upgrade notes described the new version as the best thing ever and didn’t mention that one of their selling points would be disabled without any notice.

      I’m starting to see a pattern in those comments like “why did you wear a skirt that night? It looks like you asked for it…”

      • gamermanh@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        26 days ago

        I’m starting to see a pattern in those comments like “why did you wear a skirt that night? It looks like you asked for it…”

        Cute victim mentality, but gross and insanely wrong comparison

        Learn from your mistake and don’t update without testing next time, it’s 100% on whoever updates the production environment to make sure that shit isn’t broken for whatever reason before pushing it customer-side

        It’s more like you bought a random white powder from your dealer without asking what it was and are now upset you almost died

          • gamermanh@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            0
            ·
            26 days ago

            Literally just googled “nextcloud forms” and looked at their supported versions and whaddya know, it says right on that webpage that there’s no stable version for 30 yet, so safe bet would be that it wouldn’t properly work when upgrading:

            There is a supported nightly build, though, so you could probably have tried that

            It’s on you to look up what will break when you update, or to test and see what happens when you do. A major update page isn’t going to list all of the things that rely on it that break because that’s fucking unreasonable

            • Moonrise2473@feddit.itOP
              link
              fedilink
              English
              arrow-up
              0
              ·
              26 days ago

              go to watch who is the maintainer of nextcloud forms, then see if they could have known that NC 30 was about to go out or not

              It’s definitely not unreasonable that if I make product X and I make product Y, and they’re not compatible, then a bit of warning is suggested.

              Again, wordpress updates break plugins all the time, but automattic plugins (same people of wordpress) never break. Coincidence? They just launch a new wordpress without checking if woocommerce or jetpack don’t work?

              • gamermanh@lemmy.dbzer0.com
                link
                fedilink
                English
                arrow-up
                0
                ·
                26 days ago

                then a bit of warning is suggested

                Which was given by the app that gets broken by the update

                Windows doesn’t tell you that upgrading to 11 will break x, y, and z that you have installed, you’re expected to go to the sites for those programs and check if they work. Same exact idea

                The same company making both apps is never a guarantee that they’ll play nice day 1, for many reasons

                I’ll repeat: learn from your mistake instead of blaming other people for your naivete. If an app is important and might break during an update of something: check the apps documentation to see if it supports said update

                • Moonrise2473@feddit.itOP
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  26 days ago

                  Ok i get it, it’s best practice to do rushed releases without QA because users are the free testers.

                  They definitely had no way to know that their own app was incompatible, this is definitely a problem of the stupid user. Idiot user who believed their newsletter “update now, hub 9 is the best thing ever”. The user should have known that stable = untested beta

                  Also, this issue happened exclusively to me in the whole world, because everyone else isn’t an idiot like me and checks 30+ release notes scattered in 30 different repositories to guess any incompatibility. I was lazy and only checked the main notes! Such an idiot! Why I didn’t check every single installed app? It’s just 30! Nextcloud devs couldn’t have known that nextcloud devs didn’t update the manifest of the forms app! I should have checked before! Completely my fault!

                  Now if you excuse me I got an update to the Windows nextcloud desktop app and it must reboot after update because reasons even if there’s a GitHub issue with 200 angry comments about that. No wait! Stupid me! First I have to fire a VM and use a whole week to write automated tests that account for every possible combination of settings, language, power management, installed apps and so on. Otherwise I could lose a worthless survey that nobody reads and that will definitely get me fired!

      • non_burglar@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        26 days ago

        Whoah, dude.

        Not only are you being told what could have and will ward off unplanned breakage, but you have somehow characterised yourself as an unsuspecting victim here? Inaccurate and really inappropriate comparison.

        You knew enough to take on deploying a service, now comes the grown-up part where you hedge against broken updates.

        • Moonrise2473@feddit.itOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          26 days ago

          I don’t know if maybe it’s my bad english in explaining it or it’s your comprehension skills that lack something.

          I write it again for the 10th time: I’m 100% ok having 1-2 weeks of downtime, and this is why i do it live. It simply doesn’t make sense to dedicate several hours every month on testing if all i need is getting 3 useless surveys filled per year. If it was essential for work and i needed 99.99999% uptime i would directly subscribe typeform or surveymonkey. If tomorrow my install completely bricks and disappears in thin air, i would have lost 30 minutes of time and no valuable data. I literally spent more time designing the logo for the instance than managing it. This is just to state how unimportant the data stored on it.

          This post wasn’t made about “oh no i lost millions and all my irreplaceable data thanks to nextcloud stupid updates” but how stupid is to release something that breaks features that they’re using as selling point.

          ok, now that we established that my IT skills are lacking and i should be fired because one single survey couldn’t be filled, this is the release notes: https://docs.nextcloud.com/server/latest/admin_manual/release_notes/upgrade_to_30.html

          Please tell me where they say that this feature is automatically disabled and also tell me why you think that this is acceptable.

          I don’t understand why you think that is acceptable.

          I even can’t find other examples where a release is so rushed, that selling points are disabled without ETA. I never saw for Libreoffice 24 dropping support for opendocument files for a couple months just because they had to meet a self imposed deadline