-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
schema version 7 #155
Comments
This isn't yet any different than schema version 6.
This isn't yet any different than schema version 6.
for #155 TODO: the config interface is totally broken
for #155 The config interface code for changing cameras is quite messy but seems to work for now.
for #155 The config interface code for changing cameras is quite messy but seems to work for now.
Scott, I built the server from the new-schema branch and installed it. It would not run until I did |
Shoot. I wasn't ready for anyone to upgrade their main installation to schema v7. I haven't fully tested it or even finalized the schema, and as you've noticed there's no downgrade code. Starting from scratch is probably best.
I could give that error message better context, but it was probably on the
so possibly |
Well, yes and no :-) I had added a mount line, but it was using a symbolic link that I must have created for reasons that I now have absolutely no recollection of. Since I'd lost the database I didn't realise I'd used the symbolic link instead of the actual mount point for the drive. In my defence, I did re-read the installation instructions, but overlooked the note about the mount point. I assumed of course that since my script was already working it needed no changes :-( Anyway, this has prompted me to reconfigure the hardware to swap out the SSD for a bigger high-endurance disk I'd since acquired. I'm sure that nobody else will be stupid enough to make the same mistake - but just in case - perhaps the config ui could list the mount points available. From inside the container it would seem you can list these with |
Oh, and I wanted to use the new user preferences schema for testing the UI. I guess I need a disposable test server for that. |
Ha! No, very easy mistake to make, and I'm sure you won't be the last if we don't address it in some way.
That's a good idea, but I think I can do even better by #160. Then there'd be no Docker mapping to worry about at all. [edit: although, come to think of it, displaying the mount points in the UI is probably a good idea even without Docker's extra mapping layer involved...] |
That's what I do when messing with schema changes. I have a few installations:
|
Some easy stuff I definitely want to include:
label column inOh, I already added auser_session
, so they can give the name of the device or client agent or whateverdescription
and forgot about it.open
boot id and monotonic time;likely a separate table with time steps observed while running.punted the latter.Stretch goals (as in things I want but am unsure I want to hold version 7 up for their design and implementation), all punted:
My typical procedure is to start a branch, add everything in over several commits and tweak the upgrade script, and give it some more testing than usual. I want it to be pretty reliable given that the upgrade procedure can be intimidating for users and there's no downgrade procedure.
The text was updated successfully, but these errors were encountered: