Jump to content

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.

i followed this guide to setup everything 

 

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

1)

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

	#https://github.com/nextcloud/docker/issues/680
	#*************************
	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: https://github.com/linuxserver/docker-baseimage-alpine-nginx/commits/master/root/defaults/nginx.conf

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:
#	# http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
#
#	# 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;

 2)

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

 3)  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 cozy.io  it seems it also like nextcloud but there is no docker image for it.

 

 

 

Link to comment
https://linustechtips.com/topic/1212644-unraid-nextcloud/
Share on other sites

Link to post
Share on other sites

For me, preview generator worked for thumbnails showing on things actually stored on Nextcloud, but for things added to Nextcloud as external storage, the previews does not seem to be used even if they are there. I asked places but haven't gotten an answer on it yet.

 

That's different than uploading to Nextcloud tho, preview generator have nothing to do with uploading to the server.

“Remember to look up at the stars and not down at your feet. Try to make sense of what you see and wonder about what makes the universe exist. Be curious. And however difficult life may seem, there is always something you can do and succeed at. 
It matters that you don't just give up.”

-Stephen Hawking

Link to comment
https://linustechtips.com/topic/1212644-unraid-nextcloud/#findComment-13744662
Share on other sites

Link to post
Share on other sites

well my issue is it seemed when i uploaded a file it would take 5-10s  after it was uploaded to get a generic file icon in front of it, but when lets say i uploaded 40 jpg  it would crash the web ui and only 2 of them would get added.  its also that occ file scan does nothing

Link to comment
https://linustechtips.com/topic/1212644-unraid-nextcloud/#findComment-13744713
Share on other sites

Link to post
Share on other sites

I personally don't upload via Nextcloud web client that often tho so can't remember. When I am home I just transfer files via having it added as a LAN disk in in windows or whatever it's called. And usually when I am outside when I am using it it's just for looking at things and downloading. So so can't help you sorry but I will follow this thread in case I learn some things :)

“Remember to look up at the stars and not down at your feet. Try to make sense of what you see and wonder about what makes the universe exist. Be curious. And however difficult life may seem, there is always something you can do and succeed at. 
It matters that you don't just give up.”

-Stephen Hawking

Link to comment
https://linustechtips.com/topic/1212644-unraid-nextcloud/#findComment-13744742
Share on other sites

Link to post
Share on other sites

1 minute ago, ACEHACK said:

when you add stuff to your share , does it automatically get picked up in next cloud or do you run that cmd


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

 

???

When I do it via LAN disk, or SMB, It does show up in Nextcloud web yes, but without thumbnail untill I look at it. I don't know if it happens instantly tho, I can check that when I am home some time.

“Remember to look up at the stars and not down at your feet. Try to make sense of what you see and wonder about what makes the universe exist. Be curious. And however difficult life may seem, there is always something you can do and succeed at. 
It matters that you don't just give up.”

-Stephen Hawking

Link to comment
https://linustechtips.com/topic/1212644-unraid-nextcloud/#findComment-13744770
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×