Ok silly error from my side:
My nginx configuration was wrong. Should be:
location ^~ /.well-known/acme-challenge/ {
allow all;
root /var/www/openmediavault;
try_files $uri =404;
}
Thus without acme-challenge directory, otherwise LE did not have permission to create this folder.
Now it workt to generate certificate.
thanks.