nextcloud phone region

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

I get the massage that I did not enter a phone region in nextcloud. There are instructions that I need to edit config.php but nowhere a sound instruction how to do that on a synology nas. I am just a determind user and have tried everything, to no avail.

But this should not be set in this way. There should be a field in the basis settings menu where you can add this. Just as you also add your email account there.

1 Like

have a look at this part of the official manual

you’ll have to put the parameter into the ../nextcloud/config/config.php

2 Likes

Dear Chrissi,

Thanks for your reaction, but this file is nowhere to be found on my synology nas. Certainly not under the docker map. I even installed double commander on my nas and searched for it. Nowhere to be found.

As I wrote I tried everything I could find in post on this and other forums.

Still I think this is not the way to do it. It should be a field in ‘basic settings’.

I don’t know how your configuration on a synology nas looks like but here is an older tutorial for that maybe it leads you to your correct config.php file..

and here is another one from 2023

To enter the cache in the Nextcloud configuration, open the file /web/Nextcloud/Config/config.php with PuTTy and add the following line at the end of the file (before the closing bracket):

is the mentioned path /web/Nextcloud/…. there in your’s?

Hi MarcelH, I assume this is the message you are seeing:

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 (..)

Others in this thread have already posted links on how to find config.php. What I would like to add is: Don’t worry if you can’t find this configuration! The message is purely informative. Nextcloud will continue to work even if you don’t set this option. The only restriction is that users can only enter the phone number in their profile with an area code.

Dear, Chrissi and mritzmann

These are all installation on de NAS itself and not on a docker container. The options to find config.php don´t work on an container.

But that is not my point. Changing a config file with a texteditor can be a workaround for a problem, but can´t be a sustainable solution. My suggestion to the developers would be to add a field in the ‘basic settings’ about the phone region. As is implemented for adding an emal account. Than anyone can solve this issue, not only software nerds.

Thanks for your help anyway.

I tried that one, but it did not work. But anyway I already spent way to much time on this issue and I would like the developers to make a more permanant solution instead of these workarounds.

Thanks again for trying to help me.

Then I suggest you open a feature request on GitHub: GitHub - nextcloud/server: ☁️ Nextcloud server, a safe home for all your data.

In the meantime, If you’re using the Docker images from GitHub - nextcloud/docker: ⛴ Docker image of Nextcloud, instead of editing the config.php file directly, you can set the default phone region and other options as environment variables when starting the container or in your docker-compose file: https://github.com/nextcloud/docker/issues/1544#issuecomment-1370172015.

Thank you for your reaction. This is indeed very helpfull. Adding a paramater to the environment is also a solution. Do these parameters also work with nextcloud-aio?

In another post I ask for parameter setting in compose.yaml for setting --o:per_document.max_concurrency=2 for collabora in the nextcloud-aio compose.yaml. Is there a line to do that and what line can I add to the compose .yaml.

P.S.: I opened a request on nextcloud-aio github.

I didn’t know you were using Nextcloud AIO, you just talked about Docker on your NAS :-). The Nextcloud AIO readme file has a section dedicated to this topic:

https://github.com/nextcloud/all-in-one/blob/main/readme.md#how-to-resolve-security--setup-warnings-displays-the-missing-default-phone-region-after-initial-install

Thanks for this information. Very helpfull. I am going to try this.