!BgJZHVOYkwVcEKLAyM:nixos.org

NixOS Deployments

1213 Members
NixOS Deployment tooling285 Servers

Load older messages


SenderMessageTime
30 Sep 2024
@k900:0upti.meK900If you're looking for a tool that will let you roll back your entire system EXCEPT nextcloud, that's not a tool problem08:39:56
@k900:0upti.meK900NixOS just doesn't work that way08:39:59
@ronnypfannschmidt:matrix.org@ronnypfannschmidt:matrix.orgi beleive theres a missunderstanding - i want to remove the nextcloudbricking - that doesnt imply partial rollback, it would already be enough to defer the migrations until its clear that rollback for other reasons isnt needed 08:43:19
@ronnypfannschmidt:matrix.org@ronnypfannschmidt:matrix.orgits a problem of nixos as a whole tho that no more detailed concept of state management and migrations exist, as operation of services kind of needs to manage their state08:45:25
@k900:0upti.meK900
In reply to@ronnypfannschmidt:matrix.org
i beleive theres a missunderstanding - i want to remove the nextcloudbricking - that doesnt imply partial rollback, it would already be enough to defer the migrations until its clear that rollback for other reasons isnt needed
No tool can do that
08:51:19
@k900:0upti.meK900Because Nextcloud migrations run on system activation08:51:27
@ronnypfannschmidt:matrix.org@ronnypfannschmidt:matrix.orgthe need to have those run on activation is pretty much the failure point of the system - since state-transformation on activation ensures that rollback turns from something securely possible into something that "good luck" some approaches for enabling that are providing multiple versions and deciding which to start based on migration state or having upgrade steps of packages that are more migration aware and being able to run with older/newer versions to some extend (django/alembic based applications have those + for some migrations even schema rollback) in the ideal world software is engineered migration aware and supports both running on newer schema as well as having migrations split so that older versions can be broken at a later point in time reality is often more somber however09:12:26
@ronnypfannschmidt:matrix.org@ronnypfannschmidt:matrix.orga nice intermediate would be prefer putting a deployment into maintenance mode as opposed to running migrations eagerly and breaking rollback09:13:15
@janejasperous:nadanix.comJane Jasperous there is not that system.stateVersion to avoid database and schema migrations between releases? 09:55:21
@k900:0upti.meK900There isn't for forward migrations09:55:48
@k900:0upti.meK900And I feel like you're still missing the most important point here09:55:57
@k900:0upti.meK900 Which is that this is just how NixOS works 09:56:04
@k900:0upti.meK900No tool can work around this problem09:56:10
@k900:0upti.meK900It needs to be solved at NixOS level09:56:13
@janejasperous:nadanix.comJane Jasperousyep i see: "Note that this generally only affects applications that can’t upgrade their data automatically - applications and services supporting automatic migrations will remain on latest versions when you upgrade."09:56:17
@larstvei:matrix.org@larstvei:matrix.org left the room.10:02:19
@andrewm:element.ioAndrew Morgan (anoa) {he/him} changed their display name from Andrew Morgan (anoa) {he/him} [TOIL] to Andrew Morgan (anoa) {he/him}.10:10:20
1 Oct 2024
@ldare373:matrix.orgldare373 joined the room.00:22:12
@bishop365:matrix.org@bishop365:matrix.org left the room.11:58:50
@-_o:matrix.org-_o joined the room.20:55:51
3 Oct 2024
@midirhee12:tchncs.de@midirhee12:tchncs.de joined the room.02:13:10
@renato-trevisan:matrix.orgRenato Trevisan joined the room.09:17:41
@andrewm:element.ioAndrew Morgan (anoa) {he/him} changed their display name from Andrew Morgan (anoa) {he/him} to Andrew Morgan (anoa) {he/him} [away til 8th].18:19:10
4 Oct 2024
@dschrempf:matrix.org@dschrempf:matrix.org left the room.07:56:00
@test-user:c.imperishable.namerendakuenthusiast⚡️ left the room.09:51:15
@bashfulrobot.:matrix.org@bashfulrobot.:matrix.org changed their profile picture.16:24:16
@terrorjack:matrix.terrorjack.com@terrorjack:matrix.terrorjack.com joined the room.17:35:30
5 Oct 2024
@zgcarvalho:matrix.orgzgcarvalho joined the room.14:36:21
@magic_rb:matrix.redalder.orgmagic_rb changed their profile picture.22:17:05
6 Oct 2024
@galaxyyy:matrix.orgSaturn joined the room.03:59:04

Show newer messages


Back to Room ListRoom Version: 6