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
Server 500's when loading "Function" page after upgrading directly from 8.8.8 to 8.12.9 #1145
Comments
The IR action doesn't exist in the latest version. This was not accounted for in upgrades. To fix this, you will need to downgrade, delete the action, then upgrade again. |
Alternatively, I can make a fix to prevent the error, so the page will load, and you can delete the offending Action. This could take a while to implement and you would have to upgrade to the master branch to use the code. |
As always, thanks so much for fast and helpful answers! Totally makes sense re: irsend going away, that's what I suspected based on the error output but I wondered if I had missed a mitigating action that would've occurred if I went through all the upgrades one by one. I'll try to downgrade and then re-upgrade (I assume I just restore my last backup?), no need to do custom work on my behalf. Thanks again, AKA |
I must have missed that when considering upgrades. The best solution I can think of at the moment is to have better error-handling, so missing templates don't prevent the page from rendering. Then at least users can delete the offending action with the missing template. |
That sounds like a good improvement for future releases, no rush on my part though, I am happy to try the downgrade/upgrade (although now I'm getting a worrying error |
I was impatient! sqlite error resolved, back up and running on 8.8.8 now... |
Just pushed a fix, at least for the Function Action templates. I need to extend it to all dynamically-generated template file names that are included on pages. |
This issue has been mentioned on Radical DIY Forum. There might be relevant details there: |
Hi! Thanks again for making Mycodo, it rocks.
After upgrading from 8.8.8 to the latest (ie, skipping several releases in between), clicking the "Function" link on the "Setup" drop-down results in an Error 500 from the server (full server output appended below)
Versions:
Reproducibility
Please list specific setup details that are involved and the steps to reproduce the behavior:
Expected behavior
Able to load Function page and alter settings
Additional context
Here is the content of the 500 message:
The text was updated successfully, but these errors were encountered: