• MentallyExhausted@reddthat.com
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 year ago

    I run it and mariaDB in docker and they run perfectly when left alone, but everything breaks horribly if I try to do an update. I recently figured out that you need to do updates for NC in steps, and docker (unRAID’s, specifically) defaults to jumping to the latest version. I think I figured out how to specify version now so fingers crossed I won’t destroy it the next time I do updates.

    • atmur@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 year ago

      This is probably what I’m doing wrong. I’m using linuxserver’s docker which should be okay to auto update, but it just continuously degrades over time with updates until it becomes non-functional. Random login failures, logs failing to load, file thumbnails disappearing, the goddamn Collabora office docker that absolutely refuses to work for more than one week, etc.

      I just nuke the NC docker and database and start from scratch every year or so.

      • thisisawayoflife@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        You absolutely need to move from patch to patch and cannot just do a multiple version jump safely. You also need to validate the configs between versions, especially major release updates or you risk breaking. New features and optimizations happen and you also may need to change our update your reverse proxy configuration on update, or modify db table configuration (just puking this from memory as I’ve had to do it before). I don’t know that there’s automation for each one of those steps.

        Because of that, I run nextcloud in a VM and install it from the binary package. I wrote a shell script that handles downloading, moving the files, updating permissions and copying the old config forward, symlinking and doing the upgrade. Then all I have to do is log in as administrator, check out the admin dashboard and make sure there aren’t new things I have to address in the status page. It’s a pain, but my nextcloud uses external db and redis and PHP caching so it’s not an easy out of the box setup. But it’s been solid for a long time once I adopted using this script.

      • thisfro@slrpnk.net
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        For me everything works fine since years, EXCEPT collabora. I use onlyoffice now, it’s much faster and very stable

      • fine_sandy_bottom@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Yeah I don’t like auto upgrades. Everyone says it’s fine but that’s not my experience.

        My stuff isn’t public facing so I’m not worried about 0-days