Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.



  • Hello,

    I need your help please with a setup warning in Nextcloud.
    I have installed the contacts and calendar app.
    And now I get the following warnings under Administration / Overview:

    There are some warnings regarding your setup.

    • Your web server is not properly set up to resolve "/.well-known/caldav". Further information can be found in the documentation.
    • Your web server is not properly set up to resolve "/.well-known/carddav". Further information can be found in the documentation.

    There is a link to the following documentation:
    https://docs.nextcloud.com/server/18/admin_manual/issues/general_troubleshooting.html#service-discovery

    But suppose, under Cloudron, I don't have any control over that at all, right?

    Thank you very much in advance!

    Greetings

    René

  • Staff

    @dieter This should work out of the box but is a regression in Cloudron 5.1.4. Will get this fixed for the next release. A workaround is this:

    • Make note of the app id of nextcloud in the url bar of cloudron dashboard
    • Edit /etc/nginx/applications/<appid>.conf.
    • Comment out this section (around line 112):
    #    location /.well-known/ {
    #        alias /home/yellowtent/boxdata/well-known/$host/;
    #    }
    
    • sudo systemctl restart nginx
  • Staff

    We are rolling out 4.1.5 that has a fix for this.


  • @girish 4.1.5 ?

  • Staff

    @Hillside502 Whoops 🙂 5.1.5!


  • @girish After the release 5.15 I still get a warning in Nextcloud:

    Dein Web-Server ist nicht richtig eingerichtet um "/.well-known/caldav" aufzulösen. Weitere Informationen findest Du in der Dokumentation.
    Dein Web-Server ist nicht richtig eingerichtet um "/.well-known/carddav" aufzulösen. Weitere Informationen findest Du in der Dokumentation.

    What steps do I need to take to achieve a solution?

    By the way: I am a new user but already excited about the possibilities cloudron offers for us.

  • Staff

    @mandalorian If you go to the Nextcloud app's location view and just click save (make no changes), it will regenerate the nginx config and that should fix the issue. Let me know if that fixes it.

    And welcome on board 🙂


  • Hello again,

    and thank you very much for the quick help!

    It worked for me after saving the App Location.

    Greetings
    René


  • @girish As suggested, I have only saved. The server has restarted and is running again. After a new login into the Nextcloud I get the same error message.

  • Staff

    @mandalorian Strange. Can you do this from your PC/laptop?

    curl https://nextcloud.domain.com/.well-known/caldav
    

  • @girish The update for Cloudron was installed now, then the location in the Nextcloud app was saved again. Now it is error-free. Thanks for your personal support!