I’m new here but not new to Mycodo. I have always been able to figure things out on my own before but I’m coming up a bit stumped and time is rather relevant. I have posted in support because I don’t think it’s a bug, at the moment I’m assuming that Problem Exists Between Chair And Keyboard.
I had an SD card corrupt when I was rebooting my PI that runs my rather complex hydroponic greenhouse setup. I have built multiple Mycodo based controllers and I have always made it a practice to produce a full disk image of my SD card once I have my system effectively setup. In the past when I have had this problem I just swap out the SD with a freshly written image and my system is only down for half an hour.
Unfortunately I was just putting the finishing touches on a major rebuild and hadn’t made an image yet. I have been backing up regularly and managed to salvage a recent backup, so I figured I should be good. I put a fresh install on a new SD card and checked that it was working fine. I then copied my backup directory over from Mycodo-backups, then restored from it from inside the Mycodo web interface. It says it has started restoring succesfully, but after the daemon shuts down during the restore I can’t get it to come back. The web server just returns a 502 error: Bad gateway after the restore.
Reboots have not helped, nor have my attempts to restart the daemon or the web server manually from the terminal. Of possible relevance my backup was taken from Mycodo 8.40 and I am trying to restore with the latest release, 8.10.1.
I wanted to include all the command line attempts, error messages, and log portions I thought would be relevant below, but the forum won’t let me post them. It keeps telling me that new users can only post two links, so i assume it’s confusing file paths in the logs for hyperlinks and rejecting me. I’d be happy to post them if I can.
I would be incredibly grateful for any help, as would my many plants that are currently stuck in a less than optimal hodgepodge of stopgap solutions.
Oh, and also, Kyle you are amazing, Mycodo is astoundingly great, and I hope your shipping containers full of mushrooms are doing well. Just really great work across the board, thank you so much for sharing it with the world.