Hello there,
Is there a way to simply uninstall myDevices and webiopi (raspbian jessie) ?
Hello there,
Is there a way to simply uninstall myDevices and webiopi (raspbian jessie) ?
Not yet
And a complicated one ? Or must I do a fresh reinstall of my system ?
If you want to completely get rid of Cayenne, yes, you will have to do a fresh image on your SD card. If you want to disable it, you can set the webiopi and mydevices service to not start on boot. If you just want to reinstall you can just generate a new install package and run the .sh and it will overwrite all your old settings. The only catch with this is that it doesnāt delete any of the devices you have added.
@CrazyCat We are working on getting an uninstaller releasedā¦we didnāt consider adding a easy uninstaller for getting Cayenne off the Pi until it was brought up in the community, unfortunately.
I was thinking the uninstall could have two options,
How does that sounds to you guys, any other methods of uninstall? @ats1080s @Ian @picaxe
@bestes, seems good, but with a small reserve: will the option āuninstall and do a new installā create a new identifier or redo the the previous installation ?
I think keeping the identifier is better, allowing users to redo an identical installation without loosing all his parameters. i.e.: if my SD card crash, I can easily retrieve my dashboard without having to reconfigure everything.
Typing this, I realize something: you need a third option: redo the previous install of Cayenne if it is not already installed. Do you think itās possible ?
where are the services set to start on boot so i can disable them? i just tried my device and it is not that what i hope for so i want to get rid of it
thanks for your support
Hi, sorry to hear. What were you hoping for?
You can use this to fully remove myDevices. If you want to add if again, youāll need to do another install
systemctl disable myDevices
rm -rf /etc/systemd/system/myDevices.service
rm -rf /etc/init.d/myDevices
rm -rf /usr/bin/myDevices
rm -rf /etc/myDevices/
@CrazyCat @ats1080s @christophertaeufert Hi guys, weāve implemented an uninstall for removing Cayenne from your Pi.To uninstall, click the red āRemove Deviceā button in the āConfigureā section. Please let us know of any issues. Weāll be releasing a small update to the process in about a week too.
What i did on my PI
$sudo /etc/myDevices/uninstall/uninstall.sh
The program was completely deleted at that moment. No problems at all.
Thanks for sharing! Keep us updated if you experience any problems with using that method of installation
-B
I had installed a small custom python server, and after āRemove Deviceā from the dashboard Iām still getting prompted for a password when trying to access my server over http, by āWebiOPiā.
Any tips there?
I may have missed it, but I would suggest a brief visual explanation of what packages users are getting with the initial āwgetā, as there will be a lot of users like myself who have done strange things to their Piās prior to install.
I do see the promise of what youāre working on, and congrats on everything so far, Iāll be checking back in.
Removed my device using the Remove button, and still getting lots of requests from updates.mydevices.com.
Is there something else I need to do?
Thanks!
@ericgonz I noticed this question wasnāt answered, my apologies for the delay. If you didnāt see it since then, you can uninstall the Pi agent by running
sudo /etc/myDevices/uninstall/uninstall.sh
at a terminal prompt. If youāre still seeing requests from our servers after that, or run into any trouble running the uninstall, by all means let me know.
Iām bumping this since it gets asked a lot and we donāt have the most up to date information in this thread. To uninstall Cayenne, you just need to run two commands:
sudo /etc/myDevices/uninstall/./uninstall.sh
then
sudo /etc/webiopi/uninstall/./uninstall.sh
If you have trouble with these please start a new thread and weāll do our best to assist.
Hi, I tried the last method running the 2 uninstall scripts and I no longer see the python process hogging the cpu, but earlier I tried the āremove deviceā from the app and it didnāt uninstall the agent from my rpi 3 B.
Hi @bonacini.simone,
Youāre correct, the mobile apps right now donāt uninstall the Cayenne Agent or webiopi. The Web Dashboard uninstalls the Cayenne agent OK, but not webiopi. Iāve logged each of these for future improvement.
Until that time, the best way to be sure you get all of the Cayenne bits uninstalled is to run
sudo /etc/myDevices/uninstall/./uninstall.sh
then
sudo /etc/webiopi/uninstall/./uninstall.sh
then remove the Pi from your dashboard on one of the 3 platforms.
Is there a new best way or are those two commands still the best way to uninstall cayenne? You also said something about creating an option so that you can delete cayenne and then reinstall it freshly. Has there been any improvement on that?
Those two commands are still the best way with the current Pi agent.
As soon as we get the new one out the door, you wonāt even have to mess with command line uninstall anymore. The new agent uninstalls itself when you take the āRemove Deviceā action from the Cayenne Dashboard.