I’ve been working on my dashboard and scripts this past week and a half without many issues in this regard. I’ve been working out of VSCode with my admin token, working on my script, updating, saving, seeing it reflected in the web browser, etc.
I first noticed this night before last when I took my laptop home from work (the same machine that I used all day at work). I am VPN’d in to the office, and I was actually working on my PSU server with vscode on that server, and I noticed content wasn’t being reflected in my scripts/dashboard when saving it in VS Code. The only difference I can think of is that it stopped working once I started working from home, but I was working on the server, so I wouldn’t think it would be any kind of connection issue.
When I came back into the office yesterday, everything seemed to be functioning normally again. Last night I took my laptop home and started working again and I started noticing the strange behavior again. My updates from VSCode on the PSU server weren’t being reflected through the web interface.
I started editing my files from the configurations screen and that’s when I noticed after saving one with Ctrl + S, a couple of my scripts were flipped, the content of one script was saved as another. I almost lost a bunch of code that I had been working on, but I was able to find a not too out of date copy somehow/somewhere.
Now this is the really weird thing, I just ended up browsing to C:\ProgramData\UniversalAutomation\Repository with VSCode and working on the files directly out of there. THOSE files weren’t being updated in the web. Isn’t that what the server is running off of?
So I’m trying to get stuff working this morning, rebooted the PSUServer, no change, created a whole new vscode token, I was able to make one save that showed up on the web, but now no subsequent changes are being reflected.
I’ve probably worked too much this week, and my mind isn’t right. I definitely feel tired. But I’m really confused now. I’m going to try to just close everything out, reboot my machine, and see what happens.
Product: PowerShell Universal
Version: 3.5.4