Git Product home page Git Product logo

Comments (4)

tiiiecherle avatar tiiiecherle commented on May 27, 2024 1

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.

tchapi avatar tchapi commented on May 27, 2024

What do you have in the log ?

from davis.

tchapi avatar tchapi commented on May 27, 2024

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.

tiiiecherle avatar tiiiecherle commented on May 27, 2024

Thanks.

Yes, I'm using an .env.local.php file and everything seems to work again.

from davis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.