#Timelapse plugin intstall problem

107 messages · Page 1 of 1 (latest)

shell moth
#

Hi guys. I tried to install the timelapse plugin to moonracker, using this URL https://github.com/mainsail-crew/moonraker-timelapse/blob/main/docs/installation.md but the installation give me a error. The problem is that as mentioned on the webpage, "NOTE: The script assumes that Klipper is in your home directory under "klipper": ${HOME}/klipper and "moonraker": ${HOME}\moonraker." but my installation is like that : ${HOME}/kinofaya/klipper. Is there a way to solve the problem please ?

GitHub

Timelapse Plugin for moonraker. Contribute to mainsail-crew/moonraker-timelapse development by creating an account on GitHub.

proven compass
#

$HOME is /home/<user> so what is the exact error message and provide a screenshot of
ls -l ~/

shell moth
proven compass
#

Ok that’s easy

#

The installer still use the old config folder

#

From KLIPPER_CONFIG_DIR="${HOME}/klipper_config"
to
KLIPPER_CONFIG_DIR="${HOME}/printer_data/config" and run the installer again

#

@slow ether we should change that. And yes I know you want the version that detect both

shell moth
#

@proven compass hmm ok, but how do I launch this script when I am under putty ?

#

I am really starting with linux

shell moth
#

well I am not sure I did what I had to, but I still have the same error

#

Then I tried to run this :

#

bash ~kinofaya/moonraker-timelapse/install.sh

proven compass
#

You did not copy it back

shell moth
#

can you help me with it please ? I don't know how to do

#

@proven compass

proven compass
#

SSH in your Pi

#

nano ~/moonraker-timelapse/install.sh

#

Use armor keys to go to line 29

#

Change it

#

CTRL X than y ENTER ENTER

#

Than run the script again

shell moth
#

ok, going to try

proven compass
#

And if that does not work I will prepare the 2 ln commands for you.

shell moth
#

ok it works, but am I not suppsoed to have it showing here ?

proven compass
#

But that would happen in a. Hour or so as I am on Mobil

#

That’s the next step 😉

#

ok cd moonraker-timelapse git status
Make me an screenshot

shell moth
#

the plugin is now showing up in "machine" after I added the line in the moonracker.conf

proven compass
#

git restore install.sh

shell moth
proven compass
#

Yes du the git restore

shell moth
proven compass
#

After that use the blue cycle symbol to manual update the list in mainsail

#

Is it ok now? Should show up to date

shell moth
#

shit, I did something wrong, moonracker is dead. I have to reinstall it

proven compass
#

STOP

#

What did you do

shell moth
proven compass
#

You know I know what I do …

shell moth
#

it did nothing, so I tried to go back in the /moonracker-timelapse folder but couldn't, so I launched the install.sh again and then it is not launching anymore

proven compass
#

ok go in your browser <your printer is>:7125 make me an picture

shell moth
proven compass
#

Yes you need to learn the does nothing in Linux means all ok I have nothing to complain !

#

ok ssh in the pi

#

sudo service moonraker status

shell moth
#

this happend everytime I tried to install the plugin, when it wanted the old config folder

proven compass
#

sudo service moonraker stop
sudo service moonraker start
sudo service moonraker status

shell moth
#

(we can do that later when you will be on your computer if it is more convenient for you)

proven compass
#

I need the output

shell moth
proven compass
#

You must have done much more as trying to run git restore because your moonraker seams to be dead now

shell moth
#

no really, I did only what I told you

#

and as I said, this happend everytime I tried to install the plugin before talking with you, when it wanted the old config folder

proven compass
#

~/moonraker/scripts/install-moonraker.sh -r

shell moth
#

I reinstalled it 3 times just by running the script

proven compass
#

Nope that can not be the route cause of that the installer script tries to do 2 soft links

#

What is your base system

shell moth
#

linux running in a VM on my NAS

#

linux mint

proven compass
#

Ahh ok so we are not even sure if that will run moonraker with no issues

#

What does the system output after the moonraker end rebuild

shell moth
#

but everything was working good until I tied to install the timelapse plugin

proven compass
#

Perfect now moonraker is running again

shell moth
#

yep

proven compass
#
ls -l ~/moonraker/moonraker/components/```
shell moth
proven compass
#

Good both are linked correct

#

You do not need to put pictures I do not request 😉

#
git status ```
#

Picture

shell moth
proven compass
#

I guess it tells you it is on master with nothing to commit. My French is horrible maybe 3-4 words 😂

shell moth
#

something like that yes 😄

#

the copy is clean

#

nothing to validate

proven compass
#

Good now go to mainsail in the system tab and hit the blue symbol above the updater

shell moth
#

check for updates ?

proven compass
#

Yes

#

Than the dirty will go away

#

Because the git restore has removed your local changes to install.sh

shell moth
#

yes gone !

#

I have a moonracker update available now

proven compass
#

Or do the updates it is up to you.

shell moth
#

ok so now I am good to go, I only need to configure the timelapse macro as I want ?

proven compass
#

Not the macro because they are read only your slicer and the setup in mainsail

#

Simple follow the linked instructions

shell moth
#

ok ok

#

Thanks for your help, I would never have been able to solve it alone !

proven compass
#

Yeah we working on getting the installer to detect the old and new folder structure, after that it will be easier again

shell moth
#

while I got you here, I might have faced a bug with the "exclude_object" plugin, where should I post about it ? Is it mainsail related, or should I go on the klipper discord ?

#

the bug is doing a print problem, not a software problem

proven compass
#

Start with a new post here. If we understand it we will guide you what to do next

#

And as we done with that problem here, I will ask you to close that post

shell moth
#

Ok, I will do so. Yeah sure