Open tonyblue2 opened 4 years ago
I found the solution by myself in the log file /var/log/apache2/error.log: There the error message "/ usr / bin / youtube-dl: not found" was included. According to the instructions above, youtube-dl is installed in / usr / local / bin / youtube-dl. I solved it by creating a link "ln -s / usr / local / bin / youtube-dl / usr / bin / youtube-dl".
It is unclear to me why youtube-dl is no longer found in the / usr / local directory. I have already observed this with other programs. I run Nextcloud as LXC under Proxmox. I suspect something has changed in one of the last updates, which means that / usr / local is no longer read.
I still have this same issue with NC and ocDownloader with youtube-dl installed with snap on an CentOS 8. If I start /snap/bin/youtube-dl https://path.to.the.video in the linux shell, all works fine. Any idea?
Can confirm. Latest release of ocdownloader does not interface properly with youtube-dl. I can download YouTube fine with youtube-dl in terminal. ocdownloader, with ocdownloader’s latest, can’t is the problem.
old version youtube-dl cannot found the right url i think , try to upgrade youtube-dl . if the error exists, maybe because the youtube-dl you upgrade is not the target that ocdownloader use, i have three python with different version which also have three copy of youtube-dl . Simple way is to upgrade all youtube-dl version in any python environment on your devices. try pip install --upgrade youtube-dl ; pip2 install --upgrade......; pip3 install --upgrade...... ;
Hello, I have got the same issue with the following configuration (the real youtube-video-url could not be found):
Centos 8 Server with snap (updated with yum update) nextcloud snap package (updated to the newest available) youtube-dl snap package (updated to the newest available) (snap refresh)
Could someone please help me to configure the path to work for youtube-dl inside the nextcloud plugin ocdownloader with this configuration? Thanks in advance :)
regards, NerdSnapper
If it is resolved, it need to be informed how to do it..? Any solutions?
I tried to start the youtube-dl by hand from /var/lib/snapd/snap/youtube-dl/2846/bin
It gaves me the following error: ERROR: unable to open for writing: [Errno 30] Read-only file system: 'Alizée - Moi... Lolita (Live 2020)-NhbyuiHPg4.f137.mp4.part'
I am still not knowing, what to change for using youtube-dl with my configuration.
Does someone know a solution to use ocdownloader with youtube-dl in NC? There is no change in the issue since Sept 2020, maybe there was posted a solution anywhere else? I did not find any...
On my system, everything is the newest snap (nc, youtube-dl and snap itself)
Steps to reproduce
Expected behaviour
The download of the youtube file should be start
Actual behaviour
error-message "the real youtube-video-url could not be found" - "Die echte YouTube-Video-URL konnte nicht empfangen werden"
Server configuration detail
Operating system: Linux 5.4.41-1-pve #1 SMP PVE 5.4.41-1 (Fri, 15 May 2020 15:06:08 +0200) x86_64
Webserver: Apache/2.4.29 (Ubuntu) (apache2handler)
Database: mysql 10.1.44
PHP version:
7.2.24-0ubuntu0.18.04.6 Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, apc, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, exif, msgpack, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, memcached, Zend OPcache
Nextcloud version: 18.0.6 - 18.0.6.0
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: unknown
Signing status
Array ( )List of activated apps
``` Enabled: - accessibility: 1.4.0 - activity: 2.11.0 - admin_audit: 1.8.0 - calendar: 2.0.3 - cloud_federation_api: 1.1.0 - comments: 1.8.0 - contacts: 3.3.0 - dav: 1.14.0 - deck: 1.0.3 - documentserver_community: 0.1.7 - federatedfilesharing: 1.8.0 - federation: 1.8.0 - files: 1.13.1 - files_external: 1.9.0 - files_markdown: 2.3.0 - files_pdfviewer: 1.7.0 - files_rightclick: 0.15.2 - files_sharing: 1.10.1 - files_trashbin: 1.8.0 - files_versions: 1.11.0 - files_videoplayer: 1.7.0 - firstrunwizard: 2.7.0 - groupfolders: 6.0.6 - issuetemplate: 0.6.0 - logreader: 2.3.0 - lookup_server_connector: 1.6.0 - mail: 1.4.0 - maps: 0.1.6 - nextcloud_announcements: 1.7.0 - notes: 3.5.1 - notifications: 2.6.0 - oauth2: 1.6.0 - ocdownloader: 1.7.8 - onlyoffice: 4.2.0 - password_policy: 1.8.0 - photos: 1.0.0 - privacy: 1.2.0 - provisioning_api: 1.8.0 - recommendations: 0.6.0 - serverinfo: 1.8.0 - settings: 1.0.0 - sharebymail: 1.8.0 - spreed: 8.0.9 - support: 1.1.1 - survey_client: 1.6.0 - systemtags: 1.8.0 - tasks: 0.13.1 - text: 2.0.0 - theming: 1.9.0 - twofactor_backupcodes: 1.7.0 - updatenotification: 1.8.0 - viewer: 1.2.0 - workflowengine: 2.0.0 Disabled: - encryption - user_ldap ```Configuration (config/config.php)
``` { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "18.0.6.0", "installed": true, "maintenance": false, "theme": "", "trusted_domains": [ "localhost", "192.168.13.201", "firstcloud.dynvpn.de", "192.168.13.200" ], "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "log_type": "file", "loglevel": 2, "logtimezone": "Europe\/Berlin", "logfile": "\/var\/www\/nextcloud\/data\/nextcloud.log", "syslog_tag": "Nextcloud", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "secret": "***REMOVED SENSITIVE VALUE***", "trashbin_retention_obligation": 30, "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "updatechecker": false, "overwrite.cli.url": "http:\/\/firstcloud.dyndns.de", "debug": false, "enabledPreviewProviders": { "0": "OC\\Preview\\PNG", "1": "OC\\Preview\\JPEG", "2": "OC\\Preview\\GIF", "11": "OC\\Preview\\Illustrator", "12": "OC\\Preview\\Postscript", "13": "OC\\Preview\\Photoshop", "14": "OC\\Preview\\TIFF" }, "memcache.local": "\\OC\\Memcache\\APCu", "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "default_language": "de", "mysql.utf8mb4": true, "updater.release.channel": "stable", "instanceid": "***REMOVED SENSITIVE VALUE***", "app_install_overwrite": [ "calendar", "documents" ] } ```Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption:
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0
Operating system: Win10
Logs
Web server error log
``` sh: 1: /usr/bin/youtube-dl: not found ```Nextcloud log
``` Insert your Nextcloud log here ```Browser log
Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ...