#Timelapse on two instances

64 messages · Page 1 of 1 (latest)

timber notch
#

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

gloomy stream
#

Yes we know, currently installation works only manually

#

Timelapse installer is not changed to the new data structure yet

timber notch
gloomy stream
#

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 ~/

timber notch
#

Alright I’ll send that when I get home

gloomy stream
#

Yes best would be we do it together

#

For me it’s now 4:18PM

timber notch
timber notch
gloomy stream
#

Printers are ENDER_data and MAKERBOT_data

timber notch
#

yup i only care about ENDER_data for timelapse, its the only one with a camera

gloomy stream
#

Give me a few minutes of typing to get all commandos

timber notch
#

thank you!

gloomy stream
#

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/

timber notch
#

then do i have to run the installer or is that it?

gloomy stream
#

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 😉

timber notch
gloomy stream
#

nearly done I want to see the checks and also after I know how the services are called we will add the updater sections

timber notch
gloomy stream
#

give me also ls -l ~/Makerbot_data ls -l ~/Ender_data

timber notch
gloomy stream
#

until know it looks good

timber notch
#

makerbot data

#

ender data

gloomy stream
#

ok open Mainsail at e.g the ender and open the power menu to crosscheck the service names

timber notch
gloomy stream
#

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 😁

timber notch
#

cool, thank you so much!

gloomy stream
#

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

timber notch
#

okay

gloomy stream
#

close the post as soon all is working

timber notch
#

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

gloomy stream
#

no hurry

timber notch
# gloomy stream 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

gloomy stream
#

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.

timber notch
#

where would i delete managed services?

gloomy stream
#

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

timber notch
#

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

gloomy stream
#

@timber notch is that fixed now? If yes please close the post

timber notch
#

If there isn’t anything else I need to do, I’ll close it I just want to make sure

gloomy stream
#

Nope that would be all