You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set 'datadirectory' => '/var/owncloud/data', in config.php
upload an mp3 file
log out
log in
Expected behaviour
Tell us what should happen
No warnings expected in nextcloud.log.
Actual behaviour
Tell us what happens instead
nextcloud.log has
{"reqId":"nHnd9SzFlfbPvZ7xWdri","remoteAddr":"***REMOVED SENSITIVE VALUE***","app":"PHP","message":"fopen(\/var\/owncloud\/data\/***REMOVED SENSITIVE VALUE***\/files\/var\/www\/owncloud\/core\/img\/filetypes\/audio.svg): failed to open stream: No such file or directory at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Local.php#216","level":3,"time":"2017-02-22T06:40:08+00:00","method":"GET","url":"\/owncloud\/index.php\/core\/preview.png?file=%2F***REMOVED SENSITIVE VALUE***.mp3&c=f81d88be86da7b4be5c7553d0a73b09c&x=32&y=32&forceIcon=0","user":"***REMOVED SENSITIVE VALUE***","version":"11.0.1.2"}
and similar, all referring to the same path.
I'm afraid the argument to fopen is the concatenation of my data directory and the nextcloud install directory. This looks like a bug.
No similar warnings for other file types.
Server configuration
Operating system: Ubuntu 16.04
Web server: apache2 2.4.18-2ubuntu3.1
Database: sqlite3 3.11.0-1ubuntu1
PHP version: 7.0.13-0ubuntu0.16.04.1
Nextcloud version: 11.0.1.2
Updated from an older Nextcloud/ownCloud or fresh install: upgraded
Where did you install Nextcloud from: tar, then upgraded from web interface
Steps to reproduce
'datadirectory' => '/var/owncloud/data',
inconfig.php
Expected behaviour
Tell us what should happen
No warnings expected in
nextcloud.log
.Actual behaviour
Tell us what happens instead
nextcloud.log
hasand similar, all referring to the same path.
I'm afraid the argument to
fopen
is the concatenation of my data directory and the nextcloud install directory. This looks like a bug.No similar warnings for other file types.
Server configuration
Operating system: Ubuntu 16.04
Web server: apache2 2.4.18-2ubuntu3.1
Database: sqlite3 3.11.0-1ubuntu1
PHP version: 7.0.13-0ubuntu0.16.04.1
Nextcloud version: 11.0.1.2
Updated from an older Nextcloud/ownCloud or fresh install: upgraded
Where did you install Nextcloud from: tar, then upgraded from web interface
Signing status:
Signing status
List of activated apps:
App list
The content of config/config.php:
Config report
Are you using external storage, if yes which one: local
Are you using encryption: no
Are you using an external user-backend, if yes which one: n/a
Client configuration
Browser: firefox 51.0.1
Operating system: Ubuntu 16.04
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: