-
Notifications
You must be signed in to change notification settings - Fork 10
Description
I did a fresh install of Ubuntu 20.04.1 with a LEMP-stack and installed Nextcloud 20.0.5 the classic way (so far everything works fine).
I cloned the pdfdraw-repo including subs into the nextcloud-apps-folder, installed all requirements for the backend-server, configurated it (in files&admin) and started the backend-server.
#: sudo /usr/bin/nodejs server.js
WARNING: Invalid certificates are allowed!
Using pdftk to run as pdftk
Using svg2pdf to run as svg2pdf
listening on *:8080
If i open a PDF to Annotate, the PDF is loaded and displayed correctly (the annotation-tools are visible), but there's also a message overlay: Establishing connection, please wait... , that won't vanish...
In the same time server.js prints:
a user connected { token:
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvbmV4dGNsb3VkLnZhbGVuY2lhLmNoIiwic3ViIjoibmNhZG1pbiIsImV4cCI6MTYxMTI0Mjc4MCwiZmlsZSI6IjciLCJmaWxlbmFtZSI6IlJlYXNvbnMgdG8gdXNlIE5leHRjbG91ZC5wZGYiLCJkaXNwbGF5bmFtZSI6Im5jYWRtaW4iLCJwZXJtaXNzaW9ucyI6Mjd9.nKRuIl600WAwfC-7zIswKwSKBRpGIqmdFxUK-D_fH94',
EIO: '3',
transport: 'websocket' }
Token { iss: 'https://nextcloud.ourdomain.tld',
sub: 'admin',
exp: 1611242780,
file: '7',
filename: 'Nextcloud.pdf',
displayname: 'admin',
permissions: 27 }
created room 7
user joined room 7 { displayname: 'admin',
permissions: 27,
userid: 'G0x14uIwnNSRwMmeAAAG' }
Received items []
I can't do annotations, but drawing works but isn't saved. I can't find any error-messages on client- or server-side.
On closing the document, server.js prints:
user left room 7 { displayname: 'admin',
permissions: 27,
userid: 'G0x14uIwnNSRwMmeAAAG' }
deleting empty room 7
a user disconnected
The only non 200 or 30x HTTP codes i noticed was a '101 Switching Protocols' from socket.io, which should be ok.
I tried for days, but couldn't find the problem... (i tried first on an active install of NC20 on a Ubuntu18, but had dependencies problems, so i started with a fresh maschine, the one i described here)
Any help is much appreciated!