Skip to content
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

non-existent service "security.token_storage" #1993

Closed
kszyma opened this issue Nov 12, 2015 · 5 comments
Closed

non-existent service "security.token_storage" #1993

kszyma opened this issue Nov 12, 2015 · 5 comments

Comments

@kszyma
Copy link

kszyma commented Nov 12, 2015

Hi,

today i made a "composer update" on my (minutes before working :) symfony 2.3 application.

But then i get:

[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
The service "fos_user.security.login_manager" has a dependency on a non-existent service "security.token_storage".

Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-upd

[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command.

Also if i try

$ php app/console

i get

[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
The service "fos_user.security.login_manager" has a dependency on a non-existent service "s
ecurity.token_storage".

What happened ? :)

CU,
Kai.

@stof
Copy link
Member

stof commented Nov 12, 2015

which version of FOSUserBundle and Symfony are you using ?

@kszyma
Copy link
Author

kszyma commented Nov 12, 2015

Hi stof,

Symfony 2.3.34
FOSUserbundle 2.0.0-alpha3

CU,
Kai.

PS: A dump of versions for of all installed packages you will find here: https://gist.github.com/kszyma/d8a3a4376fc4d60b68e8

@kszyma
Copy link
Author

kszyma commented Nov 12, 2015

jhere a diff between buggy version and old working verion: https://gist.github.com/kszyma/72de378657be6559f6be

< = buggy Version

= old working Version

@fredpo
Copy link

fredpo commented Nov 12, 2015

This is a problem with Symfony 2.3.34 release, this can be resolved by removing symfony/security-core and security-acl as they are version v2.7.6 and should not have been included with 2.3.*

symfony/symfony#16500

@XWB
Copy link
Member

XWB commented Oct 12, 2016

See above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants