VVD

Results 47 comments of VVD

Workaround: `export PUPPETEER_SKIP_DOWNLOAD=yes` before `npm install`.

Other steps (hacks). Edit export.js: ``` browser = await puppeteer.launch({ + platform: 'linux', + executablePath: '/usr/local/bin/chrome', headless: true, ``` In tomcat/webapps/draw/js/PreConfig.js (https://github.com/jgraph/drawio/blob/dev/src/main/webapp/js/PreConfig.js): ``` -window.EXPORT_URL = 'REPLACE_WITH_YOUR_IMAGE_SERVER'; +window.EXPORT_URL = 'http://IP:8000/node/export'; ```...

Run log: ``` $ npm start > [email protected] start > node export.js draw.io export server worker 1 listening on port 8000... draw.io export server worker 2 listening on port 8000......

Tried different urls and different files: http://IP:8000/node/export http://IP:8000/node http://IP:8000/export http://IP:8000/node ``` info: Success xml=2227 embed=1 format=pdf dt=3750 CLIENT_IP - - [28/Jun/2022:08:52:44 +0000] "POST /node/export HTTP/1.1" 200 30262 "-" "Mozilla/5.0 (X11;...

It (export server) doesn't work via http if server with nextcloud and/or drawio are on https! Probably it's a browser fault.

Is it possible to bind on specific IP:PORT without hardcode export.js? Is this the description: ``` Then add export=http://localhost:8000/ (hostname and port as needed) as an URL parameter to use...

Work for me `PORT=my_port HOST=my_host_or_IP node export.js` with my patches: ``` --- export.js.orig +++ export.js @@ -47,7 +47,9 @@ const PNG_CHUNK_IDAT = 1229209940; const { JSDOM } = require("jsdom"); -...

Just installed USVN and found this import script. It work partial only. I wrote shell script to import existing SVN repos: ``` #!/bin/sh REPOS="repo1 repo2 repo3 …" USER=www ADMIN=usvn_admin USVN=/path/to/usvn...

https://github.com/pawelrojek/nextcloud-drawio/issues/177