Through some testing, I’ve found that if I comment out the entire variables.ps1 file, I can get the page to display again. So, something I have a variable for doesn’t seem to be liked in 5.0.14 that wasn’t a problem in any of the past versions.
If the first variable is stored in the config (i.e., if it’s not a Secret), it results in the Variables page being blank as I showed in the initial screenshot.
If the variables.ps1 file contains BOTH types, it results in a blank page, regardless of which type is listed first in the file.
It looks like it has something to do with tags. I can’t reproduce this issue if I don’t have tags but when I have some variables with tags and some without, this can happen.
It looks like 5.0.14 corrupted the database, and maybe that’s to blame. I reverted back to 5.0.13 with just an uninstall/reinstall, and 5.0.13 then complained that none of the Secret variable values existed in the database. So, I had to restore the VM from a snapshot to get things working again.
Maybe. There weren’t any schema changes in .14 but could be something else. I was able to reproduce this by create 2 variables: one with a tag and one without. Do note that the secret behavior you was mentioned in previous versions but I haven’t been able to reproduce or figure out root cause: Secrets randomly go poof · Issue #3959 · ironmansoftware/powershell-universal · GitHub
Interesting. I commented on the GitHub issue but I’ll duplicate it here for completeness: I don’t have tags on any of my variables, so I don’t understand how tags are breaking things in my environment when they’re not even in use with variables. The only tags I have are on scripts.
I just played a bit.
Upgraded from 5.0.13 to 5.0.14 on my dev.
I can create variables, but any tags don’t get saved.
(I can select a tag, click ok, but next time I open the var, it is gone.)