I just installed Seafile server on Fedora, and Seadrive on windows 10. The very first thing I tried to do was copy a git repository into it, but found that every single directory that gets created triggers this error:
Error 0x8007045D: The request could not be performed because of an I/O device error.
I can click “Try Again” and it will succeed and move onto the next folder, but there’s far too many folders for me to do this manually. There’s a checkbox for “Do this for all current items”, but it doesn’t do anything.
Is there anything I can do to fix this? I’m just using the normal copy and paste function in windows explorer.
My seafile and seahub configs are defaults other than changing the seahub port. Seadrive successfully connected and logged in, and I can create/browse files.
seafile.log
[02/17/19 16:04:03] http-server.c(173): fileserver: worker_threads = 10
[02/17/19 16:04:03] http-server.c(188): fileserver: fixed_block_size = 8388608
[02/17/19 16:04:03] http-server.c(203): fileserver: web_token_expire_time = 3600
[02/17/19 16:04:03] http-server.c(218): fileserver: max_indexing_threads = 1
[02/17/19 16:04:03] http-server.c(233): fileserver: max_index_processing_threads= 3
[02/17/2019 04:04:03 PM] ../common/mq-mgr.c(54): [mq client] mq cilent is started
[02/17/2019 04:04:04 PM] size-sched.c(96): Repo size compute queue size is 0
[02/17/2019 04:09:04 PM] size-sched.c(96): Repo size compute queue size is 0
[02/17/2019 04:14:04 PM] size-sched.c(96): Repo size compute queue size is 0
[02/17/2019 04:19:04 PM] size-sched.c(96): Repo size compute queue size is 0
[02/17/2019 04:24:04 PM] size-sched.c(96): Repo size compute queue size is 0
[02/17/2019 04:29:04 PM] size-sched.c(96): Repo size compute queue size is 0
[02/17/2019 04:34:04 PM] size-sched.c(96): Repo size compute queue size is 0
[02/17/2019 04:39:04 PM] size-sched.c(96): Repo size compute queue size is 0
[02/17/2019 04:44:04 PM] size-sched.c(96): Repo size compute queue size is 0
[02/17/2019 04:49:04 PM] size-sched.c(96): Repo size compute queue size is 0
[02/17/2019 04:54:04 PM] size-sched.c(96): Repo size compute queue size is 0
[02/17/2019 04:59:04 PM] size-sched.c(96): Repo size compute queue size is 0
[02/17/2019 05:04:04 PM] size-sched.c(96): Repo size compute queue size is 0
I have seafile behind an nginx reverse proxy (which adds HTTPS), here’s the relevant parts of the config:
nginx.conf
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;
# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.
include /usr/share/nginx/modules/*.conf;
events {
worker_connections 1024;
}
http {
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
include /etc/nginx/mime.types;
default_type application/octet-stream;
# Load modular configuration files from the /etc/nginx/conf.d directory.
# See http://nginx.org/en/docs/ngx_core_module.html#include
# for more information.
include /etc/nginx/conf.d/*.conf;
# Seafile
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name seafile.example.com;
root /usr/share/nginx/html;
ssl_certificate /etc/letsencrypt/live/seafile.example.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/seafile.example.com/privkey.pem; # managed by Certbot
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 10m;
ssl_ciphers PROFILE=SYSTEM;
ssl_prefer_server_ciphers on;
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location /.well-known {
root /usr/share/nginx/html/.well-known;
}
location / {
proxy_pass http://127.0.0.1:17711; # Seahub port
proxy_http_version 1.1;
proxy_buffering off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Origin http://$host;
gzip off;
}
location /seafhttp {
rewrite ^/seafhttp(.*)$ $1 break;
proxy_pass http://127.0.0.1:8082; # Seafile port
client_max_body_size 0;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 36000s;
proxy_read_timeout 36000s;
proxy_send_timeout 36000s;
send_timeout 36000s;
}
location /media {
root /home/seafile/seafile-server-latest/seahub;
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}
}