Hello, everyone.
after each deployment, one of our neos instances throws an error 500. The logs look like this:
Exception in line 172 of /var/www/clients/client3/web13/web/releases/20170830110251/Packages/Libraries/doctrine/dbal/lib/Doctrine/DBAL/Types/Type.php: Unknown column type “flow_json_array” requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list of all the known types with \Doctrine\DBAL\Types\Type::getTypesMap(). If this error occurs during database introspection then you might have forgot to register all database types for a Doctrine Type. Use AbstractPlatform#registerDoctrineTypeMapping() or have your custom types implement Type#getMappedDatabaseTypes(). If the type name is empty you might have a problem with the cache or forgot some mapping information.
39 Doctrine\DBAL\DBALException::unknownColumnType(“flow_json_array”)
38 Doctrine\DBAL\Types\Type::getType(“flow_json_array”)
37 Doctrine\ORM\Internal\Hydration\AbstractHydrator::hydrateColumnInfo(“dimensionvalues_15”)
36 Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator::hydrateRowData(array|24|, array|0|)
35 Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator::hydrateAllData()
34 Doctrine\ORM\Internal\Hydration\AbstractHydrator::hydrateAll(Doctrine\DBAL\Driver\PDOStatement, Doctrine\ORM\Query\ResultSetMapping, array|2|)
33 Doctrine\ORM\Persisters\Entity\BasicEntityPersister::load(array|1|, Neos\Flow\Persistence\Doctrine\Proxies_CG_\Neos\ContentRepository\Domain\Model\NodeData)
32 Doctrine\ORM\Persisters\Entity\BasicEntityPersister::loadById(array|1|, Neos\Flow\Persistence\Doctrine\Proxies_CG_\Neos\ContentRepository\Domain\Model\NodeData)
31 Doctrine\ORM\Proxy\ProxyFactory::Doctrine\ORM\Proxy{closure}(Neos\Flow\Persistence\Doctrine\Proxies_CG_\Neos\ContentRepository\Domain\Model\NodeData, “isInternal”, array|0|)
30 Closure::invoke(Neos\Flow\Persistence\Doctrine\Proxies_CG\Neos\ContentRepository\Domain\Model\NodeData, “isInternal”, array|0|)
29 Neos\Flow\Persistence\Doctrine\Proxies_CG\Neos\ContentRepository\Domain\Model\NodeData::isInternal()
28 Neos\ContentRepository\Domain\Factory\NodeFactory_Original::createFromNodeData(Neos\Flow\Persistence\Doctrine\Proxies_CG_\Neos\ContentRepository\Domain\Model\NodeData, Neos\Neos\Domain\Service\ContentContext)
27 call_user_func_array(array|2|, array|2|)
26 Neos\Flow\ObjectManagement\DependencyInjection\DependencyProxy::__call(“createFromNodeData”, array|2|)
25 Neos\ContentRepository\Domain\Service\Context_Original::getNode("/sites/customer")
24 Neos\Neos\Domain\Service\ContentContext_Original::getCurrentSiteNode()
23 Neos\Neos\Routing\FrontendNodeRoutePartHandler_Original::convertRequestPathToNode("")
22 Neos\Neos\Routing\FrontendNodeRoutePartHandler_Original::Neos\Neos\Routing{closure}()
21 Closure::__invoke()
20 Neos\Flow\Security\Context_Original::withoutAuthorizationChecks(Closure)
19 Neos\Flow\Security\Context::withoutAuthorizationChecks(Closure)
18 call_user_func_array(array|2|, array|1|)
17 Neos\Flow\Security\Context::Flow_Aop_Proxy_invokeJoinPoint(Neos\Flow\Aop\JoinPoint)
16 Neos\Flow\Aop\Advice\AdviceChain::proceed(Neos\Flow\Aop\JoinPoint)
15 Neos\Flow\Session\Aspect\LazyLoadingAspect_Original::callMethodOnOriginalSessionObject(Neos\Flow\Aop\JoinPoint)
14 Neos\Flow\Aop\Advice\AroundAdvice::invoke(Neos\Flow\Aop\JoinPoint)
13 Neos\Flow\Aop\Advice\AdviceChain::proceed(Neos\Flow\Aop\JoinPoint)
12 Neos\Flow\Security\Context::withoutAuthorizationChecks(Closure)
11 Neos\Neos\Routing\FrontendNodeRoutePartHandler_Original::matchValue(“de”)
10 Neos\Flow\Mvc\Routing\DynamicRoutePart_Original::match(“de”)
9 Neos\Flow\Mvc\Routing\Route_Original::matches(Neos\Flow\Http\Request)
8 Neos\Flow\Mvc\Routing\Router_Original::route(Neos\Flow\Http\Request)
7 call_user_func_array(array|2|, array|1|)
6 Neos\Flow\ObjectManagement\DependencyInjection\DependencyProxy::__call(“route”, array|1|)
5 Neos\Flow\Mvc\Routing\RoutingComponent_Original::handle(Neos\Flow\Http\Component\ComponentContext)
4 Neos\Flow\Http\Component\ComponentChain_Original::handle(Neos\Flow\Http\Component\ComponentContext)
3 Neos\Flow\Http\Component\ComponentChain_Original::handle(Neos\Flow\Http\Component\ComponentContext)
2 Neos\Flow\Http\RequestHandler::handleRequest()
1 Neos\Flow\Core\Bootstrap::run()
After the cache has been emptied with command-here, the website works as expected.
The deployment configuration looks like this:
/** @var $deployment \TYPO3\Surf\Domain\Model\Deployment */
$workflow = new \TYPO3\Surf\Domain\Model\SimpleWorkflow();
$workflow->defineTask(
‘kd:syncWebFolder’,
\TYPO3\Surf\Task\ShellTask::class,
[ ‘command’ => ‘cp {sharedPath}/Web/* {releasePath}/Web’]
);
$workflow->addTask(‘kd:syncWebFolder’, ‘finalize’);
$deployment->setWorkflow($workflow);
$node = new \TYPO3\Surf\Domain\Model\Node(‘Develop’);
$node->setHostname(‘server.domain’);
$node->setOption(‘username’, ‘login’);
$application = new \TYPO3\Surf\Application\Neos\Flow();
$application->setName(‘customer-domain.de’);
$application->setDeploymentPath(’/var/www/customer/web/’);
$application->setContext(‘Production’);
$application->setOption(‘keepReleases’, 0);
$application->setOption(‘packageMethod’, ‘git’);
$application->setOption(‘transferMethod’, ‘rsync’);
$application->setOption(‘updateMethod’, NULL);
$application->setOption(‘composerCommandPath’, ‘composer’);
$application->setOption(‘repositoryUrl’, ‘ssh://git@git-repo.de/repo.git’);
$application->setOption(‘branch’, ‘develop’);
$application->addNode($node);
$deployment->addApplication($application);
I’ve no idea why this is happening. We run many other neos instances on the same server with the same (surf) configuration.
Any idea what that might be?
Thank you very much!