Reply New Topic
2022/9/22 13:54:47
#1
Offline
Webmaster

testing 2.0 - installation removes everything in the modules folder

I tried this one several times on a server that I also use for production websites, and the modules installation step at the moment simply removes everything that is in the /modules/ folder. The result is that I get an error message telling me a file is missing, which I initially attributed to a partial upload. But when I went looking in the folder, not only was the file missing, the entire system module was gone!

This is the error message I get : 

Fatal error: Uncaught ReflectionException: Class ImpressCMS\Modules\System\Extensions\WaitingInfoGetter\InactiveUsersWaitingInfoGetter does not exist in /home/xxx/domains/xxx/core/Extensions/ComposerDefinitions/ServicesComposerDefinition.php:116 Stack trace: #0 /home/xxx/domains/xxx/core/Extensions/ComposerDefinitions/ServicesComposerDefinition.php(116): ReflectionClass->__construct('ImpressCMS\\Modu...') #1 /home/xxx/domains/xxx/core/Extensions/ComposerDefinitions/ServicesComposerDefinition.php(81): ImpressCMS\Core\Extensions\ComposerDefinitions\ServicesComposerDefinition->implementsContainerAwareInterface('\\ImpressCMS\\Mod...') #2 /home/xxx/domains/xxx/libraries/icms.php(306): ImpressCMS\Core\Extensions\ComposerDefinitions\ServicesComposerDefinition->updateCache(Array) #3 /home/xxx/domains/xxx/libraries/icms.php(325): icms->loadComposerDefinition(Object(ImpressCMS\Core\Extensions\ComposerDefinitions\ServicesComposerDefinition)) #4 /home/xxx/domains/xxx/c in /home/xxx/domains/xxx/core/Extensions/ComposerDefinitions/ServicesComposerDefinition.php on line 116


_________________

Me on Ohloh


2022/9/23 7:27:28
#2
Offline
Just can not stay away

Re: testing 2.0 - installation removes everything in the modules folder

I think it's not because system there was deleted (right now I don't see how that is possible) but probably was copied/moved not into correct folder. That means somehow our composer-addons-plugin fails.  

I don't know how to replicate :|



2022/9/24 11:31:17
#3
Offline
Webmaster

Re: testing 2.0 - installation removes everything in the modules folder

When the files weren't there anymore, I assumed they were deleted, but your point is very good : they might have been moved somewhere I'll go and have a look on the server where they might have gone. Thanks for the tip!


_________________

Me on Ohloh


2022/9/27 14:12:28
#4
Offline
Webmaster

Re: testing 2.0 - installation removes everything in the modules folder

As a matter of fact, the module folder content is moved to the root folder, on the same level as 'core'. There must be a mapping somewhere about the top level folder and the way to get to it. This will not be easy to verify, because it's remote and not on my local machine


_________________

Me on Ohloh


Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.