shiningw / ncdownloader

An easy-to-use web interface for Aria2 and Youtube-dl (downloading bittorrents, videos from twitter, youtube and the likes)运行在nextcloud下的多功能下载工具(Aria2 and youtube-dl)
GNU Affero General Public License v3.0
92 stars 30 forks source link

Internal server Error with SFTP root #67

Closed hiFloh closed 2 years ago

hiFloh commented 2 years ago

Describe the bug

I have a nextcloud instance running where the root/home of a user is included using SFTP and the external storage app of Nextcloud. When this user opens ncDownloader he gets "internal server Error" and in the logs the following error message appears.

[index] Error: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class OCA\Files_External\Lib\Storage\SFTP does not have a method "getLocalFolder"

GET /apps/ncdownloader/
from 192.168.1.10 by user at 2022-06-10T07:00:24+00:00

To Reproduce Steps to reproduce the behavior:

  1. add external storage for a user at /
  2. as this user open ncDownloader
  3. error page appears

Expected behavior ncDownloader should open

Screenshots grafik

Desktop (please complete the following information):

Server

shiningw commented 2 years ago

Hi, Sorry, ncdownloader currently doesn't support downloading to file systems that are not local