medonho wrote:Lantis wrote:That's a known issue medonho.
I can guide you through a manual uninstall if you like, or you can just leave it. It's a very small plugin.
Hi, Lantis. If there is a mode i can remove it manually, please, give me the tutorial...
Im a little bit afraid with the error while trying to update the whole system. Is that normal?
I was guessing if opkg package wasnt corrupted .
It seems to cause no errors on the system that i can find. I think its a problem within GPKG itself.
As always, you should make a backup of your settings before following these instructions. It shouldn't cause a problem, but better safe than sorry.
Using WinSCP, navigate to /plugin_root/usr/lib/opkg/.
Check the status file that is in there, it should resemble the following:
Code: Select all
Package: plugin-gargoyle-webshell
Version: 20130302-1
Depends: libc, gargoyle
Provides:
Status: install user installed
Architecture: all
Installed-Time: 1430295006
Link-Destination: root
Clear this entry in the file and save the changes.
Now navigate into the "info" folder. Open "plugin-gargoyle-webshell.list". This is a list of all files that got installed when we added the webshell plugin. Also open the file "plugin-gargoyle-webshell.postrm". This is a list of commands that are executed when you remove the plugin (and obviously aren't being run because of the segmentation fault preventing us getting that far).
navigate to and delete each file in the "plugin-gargoyle-webshell.list" file.
Code: Select all
/plugin_root/etc/uci-defaults/plugin-gargoyle-webshell
/plugin_root/www/webshell.sh
/plugin_root/www/i18n/universal/menu-system_webshell.txt
/plugin_root/www/js/webshell.js
Now use PuTTY (or your favourite SSH client) to run the commands in the "plugin-gargoyle-webshell.postrm" file sequentially. i.e.
Code: Select all
uci del gargoyle.display.system_webshell
uci del gargoyle.scripts.system_webshell
uci del gargoyle.system.webshell
uci commit
Now delete the files (there should be 5 of them) in /plugin_root/usr/lib/opkg/info that relate to webshell.
You can confirm that it is gone by running an "opkg list-installed", as well as navigating to the gargoyle web interface and checking that it is no longer listed.
Of course you can do all of this from the command line but i find WinSCP significantly faster for handling a large amount of files and moving between directories like this.