lochmueller / focuspoint

🌅 Smartest TYPO3 Crop Tool ever 🌅
http://typo3.org/extensions/repository/view/focuspoint
22 stars 23 forks source link

Cannot run typo3cms install:setup with focuspoint installed by composer #73

Closed bigbozo closed 4 years ago

bigbozo commented 4 years ago

Running vendor/bin/typo3cms install:setup with lochmueller/focuspoint installed, install fails with:

[ Helhum\Typo3Console\Mvc\Cli\FailedSubProcessCommandException ]
Executing command "install:databasedata" failed (exit code: "1")  

Caused by:
[ Doctrine\DBAL\Exception\TableNotFoundException ]        
An exception occurred while executing 'SELECT `uid` FROM `pages` WHERE (`is_siteroot` = ?) AND ((`pages`.`deleted` = 0) AND (`pages`.`hidden` = 0)) ORDER BY `sorting` ASC' with params [1]:  

Table 'typo3.pages' doesn't exist                                                                                                                                                  

As soon as I remove lochmueller/focuspoint install:setup works as expected.

Tried using autoloader 6.2.1 as I did not know, if problem arises there, but focuspoint wants 6.0.6

lochmueller commented 4 years ago

Hmm... looks strange. TableNotFoundException in select on pages :-/ I will check this in the next days/weeks...

lochmueller commented 4 years ago

Hey @bigbozo I try to rebuild this problem and cannot run into this problem. Could you send some more tecnical information. Why the pages is not exists. I think you are in the install process... and perhaps the table really does not exists. But the focuspoint extension do not select any data from this table... Perhaps you should check your install process or avoid install focuspoint in the beginning (I hope you run the command only once and not in the deployment?!). I will close this issue... feel free to reopen it with more information. Thank you. Best Regards, Tim

lochmueller commented 4 years ago

Note: I streamline the composer.json to get the right version from other packages (e.g. autoloader)