I was planning to download some ancient Chinese textbooks (old stuff for 100+ years old, copyright-free for sure) from a private tracker. So far all good, except those torrent files are huge (3.5MB+) since there are a lot of books in that torrent (500GB+). I've found that when I uploaded the torrent file then create the task, the ocDownloader will show me "Returned GID is null ! Is Aria2c running as a daemon ?" but actually it will start to download that torrent later after a few minutes. Besides, the download task is not visible in the ocDownloader.
Steps to reproduce
Pick a torrent file that larger than 3MB, and the download content is more than 500GB
Upload it to ocDownloader
Create the download task
Expected behaviour
Create the task successfully and download the books.
Actual behaviour
Aria2 is running and downloading the task normally
ocDownloader shows an error of "Returned GID is null ! Is Aria2c running as a daemon ?"
The task is invisible on the ocDownloader GUI
Other smaller tasks with a smaller size of book files and smaller torrents work just fine as expected.
Server configuration
Operating system: Ubuntu 18.04.1
Web server: Apache 2.4.34 (In the snap package)
Database: MySQL 5.7.22 (In the snap package)
PHP version: 7.1.22 (In the snap package)
Nextcloud version: 13.0.6 (In the snap package)
Updated from an older Nextcloud/ownCloud or fresh install: No
Where did you install Nextcloud from: Ubuntu snap package
Signing status:
Signing status
```
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
```
No errors have been found.
List of activated apps:
App list
```
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
```
Config report
```
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here.
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
```
Are you using external storage, if yes which one (currently not supported by ocDownloader): Yes, I enabled the "Removeable media"function for Nextcloud snap package, i.e. mount a storage partition to /media and let the data store in that partition.
Are you using encryption (currently not supported by ocDownloader): No
Are you using an external user-backend, if yes which one: No
I tried enable the log function before but there is nothing suspicous.
Client configuration
Browser: Chrome 69 Stable
Operating system: Windows 10 1809/Ubuntu 18.04.1
Logs
Web server error log
Web server error log
```
[Fri Oct 05 07:29:36.415414 2018] [mpm_event:notice] [pid 8762:tid 139704891189120] AH00489: Apache/2.4.34 (Unix) configured -- resuming normal operations
[Fri Oct 05 07:29:36.416027 2018] [core:notice] [pid 8762:tid 139704891189120] AH00094: Command line: 'httpd -d /snap/nextcloud/8971 -D FOREGROUND'
[Fri Oct 05 07:29:36.421762 2018] [unixd:alert] [pid 8765:tid 139704891189120] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Oct 05 07:29:36.422053 2018] [unixd:alert] [pid 8766:tid 139704891189120] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Oct 05 07:29:36.422053 2018] [unixd:alert] [pid 8764:tid 139704891189120] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Oct 05 07:33:02.893130 2018] [mpm_event:notice] [pid 8762:tid 139704891189120] AH00491: caught SIGTERM, shutting down
[Fri Oct 05 07:33:08.054976 2018] [ssl:warn] [pid 9823:tid 139623598724992] AH01909: ***SENSITIVE_CONTENT***:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 05 07:33:08.087723 2018] [ssl:warn] [pid 9823:tid 139623598724992] AH01909: ***SENSITIVE_CONTENT***:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 05 07:33:08.090962 2018] [mpm_event:notice] [pid 9823:tid 139623598724992] AH00489: Apache/2.4.34 (Unix) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Oct 05 07:33:08.091107 2018] [core:notice] [pid 9823:tid 139623598724992] AH00094: Command line: 'httpd -d /snap/nextcloud/8971 -D EnableHTTPS -D EnableHSTS -D FOREGROUND'
[Fri Oct 05 07:33:08.093675 2018] [unixd:alert] [pid 9824:tid 139623598724992] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Oct 05 07:33:08.094044 2018] [unixd:alert] [pid 9826:tid 139623598724992] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Oct 05 07:33:08.094377 2018] [unixd:alert] [pid 9825:tid 139623598724992] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Oct 05 07:33:31.122428 2018] [unixd:alert] [pid 9995:tid 139623598724992] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Oct 05 07:35:57.576345 2018] [mpm_event:notice] [pid 9823:tid 139623598724992] AH00491: caught SIGTERM, shutting down
[Fri Oct 05 07:38:06.592639 2018] [ssl:warn] [pid 11436:tid 140126051395456] AH01909: ***SENSITIVE_CONTENT***:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 05 07:38:06.620727 2018] [ssl:warn] [pid 11436:tid 140126051395456] AH01909: ***SENSITIVE_CONTENT***:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 05 07:38:06.624187 2018] [mpm_event:notice] [pid 11436:tid 140126051395456] AH00489: Apache/2.4.34 (Unix) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Oct 05 07:38:06.624324 2018] [core:notice] [pid 11436:tid 140126051395456] AH00094: Command line: 'httpd -d /snap/nextcloud/8971 -D EnableHTTPS -D EnableHSTS -D FOREGROUND'
[Fri Oct 05 07:38:06.626744 2018] [unixd:alert] [pid 11437:tid 140126051395456] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Oct 05 07:38:06.626886 2018] [unixd:alert] [pid 11439:tid 140126051395456] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Oct 05 07:38:06.627478 2018] [unixd:alert] [pid 11438:tid 140126051395456] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Oct 05 07:38:38.662982 2018] [unixd:alert] [pid 11554:tid 140126051395456] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Tue Oct 09 07:41:34.296180 2018] [unixd:alert] [pid 13664:tid 140126051395456] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
```
Nextcloud log (data/nextcloud.log)
Nextcloud log
Too long to upload, but there is something suspecious for you:
```
{"reqId":"2O3l0v6zntjHYmyDg7fi","level":3,"time":"2018-10-07T12:31:28+00:00","remoteAddr":"SENSITIVE_CONTENT","user":"SENSITIVE_CONTENT","app":"PHP","method":"POST","url":"\/index.php\/apps\/ocdownloader\/btdownloader\/add","message":"Division by zero at \/var\/snap\/nextcloud\/8971\/nextcloud\/extra-apps\/ocdownloader\/controller\/btdownloader.php#186","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/69.0.3497.100 Safari\/537.36","version":"13.0.6.1"}
{"reqId":"Tykxr6uvShuR2rZliGcL","level":3,"time":"2018-10-07T12:31:59+00:00","remoteAddr":"SENSITIVE_CONTENT","user":"SENSITIVE_CONTENT","app":"PHP","method":"POST","url":"\/index.php\/apps\/ocdownloader\/btdownloader\/add","message":"Division by zero at \/var\/snap\/nextcloud\/8971\/nextcloud\/extra-apps\/ocdownloader\/controller\/btdownloader.php#186","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/69.0.3497.100 Safari\/537.36","version":"13.0.6.1"}
{"reqId":"UYkEdUwbXbBfoETAYKDe","level":3,"time":"2018-10-07T12:32:22+00:00","remoteAddr":"SENSITIVE_CONTENT","user":"SENSITIVE_CONTENT","app":"PHP","method":"POST","url":"\/index.php\/apps\/ocdownloader\/btdownloader\/add","message":"Division by zero at \/var\/snap\/nextcloud\/8971\/nextcloud\/extra-apps\/ocdownloader\/controller\/btdownloader.php#186","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/69.0.3497.100 Safari\/537.36","version":"13.0.6.1"}
```
I was planning to download some ancient Chinese textbooks (old stuff for 100+ years old, copyright-free for sure) from a private tracker. So far all good, except those torrent files are huge (3.5MB+) since there are a lot of books in that torrent (500GB+). I've found that when I uploaded the torrent file then create the task, the ocDownloader will show me "Returned GID is null ! Is Aria2c running as a daemon ?" but actually it will start to download that torrent later after a few minutes. Besides, the download task is not visible in the ocDownloader.
Steps to reproduce
Expected behaviour
Create the task successfully and download the books.
Actual behaviour
Server configuration
Operating system: Ubuntu 18.04.1
Web server: Apache 2.4.34 (In the snap package)
Database: MySQL 5.7.22 (In the snap package)
PHP version: 7.1.22 (In the snap package)
Nextcloud version: 13.0.6 (In the snap package)
Updated from an older Nextcloud/ownCloud or fresh install: No
Where did you install Nextcloud from: Ubuntu snap package
Signing status:
Signing status
``` Login as admin user into your Nextcloud and access http://example.com/index.php/settings/integrity/failed paste the results here. ```List of activated apps:
App list
``` If you have access to your command line run e.g.: sudo -u www-data php occ app:list from within your Nextcloud installation folder ```Nextcloud configuration:
Config report
``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder or Insert your config.php content here. Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …) ```Are you using external storage, if yes which one (currently not supported by ocDownloader): Yes, I enabled the "Removeable media"function for Nextcloud snap package, i.e. mount a storage partition to
/media
and let the data store in that partition.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: Bittorrent
Aria2c configuration (remove if not used):
Aria2c error log
I tried enable the log function before but there is nothing suspicous.
Client configuration
Browser: Chrome 69 Stable
Operating system: Windows 10 1809/Ubuntu 18.04.1
Logs
Web server error log
Web server error log
``` [Fri Oct 05 07:29:36.415414 2018] [mpm_event:notice] [pid 8762:tid 139704891189120] AH00489: Apache/2.4.34 (Unix) configured -- resuming normal operations [Fri Oct 05 07:29:36.416027 2018] [core:notice] [pid 8762:tid 139704891189120] AH00094: Command line: 'httpd -d /snap/nextcloud/8971 -D FOREGROUND' [Fri Oct 05 07:29:36.421762 2018] [unixd:alert] [pid 8765:tid 139704891189120] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Fri Oct 05 07:29:36.422053 2018] [unixd:alert] [pid 8766:tid 139704891189120] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Fri Oct 05 07:29:36.422053 2018] [unixd:alert] [pid 8764:tid 139704891189120] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Fri Oct 05 07:33:02.893130 2018] [mpm_event:notice] [pid 8762:tid 139704891189120] AH00491: caught SIGTERM, shutting down [Fri Oct 05 07:33:08.054976 2018] [ssl:warn] [pid 9823:tid 139623598724992] AH01909: ***SENSITIVE_CONTENT***:443:0 server certificate does NOT include an ID which matches the server name [Fri Oct 05 07:33:08.087723 2018] [ssl:warn] [pid 9823:tid 139623598724992] AH01909: ***SENSITIVE_CONTENT***:443:0 server certificate does NOT include an ID which matches the server name [Fri Oct 05 07:33:08.090962 2018] [mpm_event:notice] [pid 9823:tid 139623598724992] AH00489: Apache/2.4.34 (Unix) OpenSSL/1.0.2g configured -- resuming normal operations [Fri Oct 05 07:33:08.091107 2018] [core:notice] [pid 9823:tid 139623598724992] AH00094: Command line: 'httpd -d /snap/nextcloud/8971 -D EnableHTTPS -D EnableHSTS -D FOREGROUND' [Fri Oct 05 07:33:08.093675 2018] [unixd:alert] [pid 9824:tid 139623598724992] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Fri Oct 05 07:33:08.094044 2018] [unixd:alert] [pid 9826:tid 139623598724992] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Fri Oct 05 07:33:08.094377 2018] [unixd:alert] [pid 9825:tid 139623598724992] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Fri Oct 05 07:33:31.122428 2018] [unixd:alert] [pid 9995:tid 139623598724992] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Fri Oct 05 07:35:57.576345 2018] [mpm_event:notice] [pid 9823:tid 139623598724992] AH00491: caught SIGTERM, shutting down [Fri Oct 05 07:38:06.592639 2018] [ssl:warn] [pid 11436:tid 140126051395456] AH01909: ***SENSITIVE_CONTENT***:443:0 server certificate does NOT include an ID which matches the server name [Fri Oct 05 07:38:06.620727 2018] [ssl:warn] [pid 11436:tid 140126051395456] AH01909: ***SENSITIVE_CONTENT***:443:0 server certificate does NOT include an ID which matches the server name [Fri Oct 05 07:38:06.624187 2018] [mpm_event:notice] [pid 11436:tid 140126051395456] AH00489: Apache/2.4.34 (Unix) OpenSSL/1.0.2g configured -- resuming normal operations [Fri Oct 05 07:38:06.624324 2018] [core:notice] [pid 11436:tid 140126051395456] AH00094: Command line: 'httpd -d /snap/nextcloud/8971 -D EnableHTTPS -D EnableHSTS -D FOREGROUND' [Fri Oct 05 07:38:06.626744 2018] [unixd:alert] [pid 11437:tid 140126051395456] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Fri Oct 05 07:38:06.626886 2018] [unixd:alert] [pid 11439:tid 140126051395456] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Fri Oct 05 07:38:06.627478 2018] [unixd:alert] [pid 11438:tid 140126051395456] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Fri Oct 05 07:38:38.662982 2018] [unixd:alert] [pid 11554:tid 140126051395456] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Tue Oct 09 07:41:34.296180 2018] [unixd:alert] [pid 13664:tid 140126051395456] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive ```Nextcloud log (data/nextcloud.log)
Nextcloud log
Too long to upload, but there is something suspecious for you: ``` {"reqId":"2O3l0v6zntjHYmyDg7fi","level":3,"time":"2018-10-07T12:31:28+00:00","remoteAddr":"SENSITIVE_CONTENT","user":"SENSITIVE_CONTENT","app":"PHP","method":"POST","url":"\/index.php\/apps\/ocdownloader\/btdownloader\/add","message":"Division by zero at \/var\/snap\/nextcloud\/8971\/nextcloud\/extra-apps\/ocdownloader\/controller\/btdownloader.php#186","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/69.0.3497.100 Safari\/537.36","version":"13.0.6.1"} {"reqId":"Tykxr6uvShuR2rZliGcL","level":3,"time":"2018-10-07T12:31:59+00:00","remoteAddr":"SENSITIVE_CONTENT","user":"SENSITIVE_CONTENT","app":"PHP","method":"POST","url":"\/index.php\/apps\/ocdownloader\/btdownloader\/add","message":"Division by zero at \/var\/snap\/nextcloud\/8971\/nextcloud\/extra-apps\/ocdownloader\/controller\/btdownloader.php#186","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/69.0.3497.100 Safari\/537.36","version":"13.0.6.1"} {"reqId":"UYkEdUwbXbBfoETAYKDe","level":3,"time":"2018-10-07T12:32:22+00:00","remoteAddr":"SENSITIVE_CONTENT","user":"SENSITIVE_CONTENT","app":"PHP","method":"POST","url":"\/index.php\/apps\/ocdownloader\/btdownloader\/add","message":"Division by zero at \/var\/snap\/nextcloud\/8971\/nextcloud\/extra-apps\/ocdownloader\/controller\/btdownloader.php#186","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/69.0.3497.100 Safari\/537.36","version":"13.0.6.1"} ```Browser log
Browser log
``` No log available ```