New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't download file with Android #114
Comments
This is a common error. Please check setting of FILE_SERVER_ROOT |
Thank you, now it doesn't run into a timeout, but i get the "download What is the default file_server_root what should be used? The windows What runs wrong? 2014-09-26 13:42 GMT+02:00 Daniel Pan notifications@github.com:
|
Sorry for the mistake. If you do not use Apache/Nginx, you don't need to set FILE_SERVER_ROOT. Can you download files via the web interface? |
No, I can't download and upload with Android. Seafile works for me just 2014-09-26 14:02 GMT+02:00 Daniel Pan notifications@github.com:
|
Oh, you meant the webinterface of seafile, you didn't mean 2014-09-26 14:04 GMT+02:00 Christian Irmler irmlerc@gmail.com:
|
If you can download files from the web interface (via a browser in desktop), the config should be OK. Android client uses the same ports and methods to download a file. You may also try download a file via a browser in Android for debugging. |
First of all: I thank you very much for your help! Strange. Now it works... :) But now I see another problem: |
Not possible to only upload new pictures yet. |
Hello, It works now inside the LAN, but when I access from extern over WAN, I can't download neighter with browser (not with PC, not with Android) nor with android-app. I see all files and folders, but can't download/upload anything. But I have all ports open (8000, 8082, 10001,12001, 8080) and have implemented NAT rules to the local IP inside the LAN. I can synchronize with my PC from extern, but I can't download/upload with Android-app from extern, and also not download/upload over any browser. Perhaps there is to allow the additional used URL anywhere? Thank you! |
I've got the same problem! Can't find a clue what it may be. |
Are you sure you can connect to all ports from external? I'd strongly recommend to setup nginx or apache with ssl if you want to access Seafile over public internet. It is more secure and avoids problems with blocked ports because port 443 (ssl) is almost never blocked. Also don't forget to set hsts headers and disable non tls connections (sslv2/v3). |
Wouldn't it slow down Seafile? |
I don't think you'll notice a speed difference. |
OK, I'll try that and reopen ticket in case of problems. |
I've found a problem. Android can't download/upload if server redirects mobile client woth 301 code. I've changed FILE_SERVER_ROOT in seahub_settings.py to the httpS://site.tld:443/ and it started to function with no problems! |
Poket Sam .. I am also facing the same issue . Cannot download upload from WAN, port 8010 (changed it to 8010 from 8000 )and 8082 are fw. I CAN acccess the server browse and view all files from Android app androind browser BUT cannot download or upload unless I am on local lan. I also DO NOT have any entry or line in the seahub_settings.py that says FILE_SERVER_ROOT. All I have is SECRET_KEY = "wx9$%!g-%&msomethinglike this%ubkm+^64kg&_@#qlhqss2" Can you assist .... |
I know some of these post are more than 3 years old but i actually found the solution to the download/upload issue. First and foremost, the changes that are going to be made to SERVICE_URL and FILE_SERVER_ROOT options, please do it through the web interface as this has higher precedents over php and db files. SOLUTION FOR INTERNAL or LOCAL UPLOAD/DOWNLOADStep 1 Step 2 So you should have something like this Step 3 Step 4 Step 5 Step 6 Once this is completed you should have local access to your cloud server and with the ability to upload/download SOLUTION FOR BOTH INTERNAL AND EXTERNAL UPLOAD/DOWNLOADExternal upload/download means you will be accessing your cloud server remotely and this means you will have some more configurations to do Step 1 Step 2 Step 3 Step 4 N.B Pay close attention to the port numbers and don't mix them up So you should have something like this ( the Xs represents your public IP) Step 5 Step 6 Step 7 Step 8 AGAIN, once this is completed you should have access to your cloud server locally and externally, with the ability to upload/download files N.B : If you encounter connection problems, temporarily disable windows firewall. If that resolves the issue, re-enable the firewall, configure and allow ports 8000 and 8082 and the server's IP address through the firewall. Also remember to forward port's 8000 and 8082 on your home gateway router |
Hello,
I installed seafile on Debian using MySQL. I didn't change any setup parameters, everything was installed by default and I also use the default ports and no additional webserver. Just Apache2 is also installed on the machine with port 80, but not used. And I am not behind a firewall, the server is inside the same LAN.
With the Android client I can surf through the folders and see the file lists of them, but when I try to download or upload anything, it loads and loads and loads and seems to run into a timeout, because I get the message, that the download failed.
I saw, that webdav was not enabled, so I changed my webdav config:
[WEBDAV]
enabled = true
port = 8080
fastcgi = false
share_name = /
I can reach webdav now with http://192.168.30.207:8080
The windows client also works. The only what not works is downloading/uploading with Android :(
The text was updated successfully, but these errors were encountered: