PrusaConnect reporting the wrong printer version
 
Notifications
Clear all

PrusaConnect reporting the wrong printer version  

  RSS
tampe125
(@tampe125)
Eminent Member
PrusaConnect reporting the wrong printer version

Hello,

I have PrusaConnect reporting that my printers are running version 0.7.0rc2 of PrusaLink. Too bad that I manually updated them all, switching from 0.7.0rc2 to 0.7.0 weeks ago. For the records I did that using git commands and reboot the Pi after the update.

Is there a way to force version update to PrusaConnect?

Posted : 24/07/2023 8:07 am
Tojik
(@tojik)
Member Moderator
RE: PrusaConnect reporting the wrong printer version

Hi, what sort of git commands did you use?
Aside from getting the newer source code, you need to install the files where python searches for them using the pip commands from the README.md setup guide

If I remember correctly, the RC2 image is not set up in a way that would allow for automatic updates further down the line.
I am not sure tho. You would need to make your installation looks the same as in the newer image.

It would be much easier for me if you could flash the new image, but I will try to help you to update your existing one if you made a custom setup out of it and re-flashing would mean a lot of added work for you.

Posted : 31/07/2023 9:55 am
tampe125
(@tampe125)
Eminent Member
Topic starter answered:
RE: PrusaConnect reporting the wrong printer version

Hello,

I did a git fetch and a git checkout of the 0.7.0 tag.

If there are more commands to add, no problems for me. I do have several machines and flashing everything is not very convenient, it's way easier to SSH connect and update

Posted : 31/07/2023 9:58 am
Tojik
(@tojik)
Member Moderator
RE: PrusaConnect reporting the wrong printer version

Yea, this will be easier when we confirm the updater works (which will be the next update we roll out), so please re-flash when that happens and there are no major problems reported with it.

As for now, please ssh into the pi and run these:

pip install git+ https://github.com/prusa3d/gcode-metadata.git 
pip install git+ https://github.com/prusa3d/Prusa-Connect-SDK-Printer.git 
pip install git+ https://github.com/prusa3d/Prusa-Link.git 

It's not going to use the files in those folders, we separated one part of the code into its own project and cloning that would only add a step. These are on github and should work alright even tho they will re-download some of the stuff you already have
Hope that's alright with you and hope PrusaLink will work after that 😀

Posted : 31/07/2023 1:15 pm
tampe125
(@tampe125)
Eminent Member
Topic starter answered:
RE: PrusaConnect reporting the wrong printer version

So far so good.

Just a small note for anyone else reading this post, please note that in that way you'll end up installing the latest dev release. I'm not sure if there could be problems in the future with the update, just keep it in mind.

I think I can update from time to time to the latest dev release by running the same commands again, until we hit the auto update feature?

Posted : 01/08/2023 2:53 pm
Tojik
(@tojik)
Member Moderator
RE: PrusaConnect reporting the wrong printer version

oooh right, my bad 😐

Posted : 01/08/2023 3:15 pm
Tojik
(@tojik)
Member Moderator
RE: PrusaConnect reporting the wrong printer version

I already have the commands for installing the production thing  (except the gcode-metadata library) Just forgot they exist and are known working

pip install git+ https://github.com/prusa3d/gcode-metadata.git
pip install prusalink

Apart from the gcode-metadata, everything is on pip now, so you can just install prusalink and the rest of the dependencies should follow automatically. Sorry about that

Posted : 01/08/2023 3:20 pm
Tojik
(@tojik)
Member Moderator
RE: PrusaConnect reporting the wrong printer version

I have no idea if the dev version will be able to update to the release version, the version check in the updater might fail :/

Posted : 01/08/2023 3:23 pm
Share: