- Posts: 42
- Thank you received: 1
Accidentally power cycled. What now?
- zshaiken
- Topic Author
- Offline
- User
-
Less
More
1 year 8 months ago #3666
by zshaiken
Accidentally power cycled. What now? was created by zshaiken
This is still an ongoing situation. But TLDR the power went out and my UPS bought me significantly less time than I was expecting. Unfortunately I can see the UPS died, meaning my MyServer among a few other devices power cycled. What is likely to happen to the state of my device when I regain power? What steps can I take to recover? also, not that it would have mattered in this case since I wasn’t home when I lost power, but what should one do if they lose power and have a little bit of time? Graceful shutdown?
Please Log in to join the conversation.
- David Li
- Offline
- Admin
-
Less
More
- Posts: 1019
- Thank you received: 99
1 year 8 months ago - 1 year 8 months ago #3668
by David Li
Replied by David Li on topic Accidentally power cycled. What now?
It's Russian Roulette. Most of the time, just apply power to myServer controller and it should boot fine. Then, do a graceful reboot to ensure it's a clean shutdown / restart.
If it doesn't boot, then you will have to build a second boot drive (are you using the Shelf / NVME or a USB boot media?) using the Allonis "Master Image". After that is all booted, insert the bad USB. Shutdown the new USB myServer instance. You might then be able to move the old myServer db and wwwroot folder et al to the new USB. A myServer restart and you should be good to go.
Allonis can be retained to rebuild the system as well.
Hopefully you also made backups of your myServer system to another storage drive that can be reapplied if the old USB is completely corrupt (not too likely).
After you get that all back working, you should have myServer monitor your UPS so that an Automation Event can monitor the battery level and do a graceful shutdown of your system before it dies.
allonis.com/support/documentation?view=category&id=389
And of course, Allonis sells compatible UPSs to avoid such problems.
If it doesn't boot, then you will have to build a second boot drive (are you using the Shelf / NVME or a USB boot media?) using the Allonis "Master Image". After that is all booted, insert the bad USB. Shutdown the new USB myServer instance. You might then be able to move the old myServer db and wwwroot folder et al to the new USB. A myServer restart and you should be good to go.
Allonis can be retained to rebuild the system as well.
Hopefully you also made backups of your myServer system to another storage drive that can be reapplied if the old USB is completely corrupt (not too likely).
After you get that all back working, you should have myServer monitor your UPS so that an Automation Event can monitor the battery level and do a graceful shutdown of your system before it dies.
allonis.com/support/documentation?view=category&id=389
And of course, Allonis sells compatible UPSs to avoid such problems.
Last edit: 1 year 8 months ago by David Li.
Please Log in to join the conversation.
- zshaiken
- Topic Author
- Offline
- User
-
Less
More
- Posts: 42
- Thank you received: 1
1 year 8 months ago #3674
by zshaiken
Replied by zshaiken on topic Accidentally power cycled. What now?
Thanks David! Got power back and everything is fine. I’m going to buy a UPS from the site to switch out, then I’ll set up that automation.
Please Log in to join the conversation.
Time to create page: 0.166 seconds