[Bug]: Setting the background image with occ invalidates the integrity check #36654
Closed
6 of 9 tasks
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
25-feedback
bug
feature: occ
feature: theming
needs info
stale
Ticket or PR with no recent activity
Bug description
I've followed the docs on how to configure theming with
occ
and set a background image, but after doing that the integrity check fails because of a new file:The weird thing is: the original file is located at
/background.jpg
with 185696 bytes, but the failed file located at/var/www/html/apps/theming/background/background.jpg
has 145524 bytes and is not even readable by a photo viewer. So i'm not sure whats happening here.Note: I'm running Nextcloud in Kubernetes, installed with the official helm chart.
Steps to reproduce
su -p www-data -s /bin/sh -c "php occ theming:config background /background.jpg"
Expected behavior
The integrity check should not fail.
Installation method
Community Docker image
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Nothing relevant to that issue, but i'm seeing a lot of `"Exception":"Error","Message":"Array to string conversion at /var/www/html/lib/private/Log/Errorlog.php#46"`, which is a fixed bug (#35614) but not yet released for version 25.
Additional info
No response
The text was updated successfully, but these errors were encountered: