25.0.1 - Can't set login background to solid color

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 25.0.1
Operating system and version (eg, Ubuntu 20.04): 20.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.41
PHP version (eg, 7.4): 7.4

The issue you are facing:
Login background defaults to Cloud image. Preview in Theming shows correctly.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Set Color in Theming
  2. Remove background and login image
  3. check login screen

The output of your Nextcloud log in Admin > Logging:

OCP\Files\NotPermittedException: Could not create folder

    /var/www/html/nextcloud/lib/private/Files/SimpleFS/SimpleFolder.php - line 106:

    OC\Files\Node\Folder->newFolder()

    /var/www/html/nextcloud/apps/theming/lib/ImageManager.php - line 165:

    OC\Files\SimpleFS\SimpleFolder->newFolder()

    /var/www/html/nextcloud/apps/theming/lib/ImageManager.php - line 180:

    OCA\Theming\ImageManager->getCacheFolder()

    /var/www/html/nextcloud/apps/theming/lib/Controller/IconController.php - line 90:

    OCA\Theming\ImageManager->getCachedImage()

    /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 225:

    OCA\Theming\Controller\IconController->getThemedIcon()

    /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 133:

    OC\AppFramework\Http\Dispatcher->executeController()

    /var/www/html/nextcloud/lib/private/AppFramework/App.php - line 172:

    OC\AppFramework\Http\Dispatcher->dispatch()

    /var/www/html/nextcloud/lib/private/Route/Router.php - line 298:

    OC\AppFramework\App::main()

    /var/www/html/nextcloud/lib/base.php - line 1047:

    OC\Route\Router->match()

    /var/www/html/nextcloud/index.php - line 36:

    OC::handleRequest()

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'randomstuff',
  'passwordsalt' => 'randomstuff',
  'secret' => '+randomstuff',
  'trusted_domains' => 
  array (
    0 => '192.168.1.20',
    1 => 'nextcloud.mydomin.com',
  ),
  'datadirectory' => '/var/www/html/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '25.0.1.1',
  'overwrite.cli.url' => 'http://nextcloud.mydomain.com/nextcloud',
  'overwriteprotocol' => 'https',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'randomstuff',
  'installed' => true,
  'trusted_proxies' => 
  array (
    0 => '192.168.1.238',
  ),
  'skeletondirectory' => '',
  'maintenance' => false,
  'updater.secret' => 'randomstuff',
  'theme' => '',
  'loglevel' => 2,
  'tempdirectory' => '/mnt/tmp',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'auth.bruteforce.protection.enabled' => false,
  'redis' => 
  array (
    'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
);

The output of your Apache/nginx/system log in /var/log/____:

Nov 20 16:06:56 nextcloud systemd[1]: Starting Ubuntu Advantage Timer for running repeated jobs...
Nov 20 16:06:57 nextcloud systemd[1]: ua-timer.service: Succeeded.
Nov 20 16:06:57 nextcloud systemd[1]: Finished Ubuntu Advantage Timer for running repeated jobs.

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

{"reqId":"Y2lrm2kL0cxD3ulEMJfH","level":3,"time":"2022-11-20T15:46:12+00:00","remoteAddr":"192.168.1.1","user":"nextcloud_user","app":"index","method":"GET","url":"/index.php/apps/theming/img/core/filetypes/file.svg?v=14","message":"Could not create folder","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"25.0.1.1","exception":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create folder","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/Files/SimpleFS/SimpleFolder.php","line":106,"function":"newFolder","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/html/nextcloud/apps/theming/lib/ImageManager.php","line":165,"function":"newFolder","class":"OC\\Files\\SimpleFS\\SimpleFolder","type":"->"},{"file":"/var/www/html/nextcloud/apps/theming/lib/ImageManager.php","line":180,"function":"getCacheFolder","class":"OCA\\Theming\\ImageManager","type":"->"},{"file":"/var/www/html/nextcloud/apps/theming/lib/Controller/IconController.php","line":90,"function":"getCachedImage","class":"OCA\\Theming\\ImageManager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"getThemedIcon","class":"OCA\\Theming\\Controller\\IconController","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1047,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/Files/Node/Folder.php","Line":165,"CustomMessage":"--"}}
1 Like