Steps to reproduce
- Configure one or more external storages with auth method Global credentials, user entered (no matter if on admin- or user-side external storage config page)
- enter global credentials on user external storage config page and save
- hit the checkmark behind the external storage
Expected behaviour
green checkmark, storage connects
Actual behaviour
red exclamation mark, storage doesn't connect
Log when trying to connect SMB/CIFS
{
"reqId": "i9aJHt3OkFpI1ILuyEU8",
"level": 3,
"time": "December 02, 2019 21:23:17",
"remoteAddr": "####################",
"user": "####################",
"app": "PHP",
"method": "PUT",
"url": "/apps/files_external/userglobalstorages/4",
"message": "Undefined index: user at /var/www/nextcloudLatest/apps/files_external/lib/Lib/Auth/Password/UserGlobalAuth.php#55",
"userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0",
"version": "17.0.1.1"
}
{
"reqId": "i9aJHt3OkFpI1ILuyEU8",
"level": 3,
"time": "December 02, 2019 21:23:17",
"remoteAddr": "####################",
"user": "####################",
"app": "PHP",
"method": "PUT",
"url": "/apps/files_external/userglobalstorages/4",
"message": "Undefined index: password at /var/www/nextcloudLatest/apps/files_external/lib/Lib/Auth/Password/UserGlobalAuth.php#56",
"userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0",
"version": "17.0.1.1"
}
Server configuration
Operating system: Linux 4.15.0-69-generic #78-Ubuntu SMP Wed Nov 6 11:30:24 UTC 2019 x86_64
Webserver: Apache/2.4.41 (Ubuntu) (apache2handler)
Database: mysql 10.4.10
PHP version: 7.3.12-1+ubuntu18.04.1+deb.sury.org+1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, ldap, exif, mysqli, pdo_mysql, apc, posix, readline, redis, shmop, SimpleXML, smbclient, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Phar, inotify, libsmbclient, Zend OPcache
Nextcloud version: 17.0.1 - 17.0.1.1
files_external: 1.8.0
Side notes
- SMB/CIFS tested after applying https://github.com/nextcloud/server/pull/17873/files
- happens also when connecting other types (e.g. Nextcloud) - but all throw different logs
Steps to reproduce
Expected behaviour
green checkmark, storage connects
Actual behaviour
red exclamation mark, storage doesn't connect
Log when trying to connect SMB/CIFS
Server configuration
Operating system: Linux 4.15.0-69-generic #78-Ubuntu SMP Wed Nov 6 11:30:24 UTC 2019 x86_64
Webserver: Apache/2.4.41 (Ubuntu) (apache2handler)
Database: mysql 10.4.10
PHP version: 7.3.12-1+ubuntu18.04.1+deb.sury.org+1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, ldap, exif, mysqli, pdo_mysql, apc, posix, readline, redis, shmop, SimpleXML, smbclient, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Phar, inotify, libsmbclient, Zend OPcache
Nextcloud version: 17.0.1 - 17.0.1.1
files_external: 1.8.0
Side notes