rotdrop / nextcloud-app-dokuwiki

NextCloud "app" which embeds an existing DokuWiki instance into NextCloud. Intended for SSO.
GNU Affero General Public License v3.0
7 stars 5 forks source link

How to make it work with NC29? #12

Open ploenne opened 4 months ago

ploenne commented 4 months ago

We got a nc 29 instance running at all-ink.com packet. Any change to get a update to let the integration run at the current nc version 29?

stepcellwolf commented 2 months ago

+1 here too

stepcellwolf commented 1 month ago

This has been fixed, you can install the app now. However now I have an error that the authentication does now work. Even tho I have installed the authnc plugin and enabled the XML-RPC in dokuwiki.

Tested the XML-RPC with https://<your wiki/domain/ip>/lib/exe/xmlrpc.php and it is enabled.

Log: { "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)" }