I have Mayan-EDMS installed and functioning properly, but I am running into
some issues when uploading large files that I cannot seem to resolve. If
anybody has any ideas, I would appreciate it.
Here are the issues:
1. On the server, logging into 127.0.0.1 with Firefox and using the
HTTPFox add-in to view headers, I am able to successfully upload a large
file (~1GB). The headers show that the full file has been uploaded;
Mayan-EDMS indicates that the file will be available shortly. Yet, after
waiting an hour the file never appears in the All Documents, Recent
Documents, or in my indexes. Yet, when I upload a smaller document
(~208MB), I see the same things - complete file uploaded and Mayan
indicates the file will be available shortly. When I click All Documents,
the small file appears there. What's happened to the large file?
2. On my laptop, uploading a large file - typically something larger than
30MB - is very intermittent. I am on the same network as the server. I
can log into user account 1 and upload the file with Firefox and it will
work and appear. When it doesn't work, I notice by tracking the headers
that the upload counter goes up to a random point, say 15MB/100MB, then
will restart at 0MB again and will do this one or two times before giving
an NS_ERROR_NET_RESET error. Anything above 200MB fails 100% of the time,
even though I've set my config files to support up to 2GB.
Thanks in advance for any help on this. I want to demo this system to the
end users later this week, and the issues with larger files might cause the
team to not accept this solution.
Best regards,
Samir
My config files are as follows:
mayan nginx config:
server {
listen 82;
server_name localhost;
location / {
include uwsgi_params;
uwsgi_pass unix:/usr/share/mayan-edms/uwsgi.sock;
client_max_body_size 2G; # Increase if your plan to upload bigger
docs
proxy_read_timeout 900; #Increase if your document uploads take
more than 30 seconds
proxy_send_timeout 900;
proxy_connect_timeout 900;
}
location /static {
alias /usr/share/mayan-edms/mayan/media/static;
expires 1h;
}
location /favicon.ico {
alias /usr/share/mayan-edms/mayan/media/static/appearance/images
/favicon.ico;
expires 1h;
}
}
nginx.conf:
user www-data;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 1024;
multi_accept on;
}
http {
##
# Basic Settings
##
sendfile on;
send_timeout 900;
# client_body_in_file_only clean;
# 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;
include /etc/nginx/mime.types;
default_type application/octet-stream;
##
# SSL Settings
##
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
##
# Logging Settings
##
access_log /var/log/nginx/access.log;
error_log /var/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/javascript
text/xml application/xml application/xml+rss text/javascript;
##
# Virtual Host Configs
##
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
#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;
# }
#}
--
---
You received this message because you are subscribed to the Google Groups
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.