Skip to content
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

install_script: tools/pkglist.sh is not listed in the tools directory #242

Closed
vinaymahendra opened this issue Feb 16, 2024 · 2 comments
Closed
Labels
duplicate This issue or pull request already exists

Comments

@vinaymahendra
Copy link

What happened

I am following your instructions on your website to add the following lines to moonraker.conf:

[update_manager crowsnest]
type: git_repo
path: ~/crowsnest
origin: https://github.com/mainsail-crew/crowsnest.git
install_script: tools/pkglist.sh

In my Fluid instance, I am now getting the error, "Moonraker warnings found.
[update_manager]: Failed to load extension crowsnest: Invalid path for option install_script in section [update_manager crowsnest]: Path /home/mks/crowsnest/tools/pkglist.sh does not exist"

So I check you repo and pkglist.sh is not listed in that directory.

What did you expect to happen

Adding the lines of code to moonraker.conf would not cause an error to occure.

How to reproduce

Add the lines to your moonraker.cfg and see that it produces the same error.

Additional information

No response

@vinaymahendra vinaymahendra added the bug Something isn't working label Feb 16, 2024
@mryel00
Copy link
Member

mryel00 commented Feb 16, 2024

Duplicate of #150 and #186

@mryel00 mryel00 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 16, 2024
@mryel00 mryel00 added duplicate This issue or pull request already exists and removed bug Something isn't working labels Feb 16, 2024
@mryel00
Copy link
Member

mryel00 commented Feb 16, 2024

Ofc you get an error if you just add it without installing crowsnest.
I think you are following our docs:

After a successful installation, you should update your moonraker.conf as shown below to keep Crowsnest up to date. You will be asked during the installation if you want the script to do this for you.

AFTER A SUCCESFUL INSTALLATION means what it says. First instlal and then add it, but the scrip already asks you if the lines should be added.
If that file doesn't exist after a successful installation, join our Discord or use our GitHub discussions.

edit: You can find an explanation about the file in the duplicates I linked in my first comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants