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

Resolve: Moonraker warnings found #83

Open
Clon1998 opened this issue Feb 24, 2024 · 15 comments
Open

Resolve: Moonraker warnings found #83

Clon1998 opened this issue Feb 24, 2024 · 15 comments
Labels
documentation Improvements or additions to documentation

Comments

@Clon1998
Copy link
Owner

Clon1998 commented Feb 24, 2024

If you are encountering this issue:

image

You will need to update the install_script property of the [update_manager mobileraker] section:
(Red old value, Green new value. Ignore the +,- chars)

[update_manager mobileraker]
...# other properties
-install_script: scripts/install-mobileraker-companion.sh
+install_script: scripts/install.sh

Result:
image

@Clon1998 Clon1998 added the documentation Improvements or additions to documentation label Feb 24, 2024
@Clon1998 Clon1998 pinned this issue Feb 24, 2024
@Clon1998 Clon1998 changed the title Moonraker warnings found Resolve: Moonraker warnings found Feb 24, 2024
@Mechanikerlegion511
Copy link

After the update I had the same problem today.
I did as described in the post above, the problem disappeared

@atong9033
Copy link

atong9033 commented Apr 23, 2024

why not write it. what do I need to edit in moonraker.conf? do you comment on the lines? then why is it so difficult to specify the full path?

@Clon1998
Copy link
Owner Author

why not write it. what do I need to edit in moonraker.conf? do you comment on the lines? then why is it so difficult to specify the full path?

I don't understand what you're trying to ask?
The first post pretty clearly describes what you need to do to resolve the issue.

The origin of the issue is the fact that I removed the old install script in favor of a new one that uses the installer rather than a raw shell script to install the companion.

@titanhusker
Copy link

titanhusker commented May 9, 2024

why not write it. what do I need to edit in moonraker.conf? do you comment on the lines? then why is it so difficult to specify the full path?

Found this post when I ran into the same issue. I thought I would shed a little light on it if you haven't figured it out yet. It is straight forward....Log into your printer>Under your configuration tab>modify moonraker.conf (the line item might not be the exact number but it will be close) change the line to the new one>save and restart and the error should be corrected. Hope that helps.

@Clon1998 - I appreciate you posting a fix, very helpful.

@MichalOrel
Copy link

I just installed opennept4une today and I'm having the same problem.
In the configuration it looks like this :
[update_manager mobileraker]
type: git_repo
path: ~/mobileraker_companion
origin: https://github.com/Clon1998/mobileraker_companion.git
primary_branch:main
managed_services: mobileraker
env: ~/mobileraker-env/bin/python
requirements: scripts/mobileraker-requirements.txt
install_script: scripts/install.sh

Even if I rewrite it to look like your screen shot, the problem still persists.Please, what am I doing wrong?
I'm completely new to this.
Thank you

@Clon1998
Copy link
Owner Author

I just installed opennept4une today and I'm having the same problem.

In the configuration it looks like this :

[update_manager mobileraker]

type: git_repo

path: ~/mobileraker_companion

origin: https://github.com/Clon1998/mobileraker_companion.git

primary_branch:main

managed_services: mobileraker

env: ~/mobileraker-env/bin/python

requirements: scripts/mobileraker-requirements.txt

install_script: scripts/install.sh

Even if I rewrite it to look like your screen shot, the problem still persists.Please, what am I doing wrong?

I'm completely new to this.

Thank you

Did you restart moonraker after saving the file?
If you did please provide me a screenshot of the error.

@MichalOrel
Copy link

MichalOrel commented May 19, 2024

Yes, I saved and rebooted.
First error is : 502 Bad Gateway nginx/1.22.1
I then clicked on force launch and :
obrazek
obrazek

@MichalOrel
Copy link

Found this post when I ran into the same issue. I thought I would shed a little light on it if you haven't figured it out yet. It is straight forward....Log into your printer>Under your configuration tab>modify moonraker.conf (the line item might not be the exact number but it will be close) change the line to the new one>save and restart and the error should be corrected. Hope that helps.

I dont understand: (the line item might not be the exact number but it will be close) change the line to the new one>
Please, could you elaborate a little bit?

@Clon1998
Copy link
Owner Author

Found this post when I ran into the same issue. I thought I would shed a little light on it if you haven't figured it out yet. It is straight forward....Log into your printer>Under your configuration tab>modify moonraker.conf (the line item might not be the exact number but it will be close) change the line to the new one>save and restart and the error should be corrected. Hope that helps.

I dont understand: (the line item might not be the exact number but it will be close) change the line to the new one>

Please, could you elaborate a little bit?

You'll need to locate the path of the mobileraker companion within the file system of the printer.
Afterwards, adjust the path in the install_script param to that local path.

@titanhusker
Copy link

titanhusker commented May 23, 2024 via email

@MichalOrel
Copy link

What do you mean? Locate the old line and change it to the new one, save and restart, you should be good from there. I was simply stating that the line # might differ depending on yours, don’t go by the number, go by the content. Hope that helps.

I am a complete amateur at this.I had no idea how to do it, what line and where to find it.
It's hard to solve such things without detailed guidance.
Anyway, I solved it via Kiauh update.

@titanhusker
Copy link

titanhusker commented May 24, 2024 via email

@Prsmith3
Copy link

Hello, I installed openNept4une about three weeks ago. I had the exact same error messages. I found this thread and went to the moonraker config to find it already set to the line change mentioned above.

[update_manager mobileraker]
type: git_repo
path: ~/mobileraker_companion
origin: https://github.com/Clon1998/mobileraker_companion.git
primary_branch:main
managed_services: mobileraker
env: ~/mobileraker-env/bin/python
requirements: scripts/mobileraker-requirements.txt
install_script: scripts/install.sh

There is one difference, and that is the 6th line. Mine doesn't say "virtualenv"
Changing that to match OP's doesn't change anything. Yes, it was saved and rebooted multiple times.

Screenshot (24)

So far this is the only place I can find that mentions this issue exactly as I'm seeing it , but the problem persists.
I haven't done much printing since the install. just a few calibration prints. 'cause I just don't have enough Benchys
yet!
That said things seem to be working.

@Choccy-vr
Copy link

To those who installed Open Neptune and having trouble with this I found that I had this line install_script: scripts/install.sh instead of this install_script: scripts/install-mobileraker-companion.sh. change install_script: scripts/install.sh to install_script: scripts/install-mobileraker-companion.sh In moonraker.conf. Please note that this may change but at the time of posting this that is the answer for Open Neptune.

@Prsmith3
Copy link

To those who installed Open Neptune and having trouble with this I found that I had this line install_script: scripts/install.sh instead of this install_script: scripts/install-mobileraker-companion.sh. change install_script: scripts/install.sh to install_script: scripts/install-mobileraker-companion.sh In moonraker.conf. Please note that this may change but at the time of posting this that is the answer for Open Neptune.

Thank you! That worked perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

7 participants