I can not download anything~~~

Ask all your questions regarding OC 6.x Please read the Support Forum Rules
Forum rules
ownCloud 6.x reached end of life and is officially unsupported. For details see Wiki page.

Please upgrade your ownCloud.
pulller
Newbie
Posts: 5
Joined: Wed Jul 16, 2014 5:31 pm
ownCloud version: 6.0.3
Database: MySQL
OS: Linux

I can not download anything~~~

Postby pulller » Wed Jul 16, 2014 5:56 pm

Yesterday, I have installed the owncloud with version 6.0.4.1 in the DSM 5(Synology DiskStation Manager).

Environment: DSM 5
Server: Apache
Database: MariaDB
Client: IE11 and Chrome 35.0.1916.114
OC-Version: 6.0.4.1
PHP-Version: 5.5.13

I can upload any files normally, but I can not download them.
When I try to read the PDF file online,the explorer pop up the notice:
20140724011134.jpg
20140724011134.jpg (189.63 KiB) Viewed 4544 times


When I try to download any file by clicking the "Download" button, the explorer pop up the follow message. It tell me the file can't be found.
20140724001557.jpg
20140724001557.jpg (105.11 KiB) Viewed 4544 times


I have checked the MIME setting of the Apache and reinstalled the owncloud many times. I'm sure it doesn't have any wrong. But I can download all files by clicking the right button of mouse on the file names and "saved as ...", just can't download them by clicking the "download button" in the web GUI.

I want to know whether I ignored any permission setting which should be done?
Thank you~!

In addition:
I checked my logs by that way which RandolphCarter refered to. I set DEBUG to true and the loglevel to 0 in my config.php.

The follow is one log (/path/to/owncloud/data/owncloud.log):
{"reqId":"53cfddba75d97","app":"PHP","message":"ob_end_clean(): failed to delete buffer. No buffer to delete at \/volume1\/web\/cloud\/lib\/private\/files\/view.php#205","level":0,"time":"2014-07-23T16:07:22+00:00","method":"GET","url":"\/cloud\/index.php\/apps\/files\/ajax\/download.php?files=Mini-XML__Version_2.5.pdf&dir=%2Fdocuments"}

The follow is another log(/var/log/httpd/user-error_log):
[Thu Jul 24 00:28:35 2014] [error] [client 192.168.2.1] (20023)The given path was above the root path: xsendfile: unable to find file: /volume1/web/cloud/data/pulller/files/documents/Mini-XML__Version_2.5.pdf, referer: http://cloud.pulller.com:8000/cloud/ind ... /documents

According to above info, I doubted and checked the function ob_end_clean in the view.php #Line205,but I don't know how to resolve it.
20140724003419.jpg
20140724003419.jpg (115.08 KiB) Viewed 4544 times
Last edited by pulller on Wed Jul 23, 2014 7:12 pm, edited 4 times in total.

pulller
Newbie
Posts: 5
Joined: Wed Jul 16, 2014 5:31 pm
ownCloud version: 6.0.3
Database: MySQL
OS: Linux

Re: I can not download anything~~~

Postby pulller » Tue Jul 22, 2014 3:16 am

PS:I have checked the MIME setting of the Apache and reinstalled the owncloud many times. I'm sure it doesn't have any wrong. But I can download all files by clicking the right button of mouse on the file names and "saved as ...", just can't download them by clicking the "download button" in the web GUI.

Anyone can help me ? Thank you~

User avatar
RandolphCarter
ownCloud master
Posts: 5134
Joined: Wed May 30, 2012 8:42 am
ownCloud version: 8.1.1
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.5.x

Re: I can not download anything~~~

Postby RandolphCarter » Tue Jul 22, 2014 11:28 am

Hm, don't really have an idea, but did you check your logfiles? Maybe they contain more details as to what goes wrong exactly.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: I can not download anything~~~

Postby RealRancor » Tue Jul 22, 2014 9:24 pm

A good idea is also to post screenshots containing english error messages. ;)
*gone*

pulller
Newbie
Posts: 5
Joined: Wed Jul 16, 2014 5:31 pm
ownCloud version: 6.0.3
Database: MySQL
OS: Linux

Re: I can not download anything~~~

Postby pulller » Wed Jul 23, 2014 7:06 pm

Rancor wrote:A good idea is also to post screenshots containing english error messages. ;)

I refresh the screenshot to the English.

pulller
Newbie
Posts: 5
Joined: Wed Jul 16, 2014 5:31 pm
ownCloud version: 6.0.3
Database: MySQL
OS: Linux

Re: I can not download anything~~~

Postby pulller » Wed Jul 23, 2014 7:08 pm

RandolphCarter wrote:Hm, don't really have an idea, but did you check your logfiles? Maybe they contain more details as to what goes wrong exactly.

I checked the logs by your way, please read the top content again. Thank you very much!

pulller
Newbie
Posts: 5
Joined: Wed Jul 16, 2014 5:31 pm
ownCloud version: 6.0.3
Database: MySQL
OS: Linux

Re: I can not download anything~~~

Postby pulller » Sun Aug 10, 2014 7:15 pm

This problem has been resolved by myself by follow:
Change the "data" folder path when I install the owncloud, from "/volume1/web/cloud/data" to "/var/service/web/cloud/data". (The "/var/service/web" is linked to "/volume1/web").

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: I can not download anything~~~

Postby RealRancor » Mon Aug 11, 2014 2:04 pm

Hi,

ah yes i remember there where similar posts about this on the Synology DS. This devices have a default X-Sendfile configured and you need to configure your vhost correctly according to this documentation:

http://doc.owncloud.org/server/7.0/admi ... dfile.html

to be able to download files from OC.
*gone*

Berretje
Newbie
Posts: 2
Joined: Tue Aug 25, 2015 10:52 pm
ownCloud version: 8.1.1
Webserver: Apache
Database: MySQL
OS: Linux

Re: I can not download anything~~~

Postby Berretje » Tue Aug 25, 2015 10:55 pm

Another similar issue/solution

viewtopic.php?f=26&t=21036&start=10


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Community Edition 6.x”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest