otetard / ownpad

Ownpad is a Nextcloud application that allows to create and open Etherpad and Ethercalc documents.
GNU Affero General Public License v3.0
57 stars 24 forks source link

Cant connect ownpad to etherpadlite api #144

Closed paulkitt closed 1 month ago

paulkitt commented 1 month ago

Ownpad is not able to querry the api of my local running etherpad-lite.

I am running etherpad-lite via docker-compose behind nginx. I placed the api key at "/opt/etherpad-lite/APIKEY.txt"

I configured the domain and api in the Nextcloud config section but when probing the api only following error shows up in the logs:

{"reqId":"NvvGLwBoHsmkFjef1okB","level":3,"time":"May 19, 2024 23:24:23","remoteAddr":"89.247.164.236","user":"...","app":"PHP","method":"GET","url":"/apps/ownpad/ajax/v1.0/testetherpadtoken","message":"fopen(/1.2.11/checkToken?apikey=): Failed to open stream: No such file or directory at /var/www/html/apps/ownpad/lib/Service/OwnpadService.php#268","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36","version":"29.0.0.19","data":{"app":"PHP"}}