-
-
Notifications
You must be signed in to change notification settings - Fork 486
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
Prod mode not working #730
Comments
I had the same issue. |
I deleted everything and rebuilt it in unraid. Once it was running in prod, I ran the command you provided and it said it was successful, but in the browser I get all this:
Nothing seems to have changed as far as the errors go from before and after running the command. If I start from prod, it wont install uvdesk in the install location, and it wont add anything to the database. |
Was this file .env.local.php generated? This error Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "security.context_listener.0" has a dependency on a non-existent service "Webkul\UVDesk\ApiBundle\Providers\ApiCredentials" Go to <root_directory>/config/packages/security.yaml; The default config should be: providers:
|
You should install it in dev mode then switch to dev mode after completing installation. |
Bug report
Hello,
I though I already wrote about this issue before but can't find it anymore.
I started installing everything using Dev mode, everything seems fine.
When I change it to Prod mode, the docker starts, but I get this in the browser.
Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "security.context_listener.0" has a dependency on a non-existent service "Webkul\UVDesk\ApiBundle\Providers\ApiCredentials". in /var/www/html/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:86 Stack trace: #0 /var/www/html/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php(82): Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue(Object(Symfony\Component\DependencyInjection\Reference), false) #1 /var/www/html/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php(49): Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue(Array, false) #2 /var/www/html/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php(87): Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue(Ar in /var/www/html/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php on line 86
I'm using the latest docker from unraid apps.
When in Dev I have no issues getting into the backend dashboard with my account that I created during install.
But when I'm ready to switch to Prod, I get the error above in my browser.
Not sure why I can't get this into production mode.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: