Large file not syncing in Nextcloud / cannot set max file size for syncing



  • I have a large file (1,4 GB, "MailstoreFileGroup.fdb") that does not sync in Nextcloud (current cloudron version, some apps activated like ransomware detection).

    The Nextcloud client just throws a rather plain error:

    "File not synced because of previous errors. The server replied: internal server error"

    The Cloudron log file for the relevant time frame does not display error (I think):

    Oct 28 16:01:41 172.18.0.1 - - [28/Oct/2018:16:01:40 +0000] "GET /index.php/login HTTP/1.1" 200 3312 "-" "Mozilla"
    Oct 28 16:01:47 172.18.0.1 - kdj [28/Oct/2018:16:01:45 +0000] "GET /ocs/v1.php/cloud/activity?page=0&pagesize=100&format=json HTTP/1.1" 200 4796 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
    Oct 28 16:01:48 172.18.0.1 - kdj [28/Oct/2018:16:01:45 +0000] "GET /ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1" 200 663 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
    Oct 28 16:01:49 127.0.0.1 - - [28/Oct/2018:16:01:49 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) mod_perl/2.0.10 Perl/v5.26.1 (internal dummy connection)"
    Oct 28 16:01:51 172.18.0.1 - - [28/Oct/2018:16:01:50 +0000] "GET /index.php/login HTTP/1.1" 200 3310 "-" "Mozilla"
    Oct 28 16:02:01 172.18.0.1 - - [28/Oct/2018:16:02:00 +0000] "GET /index.php/login HTTP/1.1" 200 3321 "-" "Mozilla"
    Oct 28 16:02:11 172.18.0.1 - - [28/Oct/2018:16:02:10 +0000] "GET /index.php/login HTTP/1.1" 200 3320 "-" "Mozilla"
    Oct 28 16:02:15 172.18.0.1 - kdj [28/Oct/2018:16:02:13 +0000] "PROPFIND /remote.php/dav/files/kdj/ HTTP/1.1" 207 26141 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
    Oct 28 16:02:21 172.18.0.1 - - [28/Oct/2018:16:02:20 +0000] "GET /index.php/login HTTP/1.1" 200 3315 "-" "Mozilla"
    Oct 28 16:02:26 172.18.0.1 - kdj [28/Oct/2018:16:02:25 +0000] "PROPFIND /remote.php/dav/files/kdj/ HTTP/1.1" 207 1062 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
    Oct 28 16:02:27 172.18.0.1 - kdj [28/Oct/2018:16:02:24 +0000] "PUT /remote.php/dav/files/my/2018691.docx HTTP/1.1" 204 637 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
    Oct 28 16:02:29 172.18.0.1 - - [28/Oct/2018:16:02:27 +0000] "PROPFIND /remote.php/webdav/Apps/ HTTP/1.1" 401 972 "-" "Mozilla/5.0"
    Oct 28 16:02:29 172.18.0.1 - kdj [28/Oct/2018:16:02:29 +0000] "PROPFIND /remote.php/webdav/Apps/ HTTP/1.1" 207 4392 "-" "Mozilla/5.0"
    Oct 28 16:02:29 172.18.0.1 - kdj [28/Oct/2018:16:02:29 +0000] "PROPFIND /remote.php/webdav/Apps/Enpass/ HTTP/1.1" 207 1418 "-" "Mozilla/5.0"
    Oct 28 16:02:30 127.0.0.1 - - [28/Oct/2018:16:02:30 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) mod_perl/2.0.10 Perl/v5.26.1 (internal dummy connection)"
    Oct 28 16:02:31 172.18.0.1 - - [28/Oct/2018:16:02:30 +0000] "GET /index.php/login HTTP/1.1" 200 3313 "-" "Mozilla"
    Oct 28 16:02:41 172.18.0.1 - - [28/Oct/2018:16:02:40 +0000] "GET /index.php/login HTTP/1.1" 200 3314 "-" "Mozilla"
    Oct 28 16:02:47 172.18.0.1 - kdj [28/Oct/2018:16:02:47 +0000] "GET /ocs/v1.php/cloud/activity?page=0&pagesize=100&format=json HTTP/1.1" 200 4772 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
    Oct 28 16:02:47 172.18.0.1 - kdj [28/Oct/2018:16:02:47 +0000] "GET /ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1" 200 663 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
    Oct 28 16:02:51 172.18.0.1 - - [28/Oct/2018:16:02:50 +0000] "GET /index.php/login HTTP/1.1" 200 3308 "-" "Mozilla"
    Oct 28 16:02:57 172.18.0.1 - kdj [28/Oct/2018:16:02:57 +0000] "PROPFIND /remote.php/dav/files/kdj/ HTTP/1.1" 207 1062 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
    Oct 28 16:03:00 172.18.0.1 - kdj [28/Oct/2018:16:02:59 +0000] "PROPFIND /remote.php/dav/files/kdj/ HTTP/1.1" 207 1042 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"
    Oct 28 16:03:01 172.18.0.1 - - [28/Oct/2018:16:03:00 +0000] "GET /index.php/login HTTP/1.1" 200 3323 "-" "Mozilla"
    Oct 28 16:03:11 172.18.0.1 - - [28/Oct/2018:16:03:10 +0000] "GET /index.php/login HTTP/1.1" 200 3322 "-" "Mozilla"
    Oct 28 16:03:21 172.18.0.1 - - [28/Oct/2018:16:03:20 +0000] "GET /index.php/login HTTP/1.1" 200 3313 "-" "Mozilla"
    Oct 28 16:03:31 172.18.0.1 - - [28/Oct/2018:16:03:30 +0000] "GET /index.php/login HTTP/1.1" 200 3323 "-" "Mozilla"
    

    I also noticed that I cannot change the maximum upload file size in Nextcloud (at https://domain.com/settings/admin/additional) from the 5 GB default (I thought the above error might be caused by that). If I type any value and press save, I just get a red "Error" sign.

    Any idea or any other log I can consult?



  • For now, I solved it by disabling several Nextcloud Apps such as ransomware detection and antivirus for files.



  • So you are saying, one of those now disabled plugins/apps were causing the issue then?



  • @nebulon said in Large file not syncing in Nextcloud / cannot set max file size for syncing:

    So you are saying, one of those now disabled plugins/apps were causing the issue then?

    It seems so... I disabled

    Now everything works as intended.
    The error when setting the max upload file size still exists though.