Return to Level1Techs.com

Unraid NextCloud Upload Issues

my Config:

Segate baracuda 8tb *3

Kingston 240gb *2 cache mirror

16gb ram

Core i5 3470

Dell mobo 042p49

Ethernet port 1gb


unraid v 6.90 beta22 ( ill explain)

docker image Mariadb (linuxserver)

docker image NextCloud(linuxserver) V19.0.0

Hi guys, i am new to unraid and new to this forum, so go easy on me.

i followed this guide to setup everything by [Spaceinvader One]( How to Setup Nextcloud on unRAID for your Own Personal Cloud Storage)

ISSUE:

so my issue is nextcloud Web upload is extremely slow. however when i mount the share as smb in windows 10: file upload is instant. and when i do this command for file scan to appear in nextcloud nothing happens. i have waited over 16hrs and nothing (after mover finished). i have about 500gb of data in my share folder now.

docker exec -it nextcloud sudo -u abc /config/www/nextcloud/occ files:scan Minerva

i googled around and it seems the problem is with nextcloud thumbnail generation ( at least what everyone thinks it is) and it looks like its an issues since v12.

Solutions i tried

old posts from reddit and github, people suggested to add this to nginx.conf

#*************************
keepalive_timeout 10m;
proxy_connect_timeout  20s;
proxy_send_timeout  600s;
proxy_read_timeout  150s;

client_body_buffer_size 70m;
client_header_buffer_size 50k;
large_client_header_buffers 2 50k;
client_max_body_size 0;
#*********************

it made it worse, now the web-client on upload crashes instantly.

this was the Original version of my nginx.conf

    ## Version 2018/08/16 - Changelog:  
user abc;
worker_processes 4;
pid /run/nginx.pid;
include /etc/nginx/modules/*.conf;

events {
	worker_connections 768;
	# multi_accept on;
}

http {

	##
	# Basic Settings
	##

	sendfile on;
	tcp_nopush on;
	tcp_nodelay on;
	keepalive_timeout 65;
	types_hash_max_size 2048;
	# server_tokens off;

	# server_names_hash_bucket_size 64;
	# server_name_in_redirect off;

	client_max_body_size 0;

	include /etc/nginx/mime.types;
	default_type application/octet-stream;

	##
	# Logging Settings
	##

	access_log /config/log/nginx/access.log;
	error_log /config/log/nginx/error.log;

	##
	# Gzip Settings
	##

	gzip on;
	gzip_disable "msie6";

	# gzip_vary on;
	# gzip_proxied any;
	# gzip_comp_level 6;
	# gzip_buffers 16 8k;
	# gzip_http_version 1.1;
	# gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

	##
	# nginx-naxsi config
	##
	# Uncomment it if you installed nginx-naxsi
	##

	#include /etc/nginx/naxsi_core.rules;

	##
	# nginx-passenger config
	##
	# Uncomment it if you installed nginx-passenger
	##

	#passenger_root /usr;
	#passenger_ruby /usr/bin/ruby;

	##
	# Virtual Host Configs
	##
	include /etc/nginx/conf.d/*.conf;
	include /config/nginx/site-confs/*;
  
}


#mail {
#	# See sample authentication script at:
#	#  
#
#	# auth_http localhost/auth.php;
#	# pop3_capabilities "TOP" "USER";
#	# imap_capabilities "IMAP4rev1" "UIDPLUS";
#
#	server {
#		listen     localhost:110;
#		protocol   pop3;
#		proxy      on;
#	}
#
#	server {
#		listen     localhost:143;
#		protocol   imap;
#		proxy      on;
#	}
#}
daemon off;

another solution i tried was the app from nextcloud appstore Preview Generator v 2.3.0 no help.

  1. i updated unraid to beta version in case that would fix anything but nope

Any Solutions ???

so any suggestions: do you think the issue is something else? idk what else to try anymore.

on a side note do any of you have experience with cozyio it seems it also like nextcloud but there is no docker image for it.