Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default phone region example faulty and config help incomplete #24738

Closed
2 tasks done
wiswedel opened this issue Dec 17, 2020 · 12 comments · Fixed by #24740
Closed
2 tasks done

Default phone region example faulty and config help incomplete #24738

wiswedel opened this issue Dec 17, 2020 · 12 comments · Fixed by #24740
Assignees
Labels
3. to review Waiting for reviews bug
Milestone

Comments

@wiswedel
Copy link
Contributor

wiswedel commented Dec 17, 2020

46b073d adds some functionality, samples and checks for default phone regions.

CC @nickvergessen

@wiswedel wiswedel added bug 0. Needs triage Pending check for reproducibility or if it fits our roadmap 21-feedback labels Dec 17, 2020
@nickvergessen
Copy link
Member

I picked GB, as DE is already mentioned in the doc block. Link also added in #24740

@nickvergessen nickvergessen self-assigned this Dec 17, 2020
@nickvergessen nickvergessen added 3. to review Waiting for reviews and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Dec 17, 2020
@nickvergessen nickvergessen added this to the Nextcloud 21 milestone Dec 17, 2020
@geep33
Copy link

geep33 commented Dec 17, 2020 via email

@wiswedel
Copy link
Contributor Author

No info at all🧐

What do you mean? @geep33

@dnv
Copy link

dnv commented Feb 22, 2021

I just upgraded from 20 to 21 via docker-compose and am getting a "Your installation has no default phone region set." warning. How/where do I even set it?

@wiswedel
Copy link
Contributor Author

How/where do I even set it?

It goes to your config.php. There's a help section in the config.sample.php: https://github.com/nextcloud/server/blob/master/config/config.sample.php#L197-L205

@dnv
Copy link

dnv commented Feb 23, 2021

Isn't config.php generated automatically from environment variables every time the container is brought up? I was under the impression editing it manually is pointless since any changes would be wiped out on restart.

@nickvergessen
Copy link
Member

It shouldn't be, there are values written in it that need to persist.
But if you use the docker maybe you ask the docker people to help setting the value.

@dnv
Copy link

dnv commented Feb 23, 2021

I guess you are right, just tested recreating the container and this both worked and persisted through recreation:

docker exec --user www-data ncloudapp php occ config:system:set default_phone_region --value="FIN"

@TheFlow0360
Copy link

TheFlow0360 commented Feb 25, 2021

docker exec --user www-data ncloudapp php occ config:system:set default_phone_region --value="FIN"

This should be added to the docker documentation, it was really helpful. I already thought I had to connect to the container and manually edit the config.php, saved me a bit of time 👍🏻

@andyg2
Copy link

andyg2 commented Mar 17, 2021

docker exec --user www-data ncloudapp php occ config:system:set default_phone_region --value="FIN"

ISO 3166-1 alpha-2 are the "two" letter country codes.

@yaninasa
Copy link

Thaks wiswedel

@Moini
Copy link

Moini commented Oct 22, 2021

The hint about where to adjust the phone region is still missing in the (German) message in Nextcloud 22.0.2. I disagree that this bug is resolved.

Should one really need to do a web search to get directed to a bug report, to get directed to the config sample?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants