Custom theme results in failed integrity check

modifications

#1

I created a custom theme based on the documentation: https://doc.owncloud.com/server/10.0/developer_manual/core/theming.html

According to this doc:
You only need to sign your theme if you are going to publish it as an app in the marketplace. If you are only creating a private theme for your own ownCloud installation, then you can get rid of the signature file.

However this throws several integrity check errors.

Using latest version 10.0.4


#2

Hi,

  1. You can sign your theme, to avoid the error.

  2. You can exclude your theme directory from integrity check or turn off integrity check completely in your config.php

    'excluded_directories' =>
    array (
    '.snapshot',
    '~snapshot',
    ),
    /**
    * Exclude files from the integrity checker command
    */
    'integrity.excluded.files' =>
    array (
    '.DS_Store',
    'Thumbs.db',
    '.directory',
    '.webapp',
    '.htaccess',
    '.user.ini',
    ),


#3

adding excluded_directories did the trick - thx.

Maybe you also know why the image on the login page does not change despite I added a custom logo-icon.svg. It works after login. According to the doc it's the same image:

The logo at the login-page above the credentials-box General owncloud/core/img/logo-icon.svg
The logo in the left upper corner after login owncloud/core/img/logo-icon.svg


#4

Could it be a cache issue? try maybe a different browser or clearing the cache


#5

Nah, already looked into that. Also switching back and forth works fine on the logo after login.


#6

So the custom Images changes after you log in and log out?

Just trying to understand your issue

edit:
Can you open a new issue for that issue so it's esier for other people to track?


#7

when updating the various logo files (logo-icon, logo etc), the one on the login page (logo.svg) does not change, only the one after login. However on the sample theme it does work. So I wonder if there is something specific about the .svg file.

I'll create a new issue for this.


#8

I found the issue with the logo not updating. In your theme you must have styles.css & header.css as well otherwise the custom logo is not loading. Of course, this also means you need to copy all the other images as well as the path otherwise does not match.