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 ?
#Timelapse plugin intstall problem
107 messages · Page 1 of 1 (latest)
$HOME is /home/<user> so what is the exact error message and provide a screenshot of
ls -l ~/
Hi, thanks for your help. He are the error and the result of your command
Ok that’s easy
The installer still use the old config folder
You only need to change the line https://github.com/mainsail-crew/moonraker-timelapse/blob/main/install.sh#L29
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
@proven compass hmm ok, but how do I launch this script when I am under putty ?
I am really starting with linux
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
You did not copy it back
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
ok, going to try
And if that does not work I will prepare the 2 ln commands for you.
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
the plugin is now showing up in "machine" after I added the line in the moonracker.conf
git restore install.sh
Add https://github.com/mainsail-crew/moonraker-timelapse/blob/main/docs/installation.md#enable-updating-with-moonraker-update-manager to your moonraker.conf
Yes du the git restore
git restore install.sh did nothing I believe
After that use the blue cycle symbol to manual update the list in mainsail
Is it ok now? Should show up to date
shit, I did something wrong, moonracker is dead. I have to reinstall it
as git restore install.sh did nothing, I tried to do "cd" and typed git restore install.sh again
You know I know what I do …
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
ok go in your browser <your printer is>:7125 make me an picture
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
this happend everytime I tried to install the plugin, when it wanted the old config folder
sudo service moonraker stop
sudo service moonraker start
sudo service moonraker status
(we can do that later when you will be on your computer if it is more convenient for you)
I need the output
You must have done much more as trying to run git restore because your moonraker seams to be dead now
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
~/moonraker/scripts/install-moonraker.sh -r
I reinstalled it 3 times just by running the script
Nope that can not be the route cause of that the installer script tries to do 2 soft links
What is your base system
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
Perfect now moonraker is running again
ls -l ~/moonraker/moonraker/components/```
Good both are linked correct
You do not need to put pictures I do not request 😉
git status ```
Picture
I guess it tells you it is on master with nothing to commit. My French is horrible maybe 3-4 words 😂
Good now go to mainsail in the system tab and hit the blue symbol above the updater
check for updates ?
Yes
Than the dirty will go away
Because the git restore has removed your local changes to install.sh
Ok so you installed successfully now go on with https://github.com/mainsail-crew/moonraker-timelapse/blob/main/docs/configuration.md
Or do the updates it is up to you.
ok so now I am good to go, I only need to configure the timelapse macro as I want ?
Not the macro because they are read only your slicer and the setup in mainsail
Simple follow the linked instructions
Yeah we working on getting the installer to detect the old and new folder structure, after that it will be easier again
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
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
Ok, I will do so. Yeah sure