#Moonraker Warnings, user is not pi but *own name

150 messages Β· Page 1 of 1 (latest)

old plover
#

Hello!
I have already asked in the Klipper Forum, and they redirected me to this Discord! Here iam. They said that this problem might be hard coded...
My problem: I have two warnings in Klipper regarding Moonraker. After sending my Moonraker log to the supporter i got the response: "interesting, the log is saying it is looking at /home/pi, but your user is not called pi usually mainsailOS like you to use pi and not your own but in moonraker.conf, try.." i tried his advice (pictures).
Sadly nothing changed. What can i do now?
If you need more Info tell me.
thanks in advance
edit: iam using a Pi4 B+, with a Genius Pro and a STM32F401 board

woven wraith
#

Your updater section is wrong, correct your path

#
type: git_repo
path: ~/crowsnest
origin: https://github.com/mainsail-crew/crowsnest.git
install_script: tools/pkglist.sh
managed_services: crowsnest``` works for any user
#

After you change that you also need to restart the moonraker service

old plover
woven wraith
#

Have you restart moonraker? And also did a force refresh of your browser

old plover
#

i did it yes

outer fossil
#

The problem is something else. The install_script is linking to a wrong symlink. That is a currently known bug of crowsnest in MainsailOS.
To fix it, just run

rm -rf ~/crowsnest/tools/pkglist.sh
ln -sf ~/crowsnest/tools/libs/pkglist-rpi.sh ~/crowsnest/tools/pkglist.sh
grave blaze
#

i have same issue

outer fossil
# grave blaze i have same issue

You don't need to write that, if you already created another post or if I already provided the solution. You could tell us that it worked but as I wrote in the message above yours, this bug is known

old plover
#

Sorry for the waiting, i will try it after work.

#

and thank you for the approach.

old plover
#

nothing happend idk

#

warnings still there :/

outer fossil
#

Restart moonraker. It's normal that you don't have any output

old plover
#

still there

outer fossil
#

Is it still the same warning or a different one?

old plover
#

The only thing that changed is the path in the first warning

outer fossil
#

Then the smylink got created at least. Send the output of ls -l ~/crowsnest/tools/libs

old plover
#

but because i changed in in previous approaches

#

a helper of the klipper discord that that my installation is calling a wrong path because i named my pi with my own name, so we changed it to "farispi4-2"

outer fossil
#

Yes that's right. Because crowsnest failed something with MainsailOS and didn't have time to fix it yet

#

My commands should have deleted the wrong link and created the correct one.
Send the output of ls -l ~/crowsnest/tools/libs and ls -l ~/crowsnest/tools

#

Also send your moonraker.conf

old plover
outer fossil
#

Send your crowsnest.log

old plover
#

how do i get the crowsnest.log?

outer fossil
#

It should be under machine tab, then select logs at the top and there you can find it

old plover
#

it is not giving me the option in the machine tap

#

there is only klipper and moonraker

outer fossil
#

At the top of the machine tab

#

There is a drop down

#

Click on that and select logs instead of config

#

That drop down

old plover
#

all my logs

outer fossil
#

Ok, other question, did you use crowsnest in the past?

#

And do you use it now?

old plover
#

nop it was a new install

#

do i need it for a webcam?

outer fossil
#

Then please run:

cd ~/crowsnest
git checkout legacy/v3
make uninstall
git checkout master
#

That way it will be uninstalled and the warning fixed. If you want to install it for future use just run

#
cd ~/crowsnest
sudo make install
#

You have to uninstall it once, that it will work in future and to remove the warning

old plover
#

not installed lmao?

outer fossil
#

Ok then just delete the section inside moonraker ^^

old plover
#

but is there ? ..

outer fossil
#

Only the repo

#

Try make uninstall again

#

Maybe this time it will make something

#

Your setup seems very scuffed somehow

#

Your filestructure was the legacy/outdated one, but your moonraker.conf entry was the new one

#

And to top it of, it isn't even installed πŸ˜‚

old plover
#

haha

#

idk xD

outer fossil
#

Then just delete the crowsnest entry from moonraker.conf

old plover
#

i had problems with my genius pro

#

he needed to pe put in DFU-Mode and in the beginning it worked, then the printer could not connect anymore with the Pi...

old plover
#

the update manger?

outer fossil
old plover
#

warnings gone

#

hahah

#

but somehow i think i sould worry... that crowsnest is not working with my printer/pi

outer fossil
#

You can install it and hook up a usb cam if you want to

outer fossil
old plover
#

but will the warnings return?

outer fossil
#

Nope

#

This is only a problem with pre-installed crowsnest of MainsailOS

#

You might want to udpate crowsnest before installing it, just to be sure that you are on the latest version

#

Run cd ~/crowsnest git pullThis will update crowsnest

#

Then```
cd ~/crowsnest
sudo make install

old plover
#

:/

outer fossil
#

cat /etc/os-release

old plover
outer fossil
#

Seems like your added some sources that doesn't work inside your sources.list

#

Send output of cat /etc/apt/sources.list and ls /etc/apt/sources.list.d

old plover
outer fossil
#

Edit the /etc/apt/sources.list and comment out the last line

old plover
#

permission denied

#

i tried chmod u+x

#

Operation not permitted

outer fossil
#

To edit run nano /etc/apt/sources.list

old plover
#

I will try it tomorrow! Thank you for everything until now

old plover
#

Okey here iam

outer fossil
#

sudo nano /etc/apt/sources.list

#

I forgot the sudo ^^

old plover
#

done

outer fossil
#

Then try sudo apt update again

old plover
outer fossil
#

reboot once and try again

old plover
#

still the same :/

#

in germany you say: "ein harter Knochen ist diese Angelegenheit"

outer fossil
#

In my region we say: "ein harter Brocken" ^^

old plover
#

ah πŸ˜„

outer fossil
#

Then send the output of cat /etc/apt/sources.list.d/raspi.list

old plover
#

now it is commented

outer fossil
# old plover

I'm wondering what I forgot, as the source from here is already commented out

outer fossil
# old plover

Can you copy me the lines there and paste it here? I will google with that line

#

I think I'm just dumb right now and missing something obvious

old plover
#

sorry

outer fossil
#

I meant the error ^^

outer fossil
#

I always forget the important parts in my requests ^^

old plover
#

Get:1 http://ftp.debian.org/debian bullseye-backports InRelease [49.0 kB]
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Err:1 http://ftp.debian.org/debian bullseye-backports InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
Reading package lists... Done
W: GPG error: http://ftp.debian.org/debian bullseye-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
E: The repository 'http://ftp.debian.org/debian bullseye-backports InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

#

πŸ˜„

outer fossil
#

Try to run sudo apt-key add 0E98404D386FA1D9 && sudo apt-key add 6ED0E7B82643E131

old plover
woven wraith
#

How about doing a clean install …

outer fossil
#

Yeah, would be a lot faster ig

woven wraith
#

Just saying …

outer fossil
#

Oh I messed that command up ig

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6ED0E7B82643E131
```That should work
outer fossil
#

Fresh installation is pretty fast and not that hard

old plover
outer fossil
old plover
#

i had problems with the installation

outer fossil
old plover
#

i will trz again

#

it worked.. i think

outer fossil
#

Now the installation will work πŸ˜„

old plover
#

D

#

πŸ˜„

outer fossil
#

That was a "schwierige Geburt"

old plover
#

i will try it

#

HAHA yes

#

Β΄BUT: das letzte wort ist noch nicht gesprochen

#

i will try the installation

old plover
outer fossil
#

If there are updates, yes

old plover
#

okey, ich nehme mal an ja, i will do it then

#

okey it is up to date

#

OKEY

#

it worked πŸ˜„

#

wow everything is finde now

#

thank you very much

#

wie kann ich dir nur danken

outer fossil
#

I've got ko-fi: https://ko-fi.com/mryel
But you don't need to donate anything. Closing this post would be already enough πŸ˜„

old plover