kentonv changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things sandstorm.io. Say hi! | Have a question but no one is here? Try asking in the discussion group: https://groups.google.com/group/sandstorm-dev
<abliss1> should we roll back the ttrss upgrade till we solve the database migration issue?
<isd> How? there's no rollback mechanism, and if we just bump the appVersion on the old version, it will downgrade grains for people who have successfully upgraded, which will _definitely_ break them.
<isd> At this point anybody who has it installed on a live server has already downloaded the new version, even if they haven't clicked upgrade yet.
<isd> I think we need to just fix the issues asap.
michaeln3 has joined #sandstorm
<abliss1> now that we have grain cloning, i wonder if we could offer an option to snapshot the grain before upgrading, and allow the user to fallback to the old grain and the old app version if it doesn't work.
<abliss1> (isn't there a way to mark the new version experimental or something, so that whoever has already downloaded the newest version can keep it, but anyone who hasn't won't be prompted to?)
<isd> I mean, the grain cloing is pretty trivial; it just takes a backup and then immediately restores it... so I'm ot sure we're closer than we were before.
<isd> I think automatic snapshot & rollback is a good idea in general.
<isd> I have a hazy vision of a backup solution that allows us to take _very_ frequent snapshots.
frigginglorious has joined #sandstorm
frigginglorious has quit [Remote host closed the connection]
griff_ has joined #sandstorm
griff_ has quit [Quit: griff_]
<JacobWeisz[m]> We can revoke packages in the market if we want to stop more people from upgrading but I think these are minor edge cases we can fix.
<JacobWeisz[m]> Ian, I'm wondering if there's something in the log error about "initialize" failing. Is that something we do in the script we should avoid for upgrades?
<isd> The --initialize thing is red-herring; that happens even when it works.
<isd> (because we don't check whether it's already set up, relying on mysql --initialize to do the check)
<JacobWeisz[m]> Okay
<isd> Also, if we were to revoke a package in the market, would that have any affect if a sandstorm box had already downloaded the update?
<isd> because at this point it's been a couple days; I assume most boxes with ttrss grains have already downloaded the update, even if users haven't applied it.
<JacobWeisz[m]> Yeah, I'm not sure if it'd roll back the notifications to upgrade, probably not.
<isd> I'm kinda stumped without being able to poke at the grain itself.
michaeln3 has quit [Remote host closed the connection]
_whitelogger has joined #sandstorm
griff_ has joined #sandstorm
griff_ has quit [Quit: griff_]
JacobWeisz[m] has quit [Quit: killed]
ill_logic has quit [Quit: killed]
abliss1 has quit [Quit: killed]
Guest87383 has quit [Quit: killed]
isd has quit [Quit: killed]
Mitar has quit [Ping timeout: 264 seconds]
Mitar has joined #sandstorm
Guest18656 has joined #sandstorm
abliss has joined #sandstorm
isd has joined #sandstorm
JacobWeisz[m] has joined #sandstorm
griff_ has joined #sandstorm
griff_ has quit [Quit: griff_]
michaeln3 has joined #sandstorm
michaeln3 has quit [Ping timeout: 256 seconds]
griff_ has joined #sandstorm
michaeln3 has joined #sandstorm
michaeln3 has quit [Ping timeout: 256 seconds]
frigginglorious has joined #sandstorm
griff_ has quit [Quit: griff_]
<isd> Ug, looks like we're going to have to embed old versions of mysql forever.
Guest18656 has quit [*.net *.split]
kentonv has quit [*.net *.split]
JacobWeisz[m] has quit [Write error: Connection reset by peer]
isd has quit [Remote host closed the connection]
abliss has quit [Remote host closed the connection]
enick_820 has joined #sandstorm
JacobWeisz[m] has joined #sandstorm
abliss has joined #sandstorm
isd has joined #sandstorm
frigginglorious has quit [Ping timeout: 256 seconds]
frigginglorious1 has joined #sandstorm
frigginglorious1 is now known as frigginglorious
frigginglorious has quit [Read error: Connection reset by peer]
frigginglorious has joined #sandstorm
frigginglorious1 has joined #sandstorm
frigginglorious has quit [Ping timeout: 240 seconds]
frigginglorious1 is now known as frigginglorious
frigginglorious has quit [Read error: Connection reset by peer]
frigginglorious has joined #sandstorm
<JacobWeisz[m]> I think that's really sad. We really should figure out a good story for minUpgradeableVersion.
<JacobWeisz[m]> Ideally one where the user will get the last version their grain is compatible with, and then after their grain is upgraded/run, the next newest compatible version.
<isd> Yeah.
<isd> You somehow have to make sure the intermediate version has actually successfully done the upgrade though; if you just upgrade the grain, then upgrade again without running it (or before the migration is complete), it doesn't help.
<isd> So we need some way for a grain to mark itself as having successfully upgraded to version N
<isd> But more immediately I need to figure out how to get mysql 5.5 co-existing with 5.7 in the ttrss package.
<isd> we'd still need 2 versions at a time anyway.
<JacobWeisz[m]> I almost wish we could just "repair tool" the handful of grains that break from this somehow.
<JacobWeisz[m]> And yeah, re: your issue, vagrant-spk should just handle this.
<JacobWeisz[m]> In addition to tracking whether the grain has run on a given version, we also probably need some sort of app index logic. Such that one can query the latest package compatible with a given appVersion.
<isd> yeah.
frigginglorious1 has joined #sandstorm
frigginglorious has quit [Ping timeout: 256 seconds]
frigginglorious1 is now known as frigginglorious
frigginglorious has quit [Read error: Connection reset by peer]