lowerUserid is not a valid attribute

Here is my system info:

:/var/www/owncloud$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.10 (Groovy Gorilla)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.10"
VERSION_ID="20.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=groovy
UBUNTU_CODENAME=groovy

Here is my owncloud version

$ occ --version
ownCloud 10.5.0

Here is my php version

$ php --version
PHP 7.4.9 (cli) (built: Oct 26 2020 15:17:14) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.9, Copyright (c), by Zend Technologies

I am uploading files to this system running owncloud server using ssh. As soon as I upload the files, I change the ownership of the files using

sudo chown -R www-data:www-data /media/ADRIVE/USERNAME/FILES

When I try to index those new files using:

sudo -u www-data php /var/www/owncloud/occ files:scan --all

I get this error:

$ sudo -u www-data php /var/www/owncloud/occ files:scan --all

In Entity.php line 112:
                                        
  lowerUserid is not a valid attribute  
                                        

files:scan [--output [OUTPUT]] [-p|--path PATH] [--group GROUP] [-g|--groups GROUPS] [-q|--quiet] [-v|vv|vvv|--verbose] [--all] [--repair] [--unscanned] [--] [<user_id>...]

I do not know what is the cause, your help is much appreciated!

Please fill the issue template and provide owncloud.log, config.php, list of apps etc. In this way, we can better understand your server and help.

2 Likes