Setup failed to link - stuck in a broken state
 
Notifications
Clear all

Setup failed to link - stuck in a broken state  

  RSS
Arthur
(@arthur)
New Member
Setup failed to link - stuck in a broken state

Hi all,

I installed the image this morning and setup went well up until it sent me to prusa connect to complete setup.
It looks like the prusa connect site didn't get any messages from the printer.

During setup, I entered a dot into the location field as this wasn't relevant and I didn't want to enter anything, however from another thread I found this might have broken the update if it wasn't encoded properly?

Either way, prusa link is installed and working but isn't connected, how do I restart the setup process?

Thanks

Posted : 28/03/2022 3:19 pm
Tojik
(@tojik)
Member Moderator
RE: Setup failed to link - stuck in a broken state

There are ways, just no user friendly ones just yet. Re-flashing is one, but that's annoying.
Enable SSH on the pi - you can do that by putting an empty file named "ssh" into the boot partition of the SD card. Get filezilla and connect to the pi using SFTP - it uses the SSH connection for file management. Edit the file in /home/pi/prusa_printer_settings.ini and remove te printer name, location and token, save, wait for a bit, then power cycle the printer, i think that should be enough for the wizard to let you try the connect thing again. If this doesn't help, just delete the file completely and power cycle the printer.
There will be a re-add button in the future. Thanks for giving PrusaLink a shot and hope this helps

Posted : 28/03/2022 3:34 pm
DanielAttia
(@danielattia)
Member
RE: Setup failed to link - stuck in a broken state

If you can connect to the Raspberry Pi via SSH, you can restart the setup process by deleting the "prusa_printer_settings.ini" file and rebooting the Raspberry Pi which should let you get back to the setup wizard.

Posted : 28/03/2022 3:36 pm
Tojik
(@tojik)
Member Moderator
RE: Setup failed to link - stuck in a broken state

I just tend to recommend the non command line solution first. After all SFTP is pretty cool even if it's limited by the permission system. If someone likes the command line, they'll translate it from sftp to the command line effortlessly

Posted : 28/03/2022 4:28 pm
Arthur
(@arthur)
New Member
Topic starter answered:
RE: Setup failed to link - stuck in a broken state

Thanks all, removing the file did it and it worked well this time around with a simple string entered for the location and printer name

Posted : 28/03/2022 4:49 pm
Tojik and DanielAttia liked
Share: