New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when setting up active extensions #925
Comments
Thanks for your report.
Thanks. |
|
Hm, OK, thanks. is |
Even if our deployment log in Gitlab doesn't show this command is executed, However, if I execute the command, I receive the next error:
|
Well, packaging isn't done on the target server, therefore there is no database:updateschema done on the target server either. You need to add this task to cover such case.
That can't be fixed by TYPO3 Console. The extension The only way you can solve this is to deploy to the target system without this extension once (to prepare the basic DB structure) and then deploy again with this extension. |
This issue in Do you have an up to date version? If so, you may consider reporting that back. |
Created a ticket myself now: Yoast/Yoast-SEO-for-TYPO3#350 |
I have version 6.0.1 installed, which should be covered by the bugfix they applied. |
Hi @helhum :)
Both run safe updates or am I wrong? |
@t3easy TYPO3-Console/Configuration/Commands.php Line 84 in e409b44
whereas |
OK, thanks for clarifying! |
The main differences between these two commands are, that |
@helhum @t3easy After/before which task in TYPO3.Surf would you add that Stages:
|
Just before extension:setupactive |
I just checked again. I cannot do much about this, because the extension setup process needs a backend user for import of data functionality via DataHandler. What I did now, though is extend the |
This command is a wrapper to execute: database:updateschema cache:flush extension:setupactive Initially this was meant to be used in Composer scripts to not interfere Composer install on build systems, but at the same time perform necessary steps in dev systems. It was, until now, not suitable for deployment scenarios though, because during a deployment it is important that the command fails when something goes wrong to avoid a broken state after a deployment. The added option makes it now suitable for deployments, too. Fixes: TYPO3-Console#925
I got a composer-based v10.4 instance, where I use
typo3-console/composer-auto-commands
(0.4.2) composer package.In a TYPO3.Surf deployment, I receive this error:
TYPO3 Console command executed
Environment
Is this caused by
typo3-console/composer-auto-commands
package orhelhum/typo3-console
?The text was updated successfully, but these errors were encountered: