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
14 Replies
ambitious-aqua
ambitious-aqua•13mo ago
When you ssh in, does the file exist according to that path?
Tracy7734
Tracy7734OP•13mo ago
no setup.sh exists in ratos/src/ratos-configurator/scripts Does that mean the update did not execute?
ambitious-aqua
ambitious-aqua•13mo ago
When you go to that scripts folder and type: pwd What does it show? It should show the whole path
Tracy7734
Tracy7734OP•13mo ago
/home/pi/ratos-configurator/src/scripts is the whole path. I'm not sure how or what created the src path or how to fixi it Here are all the files in the scr folder components next.config.mjs pnpm-lock.yaml server env next-env.d.ts postcss.config.js styles helpers package.json public tailwind.config.js hooks pages scripts tsconfig.json
ambitious-aqua
ambitious-aqua•13mo ago
im confused so /home/pi/ratos-configurator/scripts/ exists?
Tracy7734
Tracy7734OP•13mo ago
No. The folder scr exists between ratos-configurator and scripts.
miklschmidt
miklschmidt•13mo ago
That's not the right path, seems like you checked out a dev branch and not a deployment branch, what exactly did you do to get that warning? I'm also going to need your RatOS version (you can see that in the mainsail machine tab in the host pane)
Tracy7734
Tracy7734OP•13mo ago
v2.02-20-gd131bf25 I update frequently always running RatOS update first. I really would rather not start over but will if you recommend it.
miklschmidt
miklschmidt•13mo ago
I really would rather not start over but will if you recommend it.
Not even close to there yet.
v2.02-20-gd131bf25 I update frequently always running RatOS update first.
I was looking for the image version, not the version of the repository. See my screenshot.
No description
miklschmidt
miklschmidt•13mo ago
Let me make sure i'm understanding you correctly. You did nothing other than update packages through the update manager?
Tracy7734
Tracy7734OP•13mo ago
I've had these Moonraker errors for quite some time. Maybe 3 months and several upgrades. I added an Android tablet as a KlipperScreen and had some trouble getting it to run and thought these Moonraker errors could have been the cause. Turns out they were not the problem.
No description
miklschmidt
miklschmidt•13mo ago
Maybe 3 months and several upgrades.
Ah. Well you're getting the error because you changed the branch of the ratos-configurator. I'm trying to find out how/why that happened, because you're not supposed to (it doesn't work, as you know). the fix itself is easy,
cd ~/ratos-configurator
git checkout v2.x-deployment
pnpm install
sudo ./scripts/update.sh
cd ~/ratos-configurator
git checkout v2.x-deployment
pnpm install
sudo ./scripts/update.sh
But to be clear, this doesn't just happen on it's own automatically. It requires user intervention.
Tracy7734
Tracy7734OP•13mo ago
Can you give me an example of how I could have changed it? I want to make sure I don't do it again. Just ran the new updates. No errors. Thanks for your help.
miklschmidt
miklschmidt•13mo ago
you'd have to ssh into the pi and change the branch I don't know how that could happen accidentally, that's why i'm asking 😅 np

Did you find this page helpful?