Closed PatrickJosh closed 3 months ago
Same issue here, changing the color to another code does not correct the green icon.
Moving from imagick 6 to 7 fix the issue.
same issue here Centos 7 based rpm -q ImageMagick ImageMagick-6.9.10.68-7.el7_9.x86_64
It happened while just changing the name of the site, without changing any logo or color. Moving to ImageMagick 7 is not an easy solution on this distro (however there is a rpm available on remi) and might break some other softwares depending on the 6.9 version.
I however had tried ImageMagick7 from remi and it does not fixes the green favicon logo when using default blue color, even after changing multiple time, however, I can say that other colors seems less off the selected color (pink is more orange when using ImageMagick-6.9)
addendum : removing rpm -e --nodeps php74-php-pecl-imagick-im6 php81-php-pecl-imagick-im6 and adding yum install php81-php-pecl-imagick-im7 php74-php-pecl-imagick-im7 will fixe this after changing to another color and getting back
this is however something that can not be done only via yum as those rpms are conlicting and not replacing each others ( I had to do the same rpm -e --nodeps for Imagemagick to ImageMagick7) so better approach would be to have the code to check what is the installed version of imagemagick
I was already using ImageMagick 7 when the issue arose. So at least in my case, it does not fix the problem.
I noticed that I, contrary to what I said before, was actually still using ImageMagick 6. After upgrading to 7 and changing the colour again, the favicons are actually rebuilt with the correct colour. Hence, I consider this issue solved.
⚠️ This issue respects the following points: ⚠️
Bug description
I recently changed some settings regarding theming and experimented with different colour schemes. Then, I wanted to return to the default colour scheme. However, the favicons don't return to the default colour, but to
#008200
, while all other buttons etc. use the default#0082c9
again. I have tried multiple things to return to the default colour again, but none work. I cannot remember having set#008200
in the past , but I cannot guarantee that. I have also tried switching off user theming, but that did not change anything. If the user has selected the default colour, then#008200
is used for the favicons instead as well.I also had a look into the directories at
appdata_xxxx/theming/global
. After changing the colour back to normal, a new folder is created. The favicons in this folder are labelled with the correct colour (#0082c9
), but have the wrong one (#008200
).Steps to reproduce
#0082c9
#0082c9
, either by selecting it or by using the ‘restore default’-button next to the colour picker.Expected behavior
Favicon colour changed back to
#0082c9
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
Operating system
RHEL/CentOS
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
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
Additional info
I already scanned the log for errors regarding theming, besides multiple errors like the one I above, nothing related to theming is found. However, although the error denotes that the folder could not be created, it is created anyway.
Might this be related to #42954 or #43054?