500 Internal Server Error while accessing setup

Good evening,

I recently tried to install NEOS which breaks at the following point. The checks are finished successful. Is this a known problem or do you know how to solve this problem?

Dears,

Saskia

Uncaught Exception in Flow
#1186669086: The action "indexAction" in controller "TYPO3\Setup\Controller\SetupController" is not public!
TYPO3\Flow\Mvc\Exception\InvalidActionVisibilityException thrown in file
/homepages/10/d616968305/htdocs/travel/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Controller_ActionController.php in line 189.
Reference code: 20160322234503816709

12 TYPO3\Flow\Mvc\Controller\ActionController_Original::resolveActionMethodName()

/homepages/10/d616968305/htdocs/travel/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Controller_ActionController.php:
00146:         $this->initializeController($request, $response);
00147: 
00148:         $this->actionMethodName = $this->resolveActionMethodName();
00149: 
00150:         $this->initializeActionMethodArguments();

11 TYPO3\Flow\Mvc\Controller\ActionController_Original::processRequest(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)

/homepages/10/d616968305/htdocs/travel/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Dispatcher.php:
00152:             try {
00153:                 $this->emitBeforeControllerInvocation($request, $response, $controller);
00154:                 $controller->processRequest($request, $response);
00155:                 $this->emitAfterControllerInvocation($request, $response, $controller);
00156:             } catch (StopActionException $exception) {

10 TYPO3\Flow\Mvc\Dispatcher_Original::initiateDispatchLoop(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)

/homepages/10/d616968305/htdocs/travel/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Dispatcher.php:
00105:             /** @var ActionRequest $request */
00106:             $firewall->blockIllegalRequests($request);
00107:             $this->initiateDispatchLoop($request, $response);
00108:         } catch (AuthenticationRequiredException $exception) {
00109:             $entryPointFound = false;

9 TYPO3\Flow\Mvc\Dispatcher_Original::dispatch(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)

8 call_user_func_array(array|2|, array|2|)

Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Object/DependencyInjection/DependencyProxy.php:
00097:     public function __call($methodName, array $arguments)
00098:     {
00099:         return call_user_func_array(array($this->_activateDependency(), $methodName), $arguments);
00100:     }
00101: }

7 TYPO3\Flow\Object\DependencyInjection\DependencyProxy::__call("dispatch", array|2|)

/homepages/10/d616968305/htdocs/travel/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_DispatchComponent.php:
00103: 
00104:         $componentContext->setParameter(\TYPO3\Flow\Mvc\DispatchComponent::class, 'actionRequest', $actionRequest);
00105:         $this->dispatcher->dispatch($actionRequest, $componentContext->getHttpResponse());
00106:     }
00107: 

6 TYPO3\Flow\Object\DependencyInjection\DependencyProxy::dispatch(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)

/homepages/10/d616968305/htdocs/travel/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_DispatchComponent.php:
00103: 
00104:         $componentContext->setParameter(\TYPO3\Flow\Mvc\DispatchComponent::class, 'actionRequest', $actionRequest);
00105:         $this->dispatcher->dispatch($actionRequest, $componentContext->getHttpResponse());
00106:     }
00107: 

5 TYPO3\Flow\Mvc\DispatchComponent_Original::handle(TYPO3\Flow\Http\Component\ComponentContext)

/homepages/10/d616968305/htdocs/travel/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Http_Component_ComponentChain.php:
00053:                 continue;
00054:             }
00055:             $component->handle($componentContext);
00056:             if ($componentContext->getParameter(\TYPO3\Flow\Http\Component\ComponentChain::class, 'cancel') === true) {
00057:                 $componentContext->setParameter(\TYPO3\Flow\Http\Component\ComponentChain::class, 'cancel', null);

4 TYPO3\Flow\Http\Component\ComponentChain_Original::handle(TYPO3\Flow\Http\Component\ComponentContext)

/homepages/10/d616968305/htdocs/travel/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Http_Component_ComponentChain.php:
00053:                 continue;
00054:             }
00055:             $component->handle($componentContext);
00056:             if ($componentContext->getParameter(\TYPO3\Flow\Http\Component\ComponentChain::class, 'cancel') === true) {
00057:                 $componentContext->setParameter(\TYPO3\Flow\Http\Component\ComponentChain::class, 'cancel', null);

3 TYPO3\Flow\Http\Component\ComponentChain_Original::handle(TYPO3\Flow\Http\Component\ComponentContext)

Packages/Application/TYPO3.Setup/Classes/TYPO3/Setup/Core/RequestHandler.php:
00069: 
00070:   $componentContext = new ComponentContext($this->request, $this->response);
00071:   $this->baseComponentChain->handle($componentContext);
00072: 
00073:   $this->response->send();

2 TYPO3\Setup\Core\RequestHandler::handleRequest()

Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Bootstrap.php:
00113: 
00114:         $this->activeRequestHandler = $this->resolveRequestHandler();
00115:         $this->activeRequestHandler->handleRequest();
00116:     }
00117: 

1 TYPO3\Flow\Core\Bootstrap::run()

/homepages/10/d616968305/htdocs/travel/Web/index.php:
00025: $context = \TYPO3\Flow\Core\Bootstrap::getEnvironmentConfigurationSetting('FLOW_CONTEXT') ?: 'Development';
00026: $bootstrap = new \TYPO3\Flow\Core\Bootstrap($context);
00027: $bootstrap->run();

Hi Saskia,

the exception claims that the SetupController::indexAction() would not be public (but protected or private). This is not the case in the GIT repository.
Maybe someone changed that class in your installation, can you check? The file should be located at /Packages/Application/TYPO3.Setup/Classes/TYPO3/Setup/Controller/SetupController.php.

Best,
Bastian

Hi Bastian,

thanks for your reply.
Unfortunately it seems that the indexAction() is already public. (see Screenshot)

Greetings,
Saskia

Mh, that’s weird… Probably an invalid Reflection Cache has been built…
Can you try to flush the cache:
./flow flow:cache:flush --force
…rebuild it:
./flow flow:cache:warmup
and run the setup again?

Hi,

that worked perfectly. Thanks a lot. Don’t know why my hosting environment seemed to change the class but now it works.

Thank you,

Saskia