e-alfred / ocdownloader

ocDownloader - AGPL-licensed multi-protocol download manager for Nextcloud using ARIA2, youtube-dl and Curl (supports Youtube, BitTorrent, HTTP, FTP)
https://github.com/e-alfred/ocdownloader
GNU Affero General Public License v3.0
375 stars 85 forks source link

Settings missing #210

Open moodoki opened 3 years ago

moodoki commented 3 years ago
### Steps to reproduce 1. Install ocDownloader from Apps page 2. Go to Additional Settings 3. ### Expected behaviour ocDownloader settings should appear. ### Actual behaviour Several config settings missing. See screenshot ![image](https://user-images.githubusercontent.com/1227224/121802749-9dc0e500-cc70-11eb-960e-61f24441762d.png) ### Server configuration **Operating system**: Raspbian 10 **Web server:** Nginx 1.14.1 **Database:** mariaDB 15.1 **PHP version:** 7.4 **Nextcloud version:** (see Nextcloud admin page) 20.0.1 **Updated from an older Nextcloud/ownCloud or fresh install:** NA **Where did you install Nextcloud from:** tarball **Signing status:**
Signing status ``` No errors have been found. ```
**List of activated apps:**
App list ``` nabled: - accessibility: 1.6.0 - activity: 2.13.4 - breezedark: 20.0.11 - bruteforcesettings: 2.1.0 - calendar: 2.2.2 - cloud_federation_api: 1.3.0 - comments: 1.10.0 - contactsinteraction: 1.1.0 - dashboard: 7.0.0 - dav: 1.16.2 - federatedfilesharing: 1.10.2 - federation: 1.10.1 - files: 1.15.0 - files_external: 1.11.1 - files_markdown: 2.3.3 - files_pdfviewer: 2.0.1 - files_rightclick: 0.17.0 - files_sharing: 1.12.2 - files_texteditor: 2.14.0 - files_trashbin: 1.10.1 - files_versions: 1.13.0 - files_videoplayer: 1.9.0 - firstrunwizard: 2.9.0 - integration_github: 1.0.0 - logreader: 2.5.0 - lookup_server_connector: 1.8.0 - nextcloud_announcements: 1.9.0 - notes: 4.0.4 - notifications: 2.8.0 - oauth2: 1.8.0 - ocdownloader: 1.7.11 - password_policy: 1.10.1 - photos: 1.2.3 - privacy: 1.4.0 - provisioning_api: 1.10.0 - recommendations: 0.8.0 - serverinfo: 1.10.0 - settings: 1.2.0 - sharebymail: 1.10.0 - support: 1.3.0 - survey_client: 1.8.0 - systemtags: 1.10.0 - tasks: 0.13.6 - text: 3.1.0 - theming: 1.11.0 - twofactor_backupcodes: 1.9.0 - twofactor_totp: 5.0.0 - twofactor_u2f: 6.1.0 - updatenotification: 1.10.0 - user_status: 1.0.1 - viewer: 1.4.0 - weather_status: 1.0.0 - workflowengine: 2.2.0 Disabled: - admin_audit - encryption - user_ldap ```
**Nextcloud configuration:**
Config report ``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "tako.moodoki.space" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "20.0.10.1", "overwrite.cli.url": "https:\/\/tako.moodoki.space\/nextcloud", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "maintenance": false, "memcache.local": "\\OC\\Memcache\\APCu", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "ssl", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "loglevel": 2 } } ```
**Are you using external storage, if yes which one (currently not supported by ocDownloader):** No **Are you using encryption (currently not supported by ocDownloader):** no **Are you using an external user-backend, if yes which one:** No #### ocDownloader configuration: **Which downloader are you using:** Aria2 **Do you use a proxy:** No **Which protocols do you allow**: FTP/HTTP/Bittorrent/Youtube #### Aria2c configuration (remove if not used): **Which command line/configuration options are you using:** `/usr/bin/aria2c --enable-rpc --rpc-allow-origin-all -c -D --log=/var/log/aria2c/aria2c.log --check-certificate=false --save-session=/var/local/aria2c/aria2c.sess --save-session-interval=2 --continue=true --input-file=/var/local/aria2c/aria2c.sess --rpc-save-upload-metadata=true --force-save=true --log-level=warn --rpc-secret=` ##### Aria2c error log
Aria2c log file (set the log level to debug by using --log-level=debug) ``` None ```
### Client configuration **Browser:** Chrome **Operating system:** Linix ### Logs #### Web server error log
Web server error log ```No errors```
#### Nextcloud log (data/nextcloud.log)
Nextcloud log ``` {"reqId":"Vgy3OVz9tZi0uAMKzTpf","level":3,"time":"2021-06-13T09:51:38+00:00","remoteAddr":"138.75.168.82","user":"moodoki","app":"PHP","method":"POST","url":"/nextcloud/apps/ocdownloader/queue/get","message":{"Exception":"Error","Message":"Undefined property: OCA\\ocDownloader\\Controller\\Queue::$ at /var/www/html/nextcloud/apps/ocdownloader/controller/queue.php#203","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/ocdownloader/controller/queue.php","line":203,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"get","class":"OCA\\ocDownloader\\Controller\\Queue","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":309,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36","version":"20.0.10.1"} {"reqId":"Qsy5GSQeEqThjOixRheo","level":3,"time":"2021-06-13T09:51:38+00:00","remoteAddr":"138.75.168.82","user":"moodoki","app":"PHP","method":"POST","url":"/nextcloud/apps/ocdownloader/queue/get","message":{"Exception":"Error","Message":"Undefined property: OCA\\ocDownloader\\Controller\\Queue::$ at /var/www/html/nextcloud/apps/ocdownloader/controller/queue.php#203","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/ocdownloader/controller/queue.php","line":203,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"get","class":"OCA\\ocDownloader\\Controller\\Queue","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":309,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36","version":"20.0.10.1"} {"reqId":"Vgy3OVz9tZi0uAMKzTpf","level":3,"time":"2021-06-13T09:51:42+00:00","remoteAddr":"138.75.168.82","user":"moodoki","app":"PHP","method":"POST","url":"/nextcloud/apps/ocdownloader/queue/get","message":{"Exception":"Error","Message":"Trying to access array offset on value of type bool at /var/www/html/nextcloud/apps/ocdownloader/controller/queue.php#298","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/ocdownloader/controller/queue.php","line":298,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"get","class":"OCA\\ocDownloader\\Controller\\Queue","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":309,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36","version":"20.0.10.1"} {"reqId":"Qsy5GSQeEqThjOixRheo","level":3,"time":"2021-06-13T09:51:43+00:00","remoteAddr":"138.75.168.82","user":"moodoki","app":"PHP","method":"POST","url":"/nextcloud/apps/ocdownloader/queue/get","message":{"Exception":"Error","Message":"Trying to access array offset on value of type bool at /var/www/html/nextcloud/apps/ocdownloader/controller/queue.php#298","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/ocdownloader/controller/queue.php","line":298,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"get","class":"OCA\\ocDownloader\\Controller\\Queue","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":309,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36","version":"20.0.10.1"} ```
#### Browser log
globals.js:60 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. ie @ globals.js:60 get @ globals.js:91 (anonymous) @ admin.js?v=48e1c154-0:247 globals.js:60 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. ie @ globals.js:60 get @ globals.js:91 (anonymous) @ admin.js?v=48e1c154-0:251 globals.js:60 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. ie @ globals.js:60 get @ globals.js:91 (anonymous) @ log.js?v=48e1c154-0:79 globals.js:60 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```
e-alfred commented 3 years ago

Did you activate Aria2 in the config options? The options you are missing only relate to Torrents which are only supported by Aria2.

moodoki commented 3 years ago

Yes, aria2 is enabled and I'm using it for bit torrent downloads.