Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

14 RC2: problems with logo and favicon #10957

Closed
stephanedupont opened this issue Sep 1, 2018 · 11 comments · Fixed by #10963
Closed

14 RC2: problems with logo and favicon #10957

stephanedupont opened this issue Sep 1, 2018 · 11 comments · Fixed by #10963

Comments

@stephanedupont
Copy link

stephanedupont commented Sep 1, 2018

Hello,

Since 14 RC2, my custom uploaded logo, login image and favicon are not appearing.

To be sure, I reset everything in the theming app settings and uploaded logo, login image and favicon again.

  • The logo is not appearing in the top-left of the page
  • The login image is not appearing on the login page
  • The favicon is correct only when I'm on the theming app page, on all other pages, the Nextcloud icon is displayed instead.

I've got the exact same configuration on a 13.0.5 server and it works perfectly.

Are others having the same problem? What can I do to help?

Best,
Stéphane.

Operating system: Debian Jessie

Web server: Apache2

Database: Mysql

PHP version: 7.0.31-1~dotdeb+8.1

Nextcloud version: 14 RC2

Updated from an older Nextcloud/ownCloud or fresh install: from 14 RC1

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Enabled:
  - accessibility: 1.0.1
  - activity: 2.7.0
  - admin_audit: 1.4.0
  - bruteforcesettings: 1.1.0
  - cloud_federation_api: 0.0.1
  - comments: 1.4.0
  - dav: 1.6.0
  - federatedfilesharing: 1.4.0
  - federation: 1.4.0
  - files: 1.9.0
  - files_sharing: 1.6.2
  - files_texteditor: 2.6.0
  - files_trashbin: 1.4.1
  - files_versions: 1.7.1
  - files_videoplayer: 1.3.0
  - firstrunwizard: 2.3.0
  - gallery: 18.1.0
  - impersonate: 1.1.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.2.0
  - nextcloud_announcements: 1.3.0
  - notifications: 2.2.1
  - oauth2: 1.2.1
  - password_policy: 1.4.0
  - provisioning_api: 1.4.0
  - serverinfo: 1.4.0
  - sharebymail: 1.4.0
  - sharerenamer: 2.1.0
  - support: 1.0.0
  - survey_client: 1.2.0
  - systemtags: 1.4.0
  - theming: 1.5.0
  - twofactor_backupcodes: 1.3.1
  - twofactor_totp: 1.5.0
  - updatenotification: 1.4.1
  - workflowengine: 1.4.0
Disabled:
  - encryption
  - files_external
  - files_pdfviewer
  - user_external
  - user_ldap

Nextcloud configuration:

Config report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.eluna.org"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/cloud.eluna.org",
        "dbtype": "mysql",
        "version": "14.0.0.18",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "forcessl": true,
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "theme": "",
        "maintenance": false,
        "secret": "***REMOVED SENSITIVE VALUE***",
        "appstore.experimental.enabled": true,
        "loglevel": 0,
        "trashbin_retention_obligation": "auto",
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "updater.release.channel": "beta",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

Are you using external storage, if yes which one: no

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration

Browser: Tested on Chrome and Firefox.

Operating system: Windows 10 64

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #9356 (problem with updater ), #4796 (theming: black logo elements are transparent in favicon), #2339 (translation problem), #4908 (Problem upgrading NextCloud), and #9152 (Problem renaming folders).

@MarcMichalsky
Copy link
Contributor

I have the same problem.

@moretocome
Copy link

I have the same issue with my login image. The image file seems to upload and save correctly in the "Theming" settings, but it does not display neither in the settings or at the login image.

I see this in the log, when I try to change the image SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-3b108bce1d45af8482e71b8451741fb8' for key 'fs_storage_path_hash'

Full log entry:

Doctrine\DBAL\Exception\UniqueConstraintViolationException: An exception occurred while executing 'INSERT INTO `oc_filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0' with params ["10", "16", 1535876148, 0, "82b4ce99be70e362ec1749da20558ade", 1535876148, 27, 11448, "", "3b108bce1d45af8482e71b8451741fb8", "appdata_ocs316lgfi81\/css\/core\/b36a-6c39-results.css", "b36a-6c39-results.css", 1, 1, "3b108bce1d45af8482e71b8451741fb8"]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-3b108bce1d45af8482e71b8451741fb8' for key 'fs_storage_path_hash'

@weeman1337
Copy link
Member

I can confirm a custom logo doesn't appear. Will have a look at this!

@weeman1337 weeman1337 self-assigned this Sep 2, 2018
@weeman1337 weeman1337 added the 2. developing Work in progress label Sep 2, 2018
@weeman1337
Copy link
Member

@stephanedupont do you expect the favicon to be the same as the logo or did you upload a custom one here:
image

For me the favicon is working so far...

@stephanedupont
Copy link
Author

@weeman1337 Tried both. Did not expect the favicon to be the same, but even when uploading a custom favicon, it works only when in the Theming page, as soon as I leave it disappear.

@stephanedupont
Copy link
Author

@weeman1337 if you have trouble reproducing this and you want me to provide you an access to my instance, please email me at stephane.dupont.be@gmail.com

@weeman1337
Copy link
Member

The logo thing was easy to solve..

For the favicon I found out that SVG icons aren't supported without imagemagick installed.
I changed the theming app to prevent uploading SVG favicons if imagemagick isn't there:
image

@stephanedupont
Copy link
Author

@weeman1337 The favicon is not working even if it's a PNG file (and imagemagick is installed on my instance)

@weeman1337
Copy link
Member

@stephanedupont there is another change in that should solve this, too. Please check after the next release.

@weeman1337 weeman1337 removed the 2. developing Work in progress label Sep 2, 2018
@stephanedupont
Copy link
Author

OK, great, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants