New page for module download https://pirinel.ro/3rdpartyapps (April 26, 2023)


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How To manually remove a module in SSH
#2
hello sir
what is rtorrent module as modulename?

Thank you

Code:
$modulname=rTorrent
/raid/data/module/cfg/module.rc/$rTorrent.rc stop
rm -rf "/raid/data/module/cfg/module.rc/$rTorrent.rc"
rm -rf "/raid/data/module/$rTorrent"
rm -f "/img/htdocs/module/$rTorrent"
/opt/bin/sqlite /raid/data/module/cfg/module.db "delete from module where name = '$rTorrent'"
/opt/bin/sqlite /raid/data/module/cfg/module.db "delete from mod where module = '$rTorrent'"

rm: can't remove '/raid/data/module/Plex/sys': Directory not empty
rm: can't remove '/raid/data/module/Plex': Directory not empty
rm: can't remove '/raid/data/module': Directory not empty
N4800Eco:~# rm -f "/img/htdocs/module/$modulename"
N4800Eco:~# /opt/bin/sqlite /raid/data/module/cfg/module.db "delete from module where name = '$modulename'"
Error: unable to open database "/raid/data/module/cfg/module.db": unable to open database file
N4800Eco:~# /opt/bin/sqlite /raid/data/module/cfg/module.db "delete from mod where module = '$modulename'"
Error: unable to open database "/raid/data/module/cfg/module.db": unable to open database file
N4800Eco:~# $modulname=rTorrent
-sh: =rTorrent: command not found
N4800Eco:~# /raid/data/module/cfg/module.rc/$rTorrent.rc stop
-sh: /raid/data/module/cfg/module.rc/.rc: No such file or directory
N4800Eco:~# rm -rf "/raid/data/module/cfg/module.rc/$rTorrent.rc"
N4800Eco:~# rm -rf "/raid/data/module/$rTorrent"
N4800Eco:~# rm -f "/img/htdocs/module/$rTorrent"
N4800Eco:~# /opt/bin/sqlite /raid/data/module/cfg/module.db "delete from module where name = '$rTorrent'"
Error: unable to open database "/raid/data/module/cfg/module.db": unable to open database file
N4800Eco:~# /opt/bin/sqlite /raid/data/module/cfg/module.db "delete from mod where module = '$rTorrent'"
Error: unable to open database "/raid/data/module/cfg/module.db": unable to open database file
N4800Eco:~#
N4800Eco:~#
and.... all my modules is gone... Sad
Reply


Messages In This Thread
RE: How To manually remove a module in SSH - by zeropoint - 27-11-2018, 04:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)