Mainsail time lapse runs into issues when installing, and I tried I linked the files as shown in the github issue. It struggles to see klipper is installed. I can provide logs screenshots, and anything else needed, just let me know. As of right now I only want one klipper instance to have it installed if that helps. Help would be appreciated
#Timelapse on two instances
64 messages · Page 1 of 1 (latest)
Yes we know, currently installation works only manually
Timelapse installer is not changed to the new data structure yet
So would I be able to install it manually or just wait till it updates?
I can guide you true that its not that hard to do
you cloned already timelapse so you should have a fioder called ~/moonraker-timelapse
make me and screenshot of your user
I also need ls -l ~/
Alright I’ll send that when I get home
user is user@klipper
Printers are ENDER_data and MAKERBOT_data
yup i only care about ENDER_data for timelapse, its the only one with a camera
Give me a few minutes of typing to get all commandos
thank you!
first step ssh in the PI, than run line by line
ln -sf /home/user/moonraker-timelapse/klipper_macro/timelapse.cfg /home/user/Makerbot_data/config/timelapse.cfg
ln -sf /home/user/moonraker-timelapse/klipper_macro/timelapse.cfg /home/user/Ender_data/config/timelapse.cfg
mkdir /home/user/Makerbot_data/timelapse
mkdir /home/user/Ender_data/timelapse```
make you discord big enough that are only 5 lines
second step: Open your moonraker.conf at the ender and at [timelapse] output_path: ~/Ender_data/timelapse/ frame_path: /tmp/Ender/timelapse/
third step: Open your moonraker.conf at the makerbot and at [timelapse] output_path: ~/Makerbot_data/timelapse/ frame_path: /tmp/Makerbot/timelapse/
then do i have to run the installer or is that it?
if you have that we need to do some checks, I need a screenshot for each of the following commands ls -l ~/moonraker/moonraker/components ls -l ~/Makerbot_data/config ls -l ~/Ender_data/config ls -l /etc/systemd/system
no installer you and me are the installer right now 😉
nearly done I want to see the checks and also after I know how the services are called we will add the updater sections
give me also ls -l ~/Makerbot_data ls -l ~/Ender_data
until know it looks good
ok open Mainsail at e.g the ender and open the power menu to crosscheck the service names
this?
ok last 2 steps, open the moonraker.conf at Ender and at [update_manager timelapse] type: git_repo primary_branch: main path: ~/moonraker-timelapse origin: https://github.com/mainsail-crew/moonraker-timelapse.git managed_services: klipper-Ender moonraker-Ender
do the same on makerbot and at [update_manager timelapse] type: git_repo primary_branch: main path: ~/moonraker-timelapse origin: https://github.com/mainsail-crew/moonraker-timelapse.git managed_services: klipper-Makerbot moonraker-Makerbot
That was what the installer would have done 😁
Next is follow https://github.com/mainsail-crew/moonraker-timelapse/blob/main/docs/configuration.md for both printers
cool, thank you so much!
only to insure ffmpeg is on the machine sudo apt update sudo apt install ffmpeg
it will either install it or tell you the last version is there
after you did all I would do an reboot and than you should see a timelapse in the mainsail navigate panel
okay
close the post as soon all is working
alright as soon as this print finishes i will update and close it
unless you want to do anything with it as a more guided example of how to get it working with two instances then the github issue
no hurry
same message for klipper-ender and moonraker-ender should i just change it to klipper and moonraker in moonraker.conf or is there anything else i should do
systemctl lists them as valid services
Good morning here the multi instance is bitting me. Lets see
ssh in the PI
nano ~/Makerbot_data/moonraker.asvc
add klipper-Ender moonraker-Ender klipper-Makerbot moonraker-Makerbot to the end of that list
then open nano ~/Ender_data/moonraker.asvc
and do the same
if that does not solve it we would need to remove managed_services . The impact of that is that after a timelapse update you would need to restart the service manually or reboot the PI.
it didnt work, so ill ne fine rebooting every now and again
where would i delete managed services?
Ok open both moonraker.conf
Remove managed_services: klipper-Ender moonraker-Ender and managed_services: klipper-Makerbot moonraker-Makerbot
If I find time I will setup a multi instance on my testrig to see if I get that to run
I realized that it may have worked but I didn’t clear the notification for the error, I’ll double check when I get home
@timber notch is that fixed now? If yes please close the post
I removed the managed services in the cofig files, and the error is gone is there anything else I have to do other than reboot after I update?
If there isn’t anything else I need to do, I’ll close it I just want to make sure
Nope that would be all