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
88 stars 30 forks source link

Error message when I press "Start Aria2". Do I need to install Aria myself? #106

Open brotherelric opened 1 year ago

brotherelric commented 1 year ago

Describe the bug When I press "Start Aria2" in my Nextcloud Hub 3 (25.0.2), this message appears.

The command "'/var/www/nextcloud/apps/ncdownloader/lib/Aria2/../../bin/aria2c' '--continue' '--daemon=true' '--enable-rpc=true' '--rpc-secret=ncdownloader123' '--listen-port=51413' '--rpc-listen-port=6800' '--follow-torrent=true' '--enable-dht=true' '--enable-peer-exchange=true' '--peer-id-prefix=-TR2770-' '--user-agent=Transmission/2.77' '--log-level=notice' '--seed-ratio=1.0' '--bt-seed-unverified=true' '--max-connection-per-server=4' '--max-concurrent-downloads=10' '--check-certificate=false' '--on-download-complete=/var/www/apps/ncdownloader/hooks/completeHook.sh' '--on-download-start=/var/www/apps/ncdownloader/hooks/startHook.sh' '--save-session=/mnt/dietpi_userdata/nextcloud_data/aria2/aria2.session' '--input-file=/mnt/dietpi_userdata/nextcloud_data/aria2/aria2.session' '--log=/mnt/dietpi_userdata/nextcloud_data/aria2/aria2.log'" failed.

Exit Code: 126(Invoked command cannot execute)

To Reproduce Click on NCDownloader, press "Start Aria2".

Desktop (please complete the following information): Firefox 108.0.2 (64-bit)

Ra72xx commented 1 year ago

In my case this seems to be because the included binary file seems to be of the wrong format (maybe x86-64 and not arm64, which I would need for my Raspberry). If this is the case, there should be a warning in the docs that the included binaries are ony for a certain architecture?!