ShadowScar Posted July 20, 2018 Share Posted July 20, 2018 I've been attempting to install RandomRoll on my nano and it keeps hanging at "installing". I did not see it in my installed modules list and decided to SSH into the device to see if it is showing up in /sd/modules. I do see RandomRoll in /sd/modules. I decide to try to remove the directory and reinstall fresh. Unfortunately, I can't remove the directory because it is saying, "Directory not empty." I tried a bunch of different flags, (-r, -f, -rf with both "rm" and "rmdir") and still can't remove it. I tried sudo but it doesn't look like that command is recognized. Has anyone been able to remove these directories this way? Like I said, it's not showing up in the GUI so I can't remove it from there. Link to comment Share on other sites More sharing options...
b0N3z Posted July 20, 2018 Share Posted July 20, 2018 @Foxtrot is there a way to install/uninstall modules via shell? Link to comment Share on other sites More sharing options...
Just_a_User Posted July 20, 2018 Share Posted July 20, 2018 It should be "rm -rf" as that is used when uninstalling modules from the UI private function removeModule() { if (is_link("/pineapple/modules/{$this->request->moduleName}")) { @unlink("/pineapple/modules/{$this->request->moduleName}"); exec("rm -rf /sd/modules/{$this->request->moduleName}"); } else { exec("rm -rf /pineapple/modules/{$this->request->moduleName}"); } $this->response = array('success' => true); you could always try popping the sd card out and do it on another machine Link to comment Share on other sites More sharing options...
Foxtrot Posted July 21, 2018 Share Posted July 21, 2018 As Just a User pointed out, a simple rm -rf should work fine. Does it do this with the SD inserted into the computer too? Link to comment Share on other sites More sharing options...
ShadowScar Posted July 21, 2018 Author Share Posted July 21, 2018 I tried doing the rm -rf and keep getting the “directory not empty” error that is preventing it from deleting. I haven’t tried it on a computer yet, but I’ll see if that works. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.