Setup.sh Error

I just received my 3.1 upgrade and my enclosure 2.0 so I had some work to do. After getting everything setup, I noticed that I have a Moonraker error related to Ratos. I had several but have been able to get it down to one by making directories. The remaining error is:
Moonraker warnings found. [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. Any suggestions? Let me know what other files may be needed to troubleshoot.
6 Replies
abcurrie
abcurrieOP•2y ago
Since this error seems to be coming from Moonraker, I suspect that the Moonraker.log file may be helpful.
miklschmidt
miklschmidt•2y ago
So it seems like you hadn't updated your packages for a while, and moonraker contained a pretty huge change. On top of that it looks like you migrated from unmanaged moonraker config to managed config on an older install that does not contain the configurator. Go back to unmanaged by copy pasting the contents of config/moonraker.conf into moonraker.conf, replacing the [include config/moonraker.conf] line. The directories should be corrected with the DELETE_AND_RESTORE_PRINTER_DATA_DIRS macro (i assume that's what you did).
abcurrie
abcurrieOP•2y ago
I updated the moonraker.cong file using the info from the config/moonraker.conf. I looked around for the script you mentioned and could not find it. I found delete-and-restore-printer-data.sh and ran that. I rebooted but I am still getting the same error. Attached is my latest moonraker.cong file and a screen capture of the script I ran. I agree that I had changed things back around October 12th when I was following some comments about the upcoming Moonraker upgraded. I do not clearly remember what I did but I believe the error message I am now getting was probably caused by recent upgrades to the a system.
miklschmidt
miklschmidt•2y ago
I looked around for the script you mentioned and could not find it.
It's a macro, you just run it in the console
I found delete-and-restore-printer-data.sh and ran that.
That'll do it too.
I rebooted but I am still getting the same error.
Delete the [update_manager ratos-configurator] section from your moonraker.conf
abcurrie
abcurrieOP•2y ago
Deleted the [update_manager ratos-configurator] section from Moonraker.conf and restarted. Error message is now gone!!!!! Thanks for all your help @miklschmidt ratos
miklschmidt
miklschmidt•2y ago
Np 🙂
Want results from more Discord servers?
Add your server