Sorry, I’m out of ideas.
@davidep do you have an idea how to clean half installed/removed apps.
Recap:
Sorry, I’m out of ideas.
@davidep do you have an idea how to clean half installed/removed apps.
Recap:
Nobody else?
How are you, bro? Tries:
api-cli run remove-module --data ‘{“module_id”:“goauthentik1”, “force”:true, “no_preserve”:true}’
Have you checked if there are references, for example:
/var/lib/nethserver/cluster/*
/var/lib/nethserver/catalog/*
The error you saw (TaskSubmissionCheckFailed) indicates that the module registration is stuck in the task and agent management system, which relies on Redis. Manual removal involves deleting the Redis-related keys and metadata files.
Manipulating Redis directly can corrupt the NethServer 8 cluster state if not done correctly. Make a backup or make sure you understand the risk.
I found that a good old fashioned complete reboot of the server/node cleared and killed the NS8, no longer wanted but persistent, tasks in Node memory.
Server rebooted and error persists.
Maybe this thread has usefull information?
I have tried it before. Not usefull for my case.
Ping @davidep
There might still be some Redis values containing a module_id reference that need to be manually cleaned up. The module_id is used as a value inside complex structures like HASH and SET, so it’s not always an obvious part of the key. For example, see the HASH cluster/module_node.
You can refer to the Python code for the complete list: ns8-core/core/imageroot/var/lib/nethserver/cluster/actions/remove-module/50update at main · NethServer/ns8-core · GitHub