DNS A/AAAA record(s) Problem

Hi there,
I am setting up owncloud on a Raspi
I am following these instructions

https://normally.online/2016/04/29/owncloud-9-0-1-on-raspberry-pi-3-step-by-step/

The creation of the cert fails with this message:

Can you please tell me what to do to make this work?

Thanks from Germany
Miles

Hi @Miles,

What was the exact command you used and its entire output?.

You said that you are using the guide on above link, in that guide the webroot path used is /var/www/owncloud/ but right now your site points to the default index.html for nginx installation on raspbian which usually is located in /var/www/html/. Are you sure you are using the right webroot path?.

You can always test it yourself creating the right dirs and putting there a test file, after that you can try to reach it with curl or with your browser.

Example using /var/www/html/:

mkdir -p /var/www/html/.well-known/acme-challenge/
echo -n "Testing webroot acme challenge" > /var/www/html/.well-known/acme-challenge/test

And now try to reach the file with your browser:

http://owncloud.martinschmitz.de/.well-known/acme-challenge/test

or if you prefer with curl:

curl -ikL http://owncloud.martinschmitz.de/.well-known/acme-challenge/test

You should be able to reach the test file and view its content, if you can’t then you should double check the right web root path for your domain.

Cheers,
sahsanu

2 Likes

Thanks sahsanu,

you were right, the path was wrong! Now (at least this part of the installation…) works!

Thanks again for perfect help and explanation!

Kind regards
Miles

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.