#Can’t uninstall OpenCentauri
1 messages · Page 1 of 1 (latest)
@ocean shoal it's a bug in 0.3.0, you can safely skip that step in the uninstaller
On your usb, edit config.toml in notepad, remove all the lines with uninstall opencentauri
Out of curiousity, why are you uninstalling?
Only because the retailer requested that I revert to stock new firmware before I return it. I will be continuing with it on my other CC 🙂
Ah
Ok hm
Then you may not want to skip the uninstaller
As it leaves residual files if you do
There’s a way to SSH in and delete those first right?
Then run the patcher for stock with uninstall disabled
Technically you could do the same steps as the script yea
I have traced the issue back to uninstall.sh, and to be more specific umount /opt failing to unmount /opt leading to the script halting. I have achieved success with this solution at https://github...
Can you edit the uninstall script with fen's version?
Ha yeah I hadn’t quite got round to checking the GitHub, I’ll give it a go now
Can I edit the script via the file on the USB?
Or is it calling files moved to the printer
i currently cant ssh to it, i get connection refused on the port
oh no never mind, i forgot i took away its static ip
@bronze rover ok that worked, using above github link, however now it wont install the stock firmware, just X's on that?
I havent replaced the key to the original elegoo one actually, could be why?
no the uninstaller does that for you
it cant have, i have it open in vi and its the OC one still
well ok
it invokes the updater with a different cert
located at /user-resource/update_tmp
after getting the X on the uninstaller, can you ssh or nc in and run the following commands:
curr=$(fw_printenv boot_partition | awk -F= '{ print $2 }' | tr -d '[:space:]')
echo $curr
swupdate -i /user-resource/update_tmp/update.swu -e stable,now_A_next_B -k /user-resource/update_tmp/swupdate_public_elegoo.pem
(that only works if you've not rebooted but are just sitting on the x screen)
ah ok
want me to reboot the printer, try it again using the USB file and report back?
(now ive changed the key back myself)
you could i suppose, a reboot won't really matter here
neither does /etc/swupdate_public.pem
ok ill go try it again now, unless you have another suggestion
(as that's only used by the official updater)
oh sure
like, when you're sitting on the X, ssh/nc in and run this
i suspect the official updater will also break here btw
as in, the failed install page, after the now successful uninstall?
failed to install update
i guess you could run the uninstall script yourself then try using the official installer (you do need to replace /etc/swupdate_public.pem with the official one then)
(or did i make the uninstaller do that don't remember)
so where im at now is, trying it again via the USB stick, then SSHing when it fails the re-install and running above via SSH?
yes the uninstaller does replace /etc/swupdate_public.pem
yes
this
roger that, will try that now
you may not be able to ssh in
you may need to use nc ip.of.your.printer 4567
oh cool
run rm /board-resource/printer.cfg
then sync
then reboot
huh
that's very strange then
ok done, ill go watch it
why did the script fail
see what happens
as those commands are copy pasted from the step where your thing failed
😭
ok it worked, it reports being on 1.1.40 or whatever the official version is called
the opencentauri folder is still there, but thats fine
sure
i'll dm you how to get into the official firmware
I wonder if the download link comes from my server 
It does not
Have you ever questioned why we have a 0.0.0 release on oc

Is there a solution to this problem? I have to take my printer back to get a replacement tomorrow....
