After upgrade to NC12 own theme not working

I have just upgraded to NC 12, and now it reverts back to the default theme.

I have in config.php the line:

theme => '<theme>';

and have the subfolder: /var/www/nextcloud/themes/<theme>

The tree-structure for the theme folder is:

├── core
│   ├── css
│   │   └── styles.css
│   └── img
│       ├── 1920x1080
│       │   ├── 01-Early-Morning.jpg
│       │   ├── 01-Early-Morning.png
│       │   ├── 02-Mid-Morning.jpg
│       │   ├── 02-Mid-Morning.png
│       │   ├── 03-Late-Morning.jpg
│       │   ├── 03-Late-Morning.png
│       │   ├── 04-Early-Afternoon.jpg
│       │   ├── 04-Early-Afternoon.png
│       │   ├── 05-Mid-Afternoon.jpg
│       │   ├── 05-Mid-Afternoon.png
│       │   ├── 06-Late-Afternoon.jpg
│       │   ├── 06-Late-Afternoon.png
│       │   ├── 07-Early-Evening.jpg
│       │   ├── 07-Early-Evening.png
│       │   ├── 08-Mid-Evening.jpg
│       │   ├── 08-Mid-Evening.png
│       │   ├── 09-Late-Evening.jpg
│       │   ├── 09-Late-Evening.png
│       │   ├── 10-Early-Night.jpg
│       │   ├── 10-Early-Night.png
│       │   ├── 11-Mid-Night.jpg
│       │   ├── 11-Mid-Night.png
│       │   ├── 12-Late-Night.jpg
│       │   └── 12-Late-Night.png
│       ├── background.jpg -> /var/www/nextcloud/themes/<theme>/core/img/1920x1080/05-Mid-Afternoon.jpg
│       ├── favicon-fb.png
│       ├── favicon.ico
│       ├── favicon.png
│       ├── favicon-touch.png
│       ├── favicon-touch.svg
│       ├── logo-icon.png
│       ├── logo-mail.gif
│       └── logo.png

But none of my logo’s or background is shown. I have also disabled the Theming app and that didn’t change anything.

Nothing in the logs points to an issue.

Had this problem too and noticed that the example also doesn’t load its logo…

My Workarrond:
Deaktivate your theme, use the theming app to link the logo and Picture and than activate your theme…

That will not work for me since I make some more (minor) changes to the CSS.

I can see that my fav-icon is loaded from the correct path, but nothing else.

Looking at the core/css folder I can see the structure has changed and also the files have .scss as extention.

When I copy server.scss to /themes/[theme]/core/css the file is not loaded, if i rename it to .css I can see it is loaded.

Also the file variables.scss is nowhere loaded in any of the other scss files.

The documentation on the NC website looks like it is still referring to the old structure.

GitHub issue! :slight_smile:

OK will do. Thanks :slight_smile:

1 Like

NC version 12.0.1 has fixed this issue and many other issues.

Thanks team.