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

Moonraker Warning(s) on start up, everything else working properly. #55

Open
VashBaldeus opened this issue Jan 29, 2023 · 10 comments
Open
Labels
bug Something isn't working

Comments

@VashBaldeus
Copy link

VashBaldeus commented Jan 29, 2023

The warnings:

Moonraker warning

Unparsed config option 'managed_services:
moonraker-obico' detected in section [update_manager moonraker-obico]. This may be an option no longer available or could be the result of a module that failed to load. In the future this will result in a startup error.

Moonraker warning

Unparsed config option 'install_script: install.sh' detected in section [update_manager moonraker-obico]. This may be an option no longer available or could be the result of a module that failed to load. In the future this will result in a startup error.

Moonraker warning

Unparsed config option 'requirements: requirements.txt' detected in section [update_manager moonraker-obico]. This may be an option no longer available or could be the result of a module that failed to load. In the future this will result in a startup error.

Moonraker warning

Unparsed config option 'origin: https://github.com/TheSpaghettiDetective/moonraker-obico.git' detected in section [update_manager moonraker-obico]. This may be an option no longer available or could be the result of a module that failed to load. In the future this will result in a startup error.

Moonraker warning

[update_manager]: Failed to load extension moonraker-obico: [Errno 13] Permission denied: '/root/moonraker-obico-env/bin/pip'

From first impressions, Obico connects to my self-hosted Obico server and works normally. No idea if these warnings carry any issues of proper operation.

@kennethjiang kennethjiang added the bug Something isn't working label Jan 30, 2023
@zellneralex
Copy link
Contributor

Can you share your moonraker.log, that looks more like an config error

@VashBaldeus
Copy link
Author

Can you share your moonraker.log, that looks more like an config error

https://pastebin.com/ziNhRZyP

@zellneralex
Copy link
Contributor

zellneralex commented Feb 2, 2023

ok that is not normal

[update_manager moonraker-obico]
type: git_repo
path: ~/moonraker-obico
origin: https://github.com/TheSpaghettiDetective/moonraker-obico.git
env: /root/moonraker-obico-env/bin/python
requirements: requirements.txt
install_script: install.sh
managed_services: moonraker-obico

Did you try to install obico as root? The

env: /root/moonraker-obico-env/bin/python

should not be there.

Could you ssh in the rPI

cd ~
ls -l

and make a screenshot

@zellneralex
Copy link
Contributor

I would expect it would look like

[update_manager moonraker-obico]
type: git_repo
path: ~/moonraker-obico
origin: https://github.com/TheSpaghettiDetective/moonraker-obico.git
env: ~/moonraker-obico-env/bin/python
requirements: requirements.txt
install_script: install.sh
managed_services: moonraker-obico

But for that I need to see your file system

@kennethjiang
Copy link
Contributor

@zellneralex Good catch! I think it's because the user installed moonraker-obico as root. @VashBaldeus Please confirm if you can see this message.

@VashBaldeus
Copy link
Author

@zellneralex Good catch! I think it's because the user installed moonraker-obico as root. @VashBaldeus Please confirm if you can see this message.

@kennethjiang
Copy link
Contributor

@VashBaldeus Can you confirm if you installed moonraker-obico as root?

@VashBaldeus
Copy link
Author

@VashBaldeus Can you confirm if you installed moonraker-obico as root?
I installed it as pi user on my raspberry pi. when running the install command I applied sudo, could this be the cause of the issue? if so, how do i re-install?

@kennethjiang
Copy link
Contributor

@VashBaldeus Can you confirm if you installed moonraker-obico as root?
I installed it as pi user on my raspberry pi. when running the install command I applied sudo, could this be the cause of the issue? if so, how do i re-install?

This could be the issue. Yes please re-install without sudo. The script will run sudo to elevate the access when/if necessary.

@VashBaldeus
Copy link
Author

VashBaldeus commented Feb 18, 2023

@VashBaldeus Can you confirm if you installed moonraker-obico as root?
I installed it as pi user on my raspberry pi. when running the install command I applied sudo, could this be the cause of the issue? if so, how do i re-install?

This could be the issue. Yes please re-install without sudo. The script will run sudo to elevate the access when/if necessary.

Okay, I'll give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants