//系統
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
//php版本
PHP 7.3.14-1~deb10u1 (cli) (built: Feb 16 2020 15:07:23) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.14, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.14-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies
//nginx版本
nginx version: nginx/1.14.2
//nextcloud版本 nextcloud 17
//nextcloud目錄位置 /var/www/html/nextcloud
//上傳文件時出現 filename is locked 的解決方法解決方法
//雖然提示刪除出錯,但實際已經刪除,刷新即可,暫時未知原因
//修改上傳的顯示條
$ cd /var/www/html/nextcloud/apps/files/js/
$ sudo cp file-upload.js file-upload.js-original
$ sudo vim file-upload.js //在1167行後添加以下內容 進度條顯示爲 已載入/總大小(速度)
========分割線========
1168 // uploaded of total size and xfr speed replaces time remaining
1169 h = t('files', '{loadedSize} of {totalSize} ({bitrate})' , {
1170 loadedSize: humanFileSize(data.loaded),
1171 totalSize: humanFileSize(data.total),
1172 bitrate: humanFileSize(data.bitrate / 8) + '/s'
1173 });
========分割線========