Time for a next cloud update

I’m needing to update my next cloud instance on nixos.

Obviously because of the way nix ‘works’, then the normal update functions of next cloud won’t work.

Has Anyone gone through this process, and had any hiccups along the way or can advise best practise so i don’t wipe out my 50TB of data.

1 Like

I went through it from 19->20 a few months back without any issues. I just changed the version of the package in my configuration.
I keep my data on ZFS so took a snapshot before the update just in case, but it wasn’t needed.

I need to do 20 → 21 sometime, I’ll let you know how that goes.

thanks, I’ll give that a whirl, and see how if disaster strikes, probability quite low on nixos, or getting into a situation i can’t get out off.

Now upgraded successfully to nextcloud 20 and nixos 20.09 :-).

nixos 21.05 won’t boot on this machine, so a nixos rollback saved me!

maybe that’s kernel related , but the fact the i didn’t bork my system.

Nextcloud upgrade went well, advised me of upgrade procedures and caveats.

so there you go, upgrade complete, thanks and judos for all the hard work thats gone into the nixos nextcloud module. It’s a very stateful application, made kinda stateless …so not an easy task.

the only problem that remains is


so i may have bork my users/groups , id’s …but nothing is obvious.

solution at update-users-groups.pl malformed JSON string, neither array, object, number, string or atom, at character offset 0 · Issue #126971 · NixOS/nixpkgs · GitHub by @matthewcroughan

thanks for debugging that…

state!!! it creeps in every where!