Steps to reproduce
1.Create a server with S3 primary storage and Onlyoffice document server
2.Add a google drive external storage
3.Move files from external_storage to main storage
Expected behaviour
Files should be accessible and downloadable
Actual behaviour
Files appear with name and size but when i try to view or download them i get this error:
Server configuration
Operating system: ubuntu-jammy-22.04-amd64-server
Web server:
Database: SQLite
PHP version:
ownCloud version: 10.14.0.3
Updated from an older ownCloud or fresh install: fresh install
Where did you install ownCloud from: Docker Compose :latest
https://gist.github.com/tanjonaaa/9428ec4e4e6b8a83ad4558c7cc6b0496
The content of config/config.php:
{
"basic": {
"license key": "***REMOVED SENSITIVE VALUE***",
"date": "Mon, 22 Apr 2024 05:50:43 +0000",
"ownCloud version": "10.14.0.3",
"ownCloud version string": "10.14.0",
"ownCloud edition": "Community",
"server OS": "Linux",
"server OS version": "Linux dc52cf893352 6.5.0-1016-aws #16~22.04.1-Ubuntu SMP Wed Mar 13 18:54:49 UTC 2024 x86_64",
"server SAPI": "apache2handler",
"webserver version": "Apache",
"hostname": "***REMOVED SENSITIVE VALUE***",
"logged-in user": "admin"
},
"stats": {
"users": {
"Database": {
"total_count": "***REMOVED SENSITIVE VALUE***",
"guest_count": "***REMOVED SENSITIVE VALUE***",
"seen": "***REMOVED SENSITIVE VALUE***",
"logged in (30 days)": "***REMOVED SENSITIVE VALUE***"
}
},
"groups": {
"OC\\Group\\Database": "***REMOVED SENSITIVE VALUE***"
}
},
"config": {
"apps_paths": [
{
"path": "\/var\/www\/owncloud\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/owncloud\/custom",
"url": "\/custom",
"writable": true
}
],
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "\/mnt\/data\/files",
"dbtype": "sqlite",
"dbhost": "",
"dbname": "owncloud",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"log_type": "owncloud",
"supportedDatabases": [
"sqlite",
"mysql",
"pgsql"
],
"upgrade.disable-web": true,
"default_language": "en",
"overwrite.cli.url": "http:\/\/localhost\/",
"htaccess.RewriteBase": "\/",
"logfile": "\/mnt\/data\/files\/owncloud.log",
"memcache.local": "\\OC\\Memcache\\APCu",
"filelocking.enabled": true,
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"version": "10.14.0.3",
"allow_user_to_change_mail_address": "",
"logtimezone": "UTC",
"installed": true,
"instanceid": "ocaep8jmmzbn",
"objectstore": {
"class": "OCA\\Files_Primary_S3\\S3Storage",
"arguments": {
"bucket": "***REMOVED SENSITIVE VALUE***",
"part_size": "5242880",
"concurrency": "3",
"options": {
"endpoint": "https:\/\/s3.eu-west-3.amazonaws.com",
"version": "2006-03-01",
"region": "***REMOVED SENSITIVE VALUE***",
"use_path_style_endpoint": false,
"command.params": {
"PathStyle": false
},
"credentials": {
"key": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***"
}
}
}
},
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtpsecure": "ssl",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"loglevel": 4
},
"integritychecker": {
"passing": true,
"enabled": true,
"result": []
},
"core": {
"installedat": "1712650511.6026",
"lastupdatedat": "1713763399",
"public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
"public_files": "files_sharing\/public.php",
"first_install_version": "10.14.0.3",
"backgroundjobs_mode": "cron",
"lastcron": "1713765006",
"lastupdateResult": "[]",
"enable_external_storage": "yes",
"allow_user_mount_sharing": "no"
}
}
List of activated apps:
- S3 Primary object storage
- ONLYOFFICE
Are you using external storage, if yes which one: Google Drive
Are you using encryption: no