the shop remember an old path f.e:
mymoduleid => modules/myvendorname/oldmoduleFolder
now you want to activate the module in a other folder:
mymoduleid => modules/myvendorname/mymoduleid
The shop “remembers” that the module id “mymoduleid” has to be located in “modules/myvendorname/oldmoduleFolder”
To fix this, you have to delete the path variables or use this script:
(replace “d3modcfg_lib” occurrences with “mymoduleid”)