eZ Community » Forums » Install & configuration » Authentication exception occurred

Authentication exception occurred

Authentication exception occurred

Wednesday 21 May 2014 12:07:20 pm - 1 reply


I'm trying to update an old 4.1.4 Version of ezpublish to Version 2013.9 (have to use this Version at the Moment). I followed all the Guidelines for Installation/Upgrading, but I always get the error described her:

[2014-05-21 12:00:50] app.NOTICE: Siteaccess not matched against configuration, returning default siteaccess. [] []
[2014-05-21 12:00:50] app.INFO: Router eZ\Bundle\EzPublishCoreBundle\Routing\DefaultRouter was not able to match, message "" [] []
[2014-05-21 12:00:50] app.INFO: Router eZ\Bundle\EzPublishCoreBundle\Routing\UrlAliasRouter was not able to match, message "Config says to bypass UrlAliasRouter" [] []
[2014-05-21 12:00:50] request.INFO: Matched route "ez_legacy" (parameters: "_route": "ez_legacy", "_controller": "ezpublish_legacy.controller:indexAction"blunk.gif Emoticon [] []
[2014-05-21 12:00:50] app.DEBUG: Checking secure context token:  [] []
[2014-05-21 12:00:50] app.DEBUG: Trying to pre-authenticate user "-1" [] []
[2014-05-21 12:00:50] security.INFO: Authentication exception occurred; redirecting to authentication entry point (A Token was not found in the SecurityContext.) [] []
[2014-05-21 12:00:50] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException: "A Token was not found in the SecurityContext." at /var/www/lidl-ezpublish.mrmf.de/dealer_toolbox/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AccessListener.php line 53 {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\AuthenticationCredentialsNotFoundException: A Token was not found in the SecurityContext. at /var/www/lidl-ezpublish.mrmf.de/dealer_toolbox/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AccessListener.php:53)"} []
[2014-05-21 12:00:50] request.CRITICAL: Exception thrown when handling an exception (eZ\Publish\Core\Base\Exceptions\NotFoundException: Could not find 'Content' with identifier 'array (
  'id' => 10,
  'languages' => NULL,
  'versionNo' => NULL,
)') {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\AuthenticationCredentialsNotFoundException: A Token was not found in the SecurityContext. at /var/www/lidl-ezpublish.mrmf.de/dealer_toolbox/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AccessListener.php:53)"} []


I really don't know, how to proceed. Any suggestions how to fix that?


Thanks in advance


Friday 23 May 2014 9:43:28 pm

Your siteaccess configuration seems not to be valid, have you run:

php ezpublish/console ezpublish:configure --env=prod <group> <admin-siteaccess>

without any errors? Can you post your ezpublish.yml?

Modified on Friday 23 May 2014 9:46:02 pm by Artur Wawrzynkiewicz


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from