Octoprint Deploy reinstallation issues

I successfully installed Octopi on my Raspberry Pi 5 using the deployment method found here:

I have since reformatted the SD card, and attempted to reinstall Octopi via the exact same method, but I'm now getting a whole host of errors including a warning that Octoprint has not been installed correctly.

I have tried deleting all traces of Octoprint from my computer but to no avail. Is there any way that I can completely wipe all traces and perform a fresh install?

This has been driving me crazy and any help would be truly appreciated.

Try
sudo octoprint_deploy/octoprint_deploy.sh remove

That should remove everything the script did

Thank you so much for your response. This is listed in the instructions I posted, but unfortunately doesn't work. I get the following messages:

/Users/ethosstudio/octoprint_deploy/util.sh: line 29: syntax error in conditional expression: unexpected token `('

/Users/ethosstudio/octoprint_deploy/util.sh: line 29: syntax error near `&*()'

/Users/ethosstudio/octoprint_deploy/util.sh: line 29: ` [[ "$1" == ['!'@#$%^&()/\+]* ]] && return 0 || return 1'

octoprint_deploy/octoprint_deploy.sh: line 32: get_settings: command not found

octoprint_deploy/octoprint_deploy.sh: line 36: remove_everything: command not found

I'm no dev, but that sounds really broken. Could be an issue with the filesystem (maybe a failing sd card) or something went wrong when you downloaded the script

Tbh in that case I would just flash a new image and start over

Btw may I ask which os/distro you're using? I have never seen a /Users/ folder before

1 Like