What is wrong about my config.php?

There is a lot which is wrong!

simply false as value is wrong, since this is not a boolean value:

/**
 * This sets the default region for phone numbers on your Nextcloud server,
 * using ISO 3166-1 country codes such as ``DE`` for Germany, ``FR`` for France, …
 * It is required to allow inserting phone numbers in the user profiles starting
 * without the country code (e.g. +49 for Germany).
 *
 * No default value!
 */
'default_phone_region' => 'GB',

There is a typo ( → a ← mbedded)
this should be

  'knowledgebase.embedded' => false,

There are no paths here. Paths must be entered as values ​​in quotes and lines must end with a comma.


There is a typo (coo → c ← kie)
this should be:

  'remember_login_cookie_lifetime' => 60*60*24*15,

This is used to close an array of values ​​that has not been opened before, so this closing bracket does not belong there.

That’s what I noticed immediately.

If possible, you shouldn’t edit the config.php directly, but → make the entries with occ as intended ← . This avoids errors like these that were caused by brute force.

If you still have problems with occ, you could try the occ wrapper nc-occ, which builds the commands interactively with you and also works for Nextcloud All-In-One.

h.t.h.


Much and good luck,
ernolf

3 Likes