Configurator 502 Bad Gatewaynginx/1.18.0

I just reinstalled RatOS on a new SDcard (Old ones seems to have ben haivng issues.) and now I can't launch the Configurator. It immediately goes to an error page. 502 Bad Gateway nginx/1.18.0 Any ideas?
30 Replies
Mr_Phelps_VCore_4.0_500
Found this in the error message stuff: Moonraker warning [update_manager]: Failed to load extension ratos-configurator: Invalid path for option install_script in section [update_manager ratos-configurator]: Path /home/pi/ratos-configurator/scripts/setup.sh does not exist This is a fresh install straight off the documentation.
blacksmithforlife
did you update to latest RC3?
Mr_Phelps_VCore_4.0_500
I thought I had the latest. But the file name says RC2. Where is RC3? I think I am downloading the RC3, but I'm always fighting Github since I don't use this type stuff pretty much ever. So I need to reimage again? Where do I find the .img file?
TheTik
TheTik3mo ago
image filename is RC2, then you'll need to update to RC3:
1. Flash image
2. Connect to hotspot
3. Setup wifi through configurator (and let it reboot)
4. Go to /config
5. Refresh update manager
6. at this point nothing should be invalid, all green. IF THAT'S NOT THE CASE stop here and post your moonraker.log
7. Update only the RatOS package(NOT configurator).
8. Update RatOS configurator (this takes awhile, if the mainsail output of the update process hangs, let it sit for 10 minutes and then refresh the page, Ctrl+Shift+R)
9. Restart moonraker service (click power icon in the top right of mainsail, click the refresh button next to moonraker under "service controls")
10. Reload mainsail (Ctrol+Shift+R)
11. Refresh update manager
12. "RatOS" should be gone from the list. Everything should be green and have several updates except RatOS configurator (ignore the klipper errors). If it's not, stop here and post your moonraker.log.
13. Click update all.
14. Done.
1. Flash image
2. Connect to hotspot
3. Setup wifi through configurator (and let it reboot)
4. Go to /config
5. Refresh update manager
6. at this point nothing should be invalid, all green. IF THAT'S NOT THE CASE stop here and post your moonraker.log
7. Update only the RatOS package(NOT configurator).
8. Update RatOS configurator (this takes awhile, if the mainsail output of the update process hangs, let it sit for 10 minutes and then refresh the page, Ctrl+Shift+R)
9. Restart moonraker service (click power icon in the top right of mainsail, click the refresh button next to moonraker under "service controls")
10. Reload mainsail (Ctrol+Shift+R)
11. Refresh update manager
12. "RatOS" should be gone from the list. Everything should be green and have several updates except RatOS configurator (ignore the klipper errors). If it's not, stop here and post your moonraker.log.
13. Click update all.
14. Done.
Mr_Phelps_VCore_4.0_500
I must have messed that up. It says everything is up to date, but getting the errors. I'll try flashing again.
TheTik
TheTik3mo ago
Best of luck!
Mr_Phelps_VCore_4.0_500
I don't see "RatOS" package. DO you mean update everything individually except the configurator?
TheTik
TheTik3mo ago
What step are you referring to, step 7?
Mr_Phelps_VCore_4.0_500
Yes, that is where I am at.
TheTik
TheTik3mo ago
Can I get a screenshot of the Update Manager?
TheTik
TheTik3mo ago
And thats directly after flashing?
Mr_Phelps_VCore_4.0_500
I had to soft reset Moonraker as it came up invalid.
TheTik
TheTik3mo ago
soft or hard recoveries will break things
Mr_Phelps_VCore_4.0_500
So how do you get around the "Invalid" part?
TheTik
TheTik3mo ago
It was saying "invalid" in the update manager I asume?
TheTik
TheTik3mo ago
did the instructions say to update it first?
Mr_Phelps_VCore_4.0_500
Which gets back to what the heck is RatOS package? I don't see anything like that in the list.
TheTik
TheTik3mo ago
The one that just says "RatOS". I'm betting the soft recovery broke it. Either re-image, or SSH in and try running ratos doctor
Mr_Phelps_VCore_4.0_500
So, after reflash, this error is occurring (though it is the same error as before, I thought redoing Moonraker would fix it.)
TheTik
TheTik3mo ago
What step are you on in the instructions? and what is the error?
Mr_Phelps_VCore_4.0_500
Step 6. Since Moonraker is "invalid".
Mr_Phelps_VCore_4.0_500
Getting a Klipper reports: ERROR Unknown config object 'bed_mesh' But just assuming that is because none of that stuff has been run yet. There is a difference in the display between the webpage and the LCD. The LCD shows RatOS, but it is not listed on the webpage.
TheTik
TheTik3mo ago
ah, gotcha. I've never had anyone stuck on step 6 before, I wasn't reading closely. Lemme see what I can figure out
Mr_Phelps_VCore_4.0_500
Did the RatOS update, and it cleared up the Moonraker error. Going to try and step through the rest.
TheTik
TheTik3mo ago
Sounds good. FWIW I don't see any errors in the moonraker log
Mr_Phelps_VCore_4.0_500
But maybe mentioning that you need to be looking at the LCD and not the webpage would help.
TheTik
TheTik3mo ago
I've only ever used the webpage
blacksmithforlife
Rat-OS setup should never be done on the LCD. It only ever supported using a web browser for setup

Did you find this page helpful?