nextcloud-drawio icon indicating copy to clipboard operation
nextcloud-drawio copied to clipboard

draw.io code is not working for drawing.xml files in shared-by-link-folders

Open Wikinaut opened this issue 5 years ago • 6 comments

The draw app is perfectly working for logged-in users, but is not working when a folder with draw.io.xml files is shared via a link.

Also, the xml icons are not shown.

I suppose that the javascript is not or incorrectly delivered in these cases.

Remark: ONLYOFFICE is working for files in shared-by-link folders.

grafik

Wikinaut avatar Mar 07 '20 08:03 Wikinaut

For me, it is the same problem. Server: Ubuntu 18.04 Webserver: ngnix

ttjaden avatar Jun 09 '20 18:06 ttjaden

Just installed Draw.io on our Nextcloud instance today and can confirm the same issue: incorrect icon and Nextcloud displays the XML contents instead of loading Draw.io when viewing via share link

OS: Ubuntu 20.04 Webserver: Nginx

s3rvant avatar Aug 14 '20 15:08 s3rvant

Same problem for me with Nextcloud 20.04 and apache. Would be great beeing able to view drawings shared by just a link. let me know if I can help testing... or debugging? thanks Chris

joe-speedboat avatar Nov 20 '20 12:11 joe-speedboat

Another project seems to have managed to get a similar issue to work: MindMap: https://github.com/ACTom/files_mindmap

beccon4 avatar Nov 21 '20 16:11 beccon4

Please following steps:

  • Rename all *.xml to *.drawio
  • Go to "Admin settings > Additional settings" ( /index.php/settings/admin/additional ) and click the "Save" button to register MIME types

Ref:

  • https://github.com/pawelrojek/nextcloud-drawio#installation
  • https://github.com/pawelrojek/nextcloud-drawio#mimetype-detection

hoangdh avatar Mar 13 '21 15:03 hoangdh

Still exist in 2022 in Nextcloud 23.0.0 and Draw.IO 1.0.2

Lokutos avatar Jan 17 '22 08:01 Lokutos