splitbrain / dokuwiki-plugin-letsencrypt

Request letsencrypt SSL certificates for your DokuWiki
https://www.dokuwiki.org/plugin:letsencrypt
5 stars 1 forks source link

cli.php fails to detect webserver root even though admin-menu works fine #4

Open micgro42 opened 8 years ago

micgro42 commented 8 years ago

If I run cli.php as root without arguments I get the following error: E: no webserver root directory set or detected

The registration and certficate request via the admin-menu worked fine and the server currently runs https as expected.

None of the configuration options are set and a farm setup with ther farmer plugin is used.

What other information do you need?

splitbrain commented 8 years ago

you need to manually specify the web server root in the config if you want to use the CLI. I think I mentioned that somewhere in the docs.

web root detection is part of the DokuWiki core and seems not to work in CLI currently if you have an idea how to do that, let me know.