Comments (4)
The content of ...davis/var/log/ is
[2020-11-02T16:51:58.496142+01:00] request.INFO: Matched route "home". {"route":"home","route_parameters":{"_route":"home","_controller":"App\\Controller\\DAVController::home"},"request_uri":"https://MYURL/","method":"GET"} []
[2020-11-02T16:51:58.520284+01:00] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"main","authenticators":1} []
[2020-11-02T16:51:58.520291+01:00] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"main","authenticator":"App\\Security\\LoginFormAuthenticator"} []
[2020-11-02T16:51:58.520295+01:00] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"main","authenticator":"App\\Security\\LoginFormAuthenticator"} []
[2020-11-02T16:51:58.596862+01:00] request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "The controller for URI "/" is not callable: Environment variable not found: "IMAP_AUTH_URL"." at /data/webserver/dav/davis/vendor/symfony/http-kernel/Controller/ControllerResolver.php line 88 {"exception":"[object] (InvalidArgumentException(code: 0): The controller for URI \"/\" is not callable: Environment variable not found: \"IMAP_AUTH_URL\". at /data/webserver/dav/davis/vendor/symfony/http-kernel/Controller/ControllerResolver.php:88)\n[previous exception] [object] (Symfony\\Component\\DependencyInjection\\Exception\\EnvNotFoundException(code: 0): Environment variable not found: \"IMAP_AUTH_URL\". at /data/webserver/dav/davis/vendor/symfony/dependency-injection/EnvVarProcessor.php:171)"} []
It seems like adding 'IMAP_AUTH_URL' => ''
to the .env file solves the issue.
For anyone upgrading I think the readme should be updated or the app should not fail if IMAP_AUTH_URL is missing in the env file if it is not used. I use
AUTH_REALM=SabreDAV
AUTH_METHOD=Digest
Unfortunately we have an internet connection issue tonight and I will get back to this tomorrow and let you know if everything works again after adding the parameter empty.
Thanks
from davis.
What do you have in the log ?
from davis.
Yes that was the culprit.
If your filename is .env
, yes, you must declare the IMAP_AUTH_URL
value else it will fail (because it won't find it). But you should rather use a .env.local
file that overrides just the values you need instead, as stated in the README.
from davis.
Thanks.
Yes, I'm using an .env.local.php
file and everything seems to work again.
from davis.
Related Issues (20)
- Username could not be found HOT 10
- Recreate a deletet user: Internal server error HOT 3
- Upgrade with MySQL backend : "Data too long for column 'carddata'" HOT 5
- Authorization in admin ui HOT 5
- Timezone set HOT 6
- WebProfilerBundle not found HOT 2
- I can't share my calendar with the URL HOT 2
- 500 error when creating new user HOT 2
- Cannot upgrade to version v4.4.1, parameter "timezone" must be defined HOT 4
- Can not remove object : Error 500 HOT 10
- IMAP login issue HOT 2
- [question] is there any option to support categories or colors in the calendar objects? HOT 1
- "Mail sent by" hostname HOT 5
- Per-user webdav directories HOT 14
- Docker compose not working (new install) HOT 29
- Mariadb 11.3(.2?) incompatibility HOT 3
- Deprecation error HOT 1
- Questions HOT 2
- Unable to login using a Docker image HOT 10
- Attempted to load class "WebProfilerBundle" from namespace "Symfony\Bundle\WebProfilerBundle". when run in docker HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from davis.