moggieuk / ERCF-Software-V3

New software driver for ERCF control under Klipper
GNU General Public License v3.0
298 stars 63 forks source link

Moonraker.conf Creates INVALID #82

Closed AustinTylerDean closed 1 year ago

AustinTylerDean commented 1 year ago

Hi There! I'm trying to figure out why my installation is not finding the git version, which is what I assume the problem is.

image

image

I've copied and pasted the update_manager portion, and I have 6 other managers working fine, so connection doesn't seem to be the issue. Is there something specific you have to do in github to allow calls for the current version number?

My home directory is correct... image

Any ideas?

kolbenhans commented 1 year ago

Looks like the ERCF-Software-V3 folder isn't located in the home directory of the user running klipper!?!

what is the result when enter the following in ssh console? ls -d ~/ERCF*

the result should look like this: pi@mainsailos:~ $ ls -d ~/ERCF* /home/pi/ERCF-Software-V3

AustinTylerDean commented 1 year ago

image

Like I said, I thought my home directory was okay...

Surion79 commented 1 year ago

pi please. :)

AustinTylerDean commented 1 year ago

What does my username have to do with it?

On Wed, Jul 12, 2023, 2:28 PM Surion79 @.***> wrote:

pi please. ;)

— Reply to this email directly, view it on GitHub https://github.com/moggieuk/ERCF-Software-V3/issues/82#issuecomment-1633235674, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJI3DD3SZ6UWH42NW52RIMDXP4JGLANCNFSM6AAAAAA2DVN2OM . You are receiving this because you authored the thread.Message ID: @.***>

kolbenhans commented 1 year ago

your klipper, moonraker etc are also stored under this user & home directory, in that case it should working correct i guess.

AustinTylerDean commented 1 year ago

The answer is that ~/ERCF-Software-V3 was owned by root, not the user. Solution was to putty into ~ and run:

sudo chown -R username ~/ERCF-Software-V3

The -R is important, as without it you end up owning a directory but none of the contents... Good ol' Linux.