Skip to content
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

Internal server error when trying to download a non-exist file #1464

Closed
ghost opened this issue Sep 20, 2016 · 2 comments · Fixed by #2519
Closed

Internal server error when trying to download a non-exist file #1464

ghost opened this issue Sep 20, 2016 · 2 comments · Fixed by #2519

Comments

@ghost
Copy link

ghost commented Sep 20, 2016

Steps to reproduce

  1. Try to download a non-exist file. For example:
    http://10.211.55.9/nextcloud/index.php/apps/files_versions/download.php?file=../nonexistfile&revision=111
  2. Internal server error appeared.
  3. Check the log. There is an exception saying unable to getOwner

Expected behaviour

File not found

Actual behaviour

Internal server error
screen shot 2016-09-20 at 9 11 39 pm

Server configuration

Operating system:
CentOS 7 x86_64
Linux 10.211.55.9 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Web server:
httpd-2.4.6-40.el7.centos.4.x86_64

Database:
sqlite3

PHP version:
PHP 5.4.16 (cli) (built: Aug 11 2016 21:24:59)

Nextcloud version: (see Nextcloud admin page)
Nextcloud 10.0 (stable)

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from:

Signing status:

List of activated apps:

The content of config/config.php:

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no
no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no

Client configuration

Browser:
Firefox ESR 38.3.0

Operating system:
CentOS 7 x86_64

Logs

Web server error log

Nextcloud log (data/nextcloud.log)

Browser log

@nickvergessen
Copy link
Member

@schiessle please have a look

@MorrisJobke
Copy link
Member

Fix is in #2519

@MorrisJobke MorrisJobke removed this from the Nextcloud 10.0.2 milestone Dec 5, 2016
@MorrisJobke MorrisJobke added this to the Nextcloud 11.0 milestone Dec 6, 2016
blizzz pushed a commit that referenced this issue Dec 7, 2016
* fixes #1464

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants