Bumping because I realized a month after taking a day to upgrade from 22.x to 28.0.1, I cannot share a folder to another user without the logs getting spammed with 500-response errors.
For the folder share, only one file in each folder successfully synced to the client PC with the remaining 19 (as part of that same share) errored out.
As with @siriwliw98, I have nothing to go on from here. I upgraded, then encyption/decryption only selectively works.
[PHP Modules] bcmath bz2 calendar Core ctype curl date dom exif FFI fileinfo filter ftp gd gettext gmp hash iconv igbinary intl json libxml mbstring memcache mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql Phar posix random readline redis Reflection session shmop SimpleXML sockets sodium SPL standard sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlwriter xsl Zend OPcache zip zlib
root@wwweb:/var/www/nextcloud# cat /etc/debian_version
12.4
root@wwweb:/var/www/nextcloud# php -version
PHP 8.2.7 (cli) (built: Jun 9 2023 19:37:27) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.7, Copyright (c) Zend Technologies
with Zend OPcache v8.2.7, Copyright (c), by Zend Technologies
root@wwweb:/var/www/nextcloud# sudo -u www-data php /var/www/nextcloud/occ config:list – system
{
“system”: {
“updatechecker”: false,
“instanceid”: “REMOVED SENSITIVE VALUE”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“192.168.1.114:8081”,
“192.168.1.114:8443”,
“REMOVED SENSITIVE VALUE”,
“REMOVED SENSITIVE VALUE”,
“REMOVED SENSITIVE VALUE”
],
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“overwrite.cli.url”: “http://192.168.1.114:8081”,
“dbtype”: “mysql”,
“version”: “28.0.1.1”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“logtimezone”: “UTC”,
“default_phone_region”: “CA”,
“installed”: true,
“minimum.supported.desktop.version”: “2.2.4”,
“theme”: “”,
“logfile”: “/var/www/nextcloud/data/nextcloud.log”,
“loglevel”: 0,
“filelocking.enabled”: true,
“memcache.local”: “\OC\Memcache\Redis”,
“memcache.distributed”: “\OC\Memcache\Redis”,
“memcache.locking”: “\OC\Memcache\Redis”,
“redis”: {
“host”: “REMOVED SENSITIVE VALUE”,
“port”: 0,
“timeout”: 0
},
“maintenance”: false,
“mysql.utf8mb4”: true,
“updater.release.channel”: “stable”,
“encryption.legacy_format_support”: false,
“encryption.key_storage_migrated”: false
}
}
root@wwweb:/var/www/nextcloud# sudo -u www-data php /var/www/nextcloud/occ app:list --shipped=false
Enabled:
- bookmarks: 13.1.3
- calendar: 4.6.4
- contacts: 5.5.1
- gpoddersync: 3.8.3
- mail: 3.5.5
- news: 24.0.0
- notes: 4.9.2
- tasks: 0.15.0
Disabled:
root@wwweb:/var/www/nextcloud# tail -2 /var/www/nextcloud/data/nextcloud.log
{“reqId”:“fdeKaUSnKM09Bd9BEwY2”,“level”:3,“time”:“2024-02-07T00:47:08+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“no app in context”,“method”:“”,“url”:“–”,“message”:“Cannot decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.”,“userAgent”:“–”,“version”:“28.0.1.1”,“data”:}
{“reqId”:“fdeKaUSnKM09Bd9BEwY2”,“level”:1,“time”:“2024-02-07T00:47:08+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“photos”,“method”:“”,“url”:“–”,“message”:“Failed to extract metadata for 920925”,“userAgent”:“–”,“version”:“28.0.1.1”,“exception”:{“Exception”:“OC\Encryption\Exceptions\DecryptionFailedException”,“Message”:“Cannot decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/Files/Stream/Encryption.php”,“line”:517,“function”:“decrypt”,“class”:“OCA\Encryption\Crypto\Encryption”,“type”:“->”,“args”:[“*** sensitive parameters replaced ***”]},{“file”:“/var/www/nextcloud/lib/private/Files/Stream/Encryption.php”,“line”:316,“function”:“readCache”,“class”:“OC\Files\Stream\Encryption”,“type”:“->”},{“function”:“stream_read”,“class”:“OC\Files\Stream\Encryption”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php”,“line”:55,“function”:“fread”},{“file”:“/var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php”,“line”:96,“function”:“stream_read”,“class”:“Icewind\Streams\Wrapper”,“type”:“->”},{“function”:“stream_read”,“class”:“Icewind\Streams\CallbackWrapper”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/photos/lib/Listener/ExifMetadataProvider.php”,“line”:75,“function”:“exif_read_data”},{“file”:“/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php”,“line”:86,“function”:“handle”,“class”:“OCA\Photos\Listener\ExifMetadataProvider”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php”,“line”:230,“function”:“__invoke”,“class”:“OC\EventDispatcher\ServiceEventListener”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php”,“line”:59,“function”:“callListeners”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php”,“line”:94,“function”:“dispatch”,“class”:“Symfony\Component\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php”,“line”:106,“function”:“dispatch”,“class”:“OC\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/FilesMetadata/FilesMetadataManager.php”,“line”:115,“function”:“dispatchTyped”,“class”:“OC\EventDispatcher\EventDispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/core/BackgroundJobs/GenerateMetadataJob.php”,“line”:108,“function”:“refreshMetadata”,“class”:“OC\FilesMetadata\FilesMetadataManager”,“type”:“->”},{“file”:“/var/www/nextcloud/core/BackgroundJobs/GenerateMetadataJob.php”,“line”:103,“function”:“scanFolder”,“class”:“OC\Core\BackgroundJobs\GenerateMetadataJob”,“type”:“->”},{“file”:“/var/www/nextcloud/core/BackgroundJobs/GenerateMetadataJob.php”,“line”:103,“function”:“scanFolder”,“class”:“OC\Core\BackgroundJobs\GenerateMetadataJob”,“type”:“->”},{“file”:“/var/www/nextcloud/core/BackgroundJobs/GenerateMetadataJob.php”,“line”:103,“function”:“scanFolder”,“class”:“OC\Core\BackgroundJobs\GenerateMetadataJob”,“type”:“->”},{“file”:“/var/www/nextcloud/core/BackgroundJobs/GenerateMetadataJob.php”,“line”:103,“function”:“scanFolder”,“class”:“OC\Core\BackgroundJobs\GenerateMetadataJob”,“type”:“->”},{“file”:“/var/www/nextcloud/core/BackgroundJobs/GenerateMetadataJob.php”,“line”:103,“function”:“scanFolder”,“class”:“OC\Core\BackgroundJobs\GenerateMetadataJob”,“type”:“->”},{“file”:“/var/www/nextcloud/core/BackgroundJobs/GenerateMetadataJob.php”,“line”:92,“function”:“scanFolder”,“class”:“OC\Core\BackgroundJobs\GenerateMetadataJob”,“type”:“->”},{“file”:“/var/www/nextcloud/core/BackgroundJobs/GenerateMetadataJob.php”,“line”:83,“function”:“scanFilesForUser”,“class”:“OC\Core\BackgroundJobs\GenerateMetadataJob”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/public/BackgroundJob/Job.php”,“line”:81,“function”:“run”,“class”:“OC\Core\BackgroundJobs\GenerateMetadataJob”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php”,“line”:102,“function”:“start”,“class”:“OCP\BackgroundJob\Job”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php”,“line”:92,“function”:“start”,“class”:“OCP\BackgroundJob\TimedJob”,“type”:“->”},{“file”:“/var/www/nextcloud/cron.php”,“line”:152,“function”:“execute”,“class”:“OCP\BackgroundJob\TimedJob”,“type”:“->”}],“File”:“/var/www/nextcloud/apps/encryption/lib/Crypto/Encryption.php”,“Line”:352,“Hint”:“Cannot decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.”,“message”:“Failed to extract metadata for 920925”,“exception”:{},“CustomMessage”:“Failed to extract metadata for 920925”}}
root@wwweb:/var/www/nextcloud#