### ⚠️ This issue respects the following points: ⚠️
- [X] This is a **bug**, no…t a question or a configuration/webserver/proxy issue.
- [X] This issue is **not** already reported on Github _(I've searched it)_.
- [X] Nextcloud Server **is** up to date. See [Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
- [X] Nextcloud Server **is** running on 64bit capable CPU, PHP and OS.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Bug description
Hello guys, I have more than a week dealing with a serious problem with my nextcloud installation, I tried to test many things before writing here
I have a nextcloud installation for months that I use to share content with family, friends and clients, I have been using cloudflare's R2 as primary S3 storage, everything worked great for months, until a week ago the installation is completely broken and no shows the files, if it tries to open a previously shared url if it shows the list of files but when trying to play or load them an error is shown, I already did a new installation, but when configuring S3 as primary storage it returns and breaks, it does not load the css styles of the installation, I will leave some screenshots of how it is shown
### Steps to reproduce
1. create a new installation of nextcloud version 24.0.5
2. configure s3 as primary storage
3. the installation is completely broken
### Expected behavior
that everything works correctly as this great software does
### Installation method
Community Web installer on a VPS or web space
### Operating system
Debian/Ubuntu
### PHP engine version
PHP 8.0
### Web server
Apache (supported)
### Database engine version
MariaDB
### Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
### Are you using the Nextcloud Server Encryption module?
_No response_
### What user-backends are you using?
- [X] Default user-backend _(database)_
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Configuration report
```shell
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"158.69.0.213"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "24.0.5.1",
"overwrite.cli.url": "http:\/\/158.69.0.213",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"skeletondirectory": "",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"dbindex": 5,
"password": "***REMOVED SENSITIVE VALUE***",
"timeout": 1.5
},
"theme": "",
"loglevel": 0,
"logfile": "\/var\/www\/vhosts\/files.log",
"default_phone_region": "CO",
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"updater.release.channel": "stable",
"objectstore": {
"class": "\\OC\\Files\\ObjectStore\\S3",
"arguments": {
"bucket": "nextcloud",
"autocreate": false,
"key": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"hostname": "7ea0e644ac8bc2e985b18c6d7953ef47.r2.cloudflarestorage.com",
"port": 443,
"use_ssl": true,
"region": "auto",
"use_path_style": true
}
},
"filelocking.enabled": false,
"htaccess.RewriteBase": "\/",
"forwarded_for_headers": [
"HTTP_X_FORWARDED_FOR"
],
"enabledPreviewProviders": [
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\OpenDocument",
"OC\\Preview\\Krita",
"OC\\Preview\\MP4",
"OC\\Preview\\Movie",
"OC\\Preview\\Imaginary"
],
"preview_imaginary_url": "http:\/\/158.69.0.213:9000\/",
"preview_max_x": 500,
"preview_max_y": 500,
"maintenance": false
}
}
```
### List of activated Apps
```shell
Enabled:
- activity: 2.16.0
- bruteforcesettings: 2.4.0
- cloud_federation_api: 1.7.0
- csp_editor: 1.1.0
- dashboard: 7.4.0
- dav: 1.22.0
- federatedfilesharing: 1.14.0
- federation: 1.14.0
- files: 1.19.0
- files_external: 1.16.1
- files_rightclick: 1.3.0
- files_sharing: 1.16.2
- files_trashbin: 1.14.0
- files_videoplayer: 1.13.0
- logreader: 2.9.0
- lookup_server_connector: 1.12.0
- nextcloud_announcements: 1.13.0
- notifications: 2.12.1
- oauth2: 1.12.0
- password_policy: 1.14.0
- photos: 1.6.0
- privacy: 1.8.0
- provisioning_api: 1.14.0
- serverinfo: 1.14.0
- settings: 1.6.0
- theming: 1.15.0
- twofactor_backupcodes: 1.13.0
- updatenotification: 1.14.0
- user_status: 1.4.0
- viewer: 1.8.0
- workflowengine: 2.6.0
Disabled:
- accessibility: 1.10.0
- admin_audit
- announcementcenter: 6.3.1
- backup: 1.1.3
- cfg_share_links: 2.0.0
- circles: 24.0.1
- comments: 1.14.0
- contactsinteraction: 1.5.0
- encryption
- external: 4.0.0
- files_pdfviewer: 2.5.0
- files_versions: 1.17.0
- firstrunwizard: 2.13.0
- impersonate: 1.11.0
- previewgenerator: 5.0.0
- recommendations: 1.3.0
- registration: 1.5.0
- sharebymail: 1.14.0
- support: 1.7.0
- survey_client: 1.12.0
- systemtags: 1.14.0
- text: 3.5.1
- user_ldap
- user_migration: 1.1.0
- weather_status: 1.4.0
```
### Nextcloud Signing status
```shell
No errors have been found.
```
### Nextcloud Logs
```shell
{"reqId":"Yzr07ZAl16LwBjxqKRxiSQAAAA8","level":0,"time":"2022-10-03T14:42:54+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/dashboard/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr07ZAl16LwBjxqKRxiSQAAAA8","level":0,"time":"2022-10-03T14:42:54+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/dashboard/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr07ZAl16LwBjxqKRxiSQAAAA8","level":0,"time":"2022-10-03T14:42:54+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/dashboard/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr07ZAl16LwBjxqKRxiSQAAAA8","level":0,"time":"2022-10-03T14:42:54+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/dashboard/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr07ZAl16LwBjxqKRxiSQAAAA8","level":0,"time":"2022-10-03T14:42:54+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/dashboard/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr07ZAl16LwBjxqKRxiSQAAAA8","level":0,"time":"2022-10-03T14:42:54+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/dashboard/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr08pAl16LwBjxqKRxiTAAAABc","level":0,"time":"2022-10-03T14:42:59+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr08pAl16LwBjxqKRxiTAAAABc","level":0,"time":"2022-10-03T14:42:59+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr08pAl16LwBjxqKRxiTAAAABc","level":0,"time":"2022-10-03T14:42:59+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr08pAl16LwBjxqKRxiTAAAABc","level":0,"time":"2022-10-03T14:42:59+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr08pAl16LwBjxqKRxiTAAAABc","level":0,"time":"2022-10-03T14:42:59+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/files/","message":"SCSSCacher::isCached 9b08-0323-icons.css isCachedCache is expired or unset","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr08pAl16LwBjxqKRxiTAAAABc","level":0,"time":"2022-10-03T14:42:59+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/files/","message":"SCSSCacher::isCached 9b08-0323-icons.css dependencies successfully cached for 5 minutes","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr08pAl16LwBjxqKRxiTAAAABc","level":0,"time":"2022-10-03T14:42:59+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr08pAl16LwBjxqKRxiTAAAABc","level":0,"time":"2022-10-03T14:42:59+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr08pAl16LwBjxqKRxiTAAAABc","level":0,"time":"2022-10-03T14:42:59+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"scss_cacher","method":"GET","url":"/apps/files/","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"scss_cacher"}}
{"reqId":"Yzr0800Mag8KBHrb-gRt2wAAAQ0","level":3,"time":"2022-10-03T14:42:59+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"PHP","method":"GET","url":"/css/files_sharing/9b08-0323-icons.css?v=7b9e9931979bc025b39295473ae35fe7-9b088ce7-16","message":"fopen(httpseek://): Failed to open stream: "OC\\Files\\Stream\\SeekableHttpStream::stream_open" call failed at /var/www/vhosts/158.69.0.213/nextcloud/lib/private/Files/Stream/SeekableHttpStream.php#67","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","exception":{"Exception":"Error","Message":"fopen(httpseek://): Failed to open stream: "OC\\Files\\Stream\\SeekableHttpStream::stream_open" call failed at /var/www/vhosts/158.69.0.213/nextcloud/lib/private/Files/Stream/SeekableHttpStream.php#67","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/vhosts/158.69.0.213/nextcloud/lib/private/Files/Stream/SeekableHttpStream.php","line":67,"function":"fopen"},{"file":"/var/www/vhosts/158.69.0.213/nextcloud/lib/private/Files/ObjectStore/S3ObjectTrait.php","line":88,"function":"open","class":"OC\\Files\\Stream\\SeekableHttpStream","type":"::"},{"file":"/var/www/vhosts/158.69.0.213/nextcloud/lib/private/Files/ObjectStore/ObjectStoreStorage.php","line":312,"function":"readObject","class":"OC\\Files\\ObjectStore\\S3","type":"->"},{"file":"/var/www/vhosts/158.69.0.213/nextcloud/lib/private/Files/Storage/Common.php","line":197,"function":"fopen","class":"OC\\Files\\ObjectStore\\ObjectStoreStorage","type":"->"},{"file":"/var/www/vhosts/158.69.0.213/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":247,"function":"file_get_contents","class":"OC\\Files\\Storage\\Common","type":"->"},{"file":"/var/www/vhosts/158.69.0.213/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":264,"function":"file_get_contents","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/vhosts/158.69.0.213/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/vhosts/158.69.0.213/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/vhosts/158.69.0.213/nextcloud/lib/base.php","line":1030,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/vhosts/158.69.0.213/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/vhosts/158.69.0.213/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Yzr09ZAl16LwBjxqKRxiUQAAABM","level":1,"time":"2022-10-03T14:43:02+00:00","remoteAddr":"181.63.21.109","user":"admin","app":"theming","method":"GET","url":"/apps/theming/favicon/files?v=16","message":"The image was requested to be no SVG file, but converting it to PNG failed: Zero size image string passed","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","data":{"app":"theming"}}
```
### Additional info
![image](https://user-images.githubusercontent.com/26192834/193611168-751dc515-b628-4dd9-a142-1ef353b1bcd7.png)
![image](https://user-images.githubusercontent.com/26192834/193611668-7b73d2aa-4e04-422f-b844-1edf0766381e.png)