PHP errors corresponding to quotas

I run nextcloud 9.0.52 based on Ubuntu 16.04, nginx 1.11.2, mariadb 10.0.25, PHP 7.0.4-7ubuntu2.1 on a raspberry pi3.

One User (admin) only uses local data the other users (e.g. user1) have mounted data (synology share) with a lot of available and remaining storage on the share (~ 650GB of 1,5TB in use). The data were mounted in fstab via cifs.

//synology/share /var/nc_data/user1/files cifs user,uid=33,rw,suid,username=user1,password=pwduser1,file_mode=0770,dir_mode=0770 0 0

Everything works as expected in nextcloud but if I restrict the quota to e.g. 1.5 TB for user1 and keep the admin-user with ‘unlimited’-quota the following errors occurs.

Error PHP Undefined index: quota at /var/www/nextcloud/settings/personal.php#144 2016-07-15T12:44:42+02:00 user1
Error PHP Undefined index: ownerDisplayName at /var/www/nextcloud/apps/files/lib/helper.php#58 2016-07-15T12:44:17+02:00 user1
Error PHP Undefined index: owner at /var/www/nextcloud/apps/files/lib/helper.php#57 2016-07-15T12:44:17+02:00 user1
Error PHP Undefined index: ownerDisplayName at /var/www/nextcloud/apps/files/controller/viewcontroller.php#211 2016-07-15T12:44:16+02:00 user1
Error PHP Undefined index: owner at /var/www/nextcloud/apps/files/controller/viewcontroller.php#210 2016-07-15T12:44:16+02:00 user1
Error PHP Undefined index: quota at /var/www/nextcloud/settings/personal.php#144 2016-07-15T12:44:14+02:00 user1

When running all users with “unlimited”-quota the error disappears but for example the “user1” with mounted data receive a message that shows “Your storage is almost full (96%)”. Two questions regarding this behaviour:
(1) What causes these errors and how to fix them?
(2) May I ignore these errors or do i have to investigate further?

Your assistance and support is really appreciated. Many thanks in advance.
Carsten

Were they not experimenting with mounted storage counting towards your quota? I can’t help with your direct issue, but I wonder if the 2 are related…Hopefully someone else help.

thank you for the quick response.

just an additional note:
it doesn’t depend on the user!
Even if the admin (only local data, no mounted data) would be set to a limited quota (e.g. 1GB) and the user1 would be set to ‘unlimited’ the errors appears again, just the user changed in the nextcloud-log.

Error PHP Undefined index: ownerDisplayName at /var/www/nextcloud/apps/files/lib/helper.php#58 2016-07-15T15:48:17+02:00 cloudchef
Error PHP Undefined index: owner at /var/www/nextcloud/apps/files/lib/helper.php#57 2016-07-15T15:48:17+02:00 cloudchef
Error PHP Undefined index: ownerDisplayName at /var/www/nextcloud/apps/files/controller/viewcontroller.php#211 2016-07-15T15:48:16+02:00 cloudchef
Error PHP Undefined index: owner at /var/www/nextcloud/apps/files/controller/viewcontroller.php#210 2016-07-15T15:48:16+02:00 cloudchef
Error PHP Undefined index: quota at /var/www/nextcloud/settings/personal.php#144 2016-07-15T15:48:03+02:00 cloudchef

If i change both userssettings to a restricted quota, the error are raised for both users.
So the errors seems not to be related to the fact of using mounted shares rather than to quotas in particular?

Cheers, Carsten

hi nextclouders,
no ideas/support/assistance on this?
the errors still appears on 9.0.53 release.
…:::carsten

I tried to reproduce your error on debian8/php7/NC9.0.52 with local storage only:

  1. set admin quota to unlimited (admin data ~ 1 MB)
  2. create user1
  3. set quota of user1 to 10 MB
  4. upload around 9 MB of files for user1
  5. set quota of user1 to unlimited
  6. set quota of user1 back to 10 MB or 1 MB
  7. redo everything with admin quota limited to 1 GB.

I don’t get any errors (php error reporting E_ALL). Can you verify that code integrity (errors should show up on the admin page) does not report errors?

First i would like to say thank you for your response.
I do not have any integrity errors, all checks passed successfully.

From my perspective it is very strong related to cifs/mounted shares.