OSGI module cannot be deletedOSGI module cannot be deletedhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1209440062024-03-29T11:31:25Z2024-03-29T11:31:25ZRE: OSGI module cannot be deletedKevin Neibargerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1209534092021-07-15T15:21:29Z2021-07-15T15:21:28Z<p>Thanks, uninstalling from the Gogo shell fixed the issue. I didn't
know the command for uninstalling and I also cleaned the osgi state folder.</p>Kevin Neibarger2021-07-15T15:21:28ZRE: OSGI module cannot be deletedRussell Bohlhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1209471252021-07-15T15:20:32Z2021-07-14T13:52:00Z<p>I'm not sure if this is possible, but there are multiple auto deploy
dirs under the osgi folder. Did you make sure a JAR with the bundle
name isn't somewhere else it can be auto-deployed?</p>
<p>And, it's probably a dumb quesiton, but you're sure that the gogo
shell output showing the bundle as Active is what you see after
deleting the module JAR?</p>
<p>Another potentially dumb question: are you sure one of those other
modules doesn't use the bundle name "wellcare-roster"?</p>
<p>If so, here are some hings to try:</p>
<p>Try to run, from gogo, uninstall 2048. If it works it probably won't
persist on restart though.</p>
<p>You might have to clean the osgi/state folder (delete it).</p>
<p>I'm a bit confused about the framework error you're seeing. I guess
it makes sense, a portlet service tracker is complaining that you're
uninstalling the bundle that provides a component that it defines as
"already in use". Just not sure what it's getting at precisely. </p>
<p>Edited to Add: That first Framework Error (already in use) is thrown
when adding the service (so, when you installed the module). I'm still
not sure what the NPE is all about.</p>
<p>However, look at the bundle ID for the bundle that was
uninstalled--it's 2058, not 2048 which is the active bundle id in the
gogo output you pasted. So yeah, you have another bundle floating
around. If you're sure it's not one of those other JARs, I'd go
through the gogo shell + osgi/state deletion procdeure I mentioned and
see if that wipes out your ghost bundle.</p>Russell Bohl2021-07-14T13:52:00ZOSGI module cannot be deletedKevin Neibargerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1209440052021-08-17T15:53:07Z2021-07-13T16:14:26Z<p>I'm on Liferay 7.3 and trying to delete a module that seems to be
hiding somewhere..</p>
<p>I can see it when I list bundles from the Gogo Shell</p>
<p>
<img alt="" src="/documents/14/0/Screen+Shot+2021-07-13+at+12.07.53+PM.png/7865ae8e-8567-3409-4182-cf4adf368440?t=1626192596357&imagePreview=1" />
<br /> This shows that there is an active module with id 2048 called wellcare-roster. </p>
<p>When I go to my modules directory it doesn't exist</p>
<p>
<img alt="" src="/documents/14/0/Screen+Shot+2021-07-13+at+12.10.46+PM.png/f7a5daa7-f353-944d-94d6-8a72792fe066?t=1626192689309&imagePreview=1" />
<br /> Where is it?? Is there somewhere else I can delete it without
trashing my server??? </p>
<p>I did notice that this certain module would give me the following
error when I tried to delete it (when it showed up in osgi/modules)</p>
<p>
<img alt="" src="/documents/14/0/Screen+Shot+2021-07-13+at+12.13.36+PM.png/c75e5b6a-4640-55b8-c1fe-22a1d3628e8f?t=1626192830178&imagePreview=1" />
<br