OwnCloud showing free disk space for wrong drive

10

#1

Expected behaviour

Moved ‘data’ folder from default installation location to mounted SSD (/mnt/ssd).
Updated config file.
Added new location to php open_basedir.
Files show up OK in OwnCloud web client and desktop app.
Free space quota reflects both SSD free space and quota assigned for user

Actual behaviour

Moved ‘data’ folder from default installation location to mounted SSD (/mnt/ssd).
Updated config file.
Added new location to php open_basedir.
Files show up OK in OwnCloud web client and desktop app.
Free space quota reflects free space on ownCloud installation drive, not drive containing data directory.

Steps to reproduce

  1. Move data directory to new location
  2. Update config file with new location of data directory
  3. Add new mount to php open_basedir
  4. Launch Apache server with ownCloud installed
  5. Adjust quota in ownCloud web app to new size
  6. Check free space indicator in desktop app - this shows as free space on installation drive, not drive containing data directory.

Server configuration

Operating system: Debian 9.6

Web server: Apache 2.4

Database:mySQL

PHP version: 7

ownCloud version: 10

Storage backend (external storage): SSD, mounted using fstab to /mnt/ssd

Client configuration

Client version: 2.5.1

Operating system: Windows 10

OS language: English

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):

Installation path of client: C:\Program Files (x86)\ownCloud

Logs

N/A
(Can add if necessary)


#2

Hey,

i think just updating the config.php entry isn’t enough:

https://doc.owncloud.org/server/latest/admin_manual/maintenance/manually-moving-data-folders.html