Replicape beta-image release

Replicape users,

Happy new year!

As a belated Christmas gift, allow me to share the beta-release of our new image build system:

Please read the release notes carefully.
Feel free to ask questions here or in Slack!

Cheers,
Jon

3 Likes

Problem identified:
When updating the config or issuing a RESTART, Klipper frequently does not restart correctly and returns an mcu-related error. Config is usually not at fault, a system reboot without changing config file resolves this.

I am investigating the cause and will hopefully issue a corrective update soon.

1 Like

Problem 1 update:

jakep_82 on Slack documents the same mcu issue happening 6 months back on a “by the book” installation of Klipper on his replicape. It may be a Klipper bug rather than a ReFactor bug. Still investigating.

Problem 2 identified - fix available:

Mjpg-streamer not properly installed.

To fix:

cd /usr/src/Umikaze
apt-get update
git remote set-url origin https://github.com/goeland86/ReFactor.git
git pull
ansible-playbook install_mjpgstreamer.yml
systemctl start mjpg

Problem 3: Bug with Toggle not starting

Toggle’s service dependency depends on a service that no longer exists, hence it fails at boot. Works fine when restarted manually after startup.

To fix:

cd /usr/src/Umikaze/
git pull
cp roles/install_toggle/files/toggle.service /lib/systemd/system/toggle.service
systemctl daemon-reload
systemctl restart toggle

Problem 4: git pull permission denied on github

It seems in my rush to get the beta out the door I forgot to change the git repository’s URL to use the public HTTPS instead of the SSH key (which you obviously do not have) on the image.

To fix this, it’s a very simple change - it was also updated in the problem 2 fix instructions:

apt-get update
cd /usr/src/Umikaze
git remote set-url origin https://github.com/goeland86/ReFactor.git
1 Like

Problem 5: Klipper crashes when restarting

Thanks to manbehindthemadness on slack for finally giving me the missing clue as to why Klipper refuses to restart properly on the beta 1 image. It seems that klipper needs to run with a much higher priority on the system, to avoid timing errors.

To fix this issue, run:

apt-get update
cd /usr/src/Umikaze
git remote set-url origin https://github.com/goeland86/ReFactor.git
git checkout master
git pull
systemctl stop klipper
systemctl stop klipper_pru
ansible-playbook install_klipper.yml