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
The cronjob finishes, but gives a deprecation warning:
PHP Deprecated: Required parameter $internalPath follows optional parameter $mountId in /var/www/nextcloud/public/lib/private/Files/Config/CachedMountFileInfo.php on line 34
Server configuration detail
Operating system: Linux 5.10.0-0.bpo.4-amd64 #1 SMP Debian 5.10.19-1~bpo10+1 (2021-03-13) x86_64
i.e. added a default value for $internalPath
And the error went away.
(Come to think of it, I think I might actually have done so for version 21.0.0 as well but forgot to report the issue...)
But maybe a better solution would be to instead remove all default values, as apparently they are always all present anyway, or there would have been errors about missing $internalPath?
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Run the Nextcloud cronjob:
Expected behaviour
No problems
Actual behaviour
The cronjob finishes, but gives a deprecation warning:
Server configuration detail
Operating system: Linux 5.10.0-0.bpo.4-amd64 #1 SMP Debian 5.10.19-1~bpo10+1 (2021-03-13) x86_64
Webserver: Apache (apache2handler) behind Nginx proxy
Database: pgsql PostgreSQL 11.11 (Debian 11.11-0+deb10u1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
PHP version: 8.0.3
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, apache2handler, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, ldap, exif, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
Nextcloud version: 21.0.1 - 21.0.1.1
Updated from an older Nextcloud/ownCloud or fresh install: updated from 21.0.0
Where did you install Nextcloud from: migrated from OwnCloud a long time ago
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: No
Client configuration
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
Operating system: Debian 5.10.19-1~bpo10+1
Workaround/fix
I manually changed
server/lib/private/Files/Config/CachedMountFileInfo.php
Line 34 in 1f0fddb
from
to
i.e. added a default value for
$internalPath
And the error went away.
(Come to think of it, I think I might actually have done so for version 21.0.0 as well but forgot to report the issue...)
But maybe a better solution would be to instead remove all default values, as apparently they are always all present anyway, or there would have been errors about missing
$internalPath
?The text was updated successfully, but these errors were encountered: