nextcloud/richdocuments

Suggested richdocumentscode install command doesn't work in all situations

開放

#1,179 建立於 2020年10月7日

 (5 則留言) (1 個反應) (0 位負責人)JavaScript (145 個分叉)auto 404
1. to developenhancementgood first issueintegration: built-in code server

倉庫指標

星標
 (452 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Describe the bug richdocumentscode can in many cases not be installed via the web interface due to timeouts. As a result, richdocuments (rightly) suggests installing using occ if it doesn't work. See here:

https://github.com/nextcloud/richdocuments/blob/94dab7f3eac3a376645b0234cd3d22c21dd30031/src/components/AdminSettings.vue#L91

However, that command assumes that one has installed Nextcloud manually instead of using e.g. the snap, where the comand doesn't work. It should be trivial to check the $SNAP and $SNAP_NAME environment variables and print the proper command in that situation (sudo nextcloud.occ app:install richdocumentscode specifically), but I'm afraid I don't quite have the vue chops to pull it off.

貢獻者指南