Invalid cliBasedCronUser data provided to provideInitialState by settings

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): Truecharts App Version: 28.0.1
Operating system and version (eg, Ubuntu 20.04): TrueNAS-SCALE-23.10.1.1
Apache or nginx version (eg, Apache 2.4.25): as installed by truecharts
PHP version (eg, 7.4): as installed by true charts

The issue you are facing: log errors

  1. no app in context Invalid cliBasedCronUser data provided to provideInitialState by settings

  2. PHP Trying to access array offset on value of type bool at /var/www/html/apps/settings/lib/Settings/Admin/Server.php#76

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

Steps to replicate it:

  1. Install via truenas charts on latest install
  2. visit basic settings page
  3. view logs

The output of your Nextcloud log in Admin > Logging:

![Screenshot 2024-01-20 215600|690x112](upload://xtCWUw8c87syqklaYwRtabht2Ag.png)

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

unknown - as installed by truenas charts

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

Unknown

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.

PASTE HERE