server
                                
                                 server copied to clipboard
                                
                                    server copied to clipboard
                            
                            
                            
                        [Bug]: Logo not showing in header after the update (FIX)
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not 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 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.
Bug description
After one update the logo in header just disappeared and I've been trying all solutions of other people but none of them worked. No future updates fixed it so I found a solution myself.
How to fix the bug
- Go to /var/www/nextcloud/.
- Write command "sudo -u www-data php occ config:system:get instanceid". You'll get your instance ID. Remember how it looks, you don't need to remember the whole thing.
- Go to your nextcloud data directory (it might be "/var/www/nextcloud/data/" or something like "/mnt/ncdata/").
- You should find a folder "appdata_yourinstanceid". Open it.
- Go to theming/global/images. There should be files like "background", "logo" and something else (but no file "logoheader").
- Copy file "logo" to "logoheader" with the command "sudo cp logo logoheader".
- After these steps, you should see the logo in header.
Expected behavior
After these steps, the logo should appear.
Installation method
Community Manual installation with Archive
PHP engine version
PHP 8.1
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)
What user-backends are you using?
- [ ] Default user-backend (database)
- [X] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Hi, which NC version?
Hi, which NC version? NC 25.0.2.3
Confirming this issue with 25.0.2 (just upgraded) resetting to default does not fix. Have not tired the manual method as yet.
EDIT Unable to try the manual fix. My install on Unraid does not seem to have the same folder structure (I do not have a folder called "data") Or at least it isn't held withing appdata/nextcloud.
Should that issue be fixed in NC 25.0.3? I have now the normal logo instead of the header logo in the header.
After updating from 25.02.3 to 25.0.3.2 the logo (login screen) and the logo-header (upper left corner in the web frontend) have disappeared. Only alternative text (name-value from settings) is displayed. The logo remained in the Android app.
I tried:
- The workaround from @mattiosystems
no files where missing or corrupted
- Reset to default
nothing changed, no default logo was displayed
- Upload header logo again
no logo was displayed. The only thing what changed was (sql-query):
SELECT * FROM `oc_appconfig` WHERE `appid` LIKE 'theming';
showed me a new cachebuster value and a new directory with that number was created in the appdata directory. But the behavior in the web frontend hasn't changed: no logo in the login screen, no header logo in the upper left corner, only alternative text.
Here my current theming config:
- name: nextcloud on mycloud.tld
- url: https://mycloud.tld
- imprintUrl:
- privacyUrl:
- slogan: The flexible open source file synchronization and sharing solution.
- color: #60b0f4
- disable-user-theming: yes
- background: image/jpeg
- logo: image/png
- favicon: image/vnd.microsoft.icon
- logoheader: image/png
What can i do, to get it work again?
I have also tried uploading the logos as SVG files but still no luck. Has anyone else experienced this issue or have any suggestions on what could be causing it? I would greatly appreciate any help or guidance on resolving this. Thank you.
should be fixed with 25.0.4
I've also noticed when upgrading my private instance from 24.0.9 to 25.0.3 that the custom instance background image (visible on the login screen) disappears after the upgrade. @szaimen are you aware of this problem (maybe similar to this issue) ?
Yesx the migration didnt work until 25.0.4. So you need to add your assets back manually or restore a backup and only upgrade to 25 after 25.0.4 is out.
OK, I fixed it for me, I patched my installation with this revert and now my logo is back.
I have also tried uploading the logos as SVG files but still no luck.
Same here on 25.0.4, we have switched back to old png logos.
Just upgraded my instance from 24 zo 25.0.4 and it kept the theming asstets