Nextcloud - Default phone region resets after nextcloud update

What app is this about, and its version: Nextcloud, 32.0.4
What YunoHost version are you running: 12.1.39
What type of hardware are you using: Raspberry Pi 3, 4+

Describe your issue

A nextcloud overview security & setup warning.

This can be fixed by setting default_phone_region
in /var/www/nextcloud/config/config.php,
but this resets itself after a nextcloud update.

Share relevant logs or error messages

Default phone region
Your installation has no default phone region set. This is required to validate phone numbers in the profile settings without a country code. To allow numbers without a country code, please add “default_phone_region” with the respective ISO 3166-1 code of the region to your config file.

In fact, manually defined parameters are not kept. I do not see how to keep them after every new update.

In config.php

‘default_phone_region’ => ‘GB’,

Then :

systemctl restart php8.3-fpm.service

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.