Dokuwiki integratino with Nextcloud 29

Can someone help me out how to setup a dokuwiki integration with nextcloud on a same server?

Dokuwiki version: 2024-02-06b “Kaos”
Nextcloud version: 29.0.7

Plugin installed in dokuwiki - authnc. When I tried to access it, I get the error:


Internal Server Error

The server was unable to complete your request.

If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log.
Technical details

    Remote Address: x.x.x.x
    Request ID: PK3M54dFyTQ9flYlv9Hu

Reported issue on github but no support.

Logs

{ "reqId": "*****", "level": 3, "time": "2024-09-28T12:41:44+00:00", "remoteAddr": "***IP_ADDRESS_HIDDEN***", "user": "***USERNAME_HIDDEN***", "app": "index", "method": "GET", "url": "/apps/dokuwiki/page/index", "message": "xmlRequest(wiki.getPage) failed (-1)", "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0", "version": "29.0.7.1", "exception": { "Exception": "Exception", "Message": "xmlRequest(wiki.getPage) failed (-1)", "Code": 0, "Trace": [ { "file": "/var/www/nextcloud/apps/dokuwiki/lib/Service/AuthDokuWiki.php", "line": 255, "function": "handleError", "class": "OCA\\DokuWiki\\Service\\AuthDokuWiki", "type": "->" }, { "file": "/var/www/nextcloud/apps/dokuwiki/lib/Service/AuthDokuWiki.php", "line": 469, "function": "xmlRequest", "class": "OCA\\DokuWiki\\Service\\AuthDokuWiki", "type": "->" }, { "file": "/var/www/nextcloud/apps/dokuwiki/lib/Service/AuthDokuWiki.php", "line": 432, "function": "getPage", "class": "OCA\\DokuWiki\\Service\\AuthDokuWiki", "type": "->" }, { "file": "/var/www/nextcloud/apps/dokuwiki/lib/Controller/PageController.php", "line": 102, "function": "refresh", "class": "OCA\\DokuWiki\\Service\\AuthDokuWiki", "type": "->" }, { "file": "/var/www/nextcloud/apps/dokuwiki/lib/Controller/PageController.php", "line": 76, "function": "frame", "class": "OCA\\DokuWiki\\Controller\\PageController", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php", "line": 232, "function": "index", "class": "OCA\\DokuWiki\\Controller\\PageController", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php", "line": 138, "function": "executeController", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/AppFramework/App.php", "line": 184, "function": "dispatch", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/Route/Router.php", "line": 331, "function": "main", "class": "OC\\AppFramework\\App", "type": "::" }, { "file": "/var/www/nextcloud/lib/base.php", "line": 1058, "function": "match", "class": "OC\\Route\\Router", "type": "->" }, { "file": "/var/www/nextcloud/index.php", "line": 49, "function": "handleRequest", "class": "OC", "type": "::" } ], "File": "/var/www/nextcloud/apps/dokuwiki/lib/Service/AuthDokuWiki.php", "Line": 189, "Previous": { "Exception": "Exception", "Message": "XMLRPC request failed: Empty or invalid page ID given", "Code": 0, "Trace": [ { "file": "/var/www/nextcloud/apps/dokuwiki/lib/Service/AuthDokuWiki.php", "line": 284, "function": "handleError", "class": "OCA\\DokuWiki\\Service\\AuthDokuWiki", "type": "->" }, { "file": "/var/www/nextcloud/apps/dokuwiki/lib/Service/AuthDokuWiki.php", "line": 232, "function": "doXmlRequest", "class": "OCA\\DokuWiki\\Service\\AuthDokuWiki", "type": "->" } ], "File": "/var/www/nextcloud/apps/dokuwiki/lib/Service/AuthDokuWiki.php", "Line": 189 } }, "message": "xmlRequest(wiki.getPage) failed (-1)", "exception": {}, "CustomMessage": "xmlRequest(wiki.getPage) failed (-1)" } 

You reported it two days ago. Maybe slow down a second in assuming someone will instantly respond. You’ve reported exactly as you should.

Seems the rotdrop nc plugin author is maintaining the more active fork of https://github.com/santifa/authnc/ :skull:

I haven’t personally run this plugin, because it is more complex to setup than Nextcloud and Dokuwiki are. I don’t trust it, but hope you do well with it.

Set your expectations accordingly and try to remain kind. :heart: Good luck!!!

I would bet the issue is likely misconfiguration, if this is a new install. Be sure to review everything with a fine tooth comb within the nc plugin, ncauth, and on dokuwiki to re-confirm nothing was missed.

Hi @just, I hope I didn’t come across as pushy—that definitely wasn’t my intention! I’m really eager to help solve this issue together and would love it if someone could guide me on where to start looking into it.
The documentation is not completed, hence I do not know if someone made it set up. Anyhow, I will continue to troubleshoot it and if I find a solution will communicate it here.