如何修复 Nextcloud Can not validate phone numbers without default_phone_region being set in the config file
问题:
运行 Nextcloud occ maintenance:repair 时,你看到类似这样的错误消息
nextcloud_phone_error.txt
ERROR: Can not validate phone numbers without `default_phone_region` being set in the config file解决方案
使用以下命令添加配置选项
set_default_phone_region.sh
php occ config:system:set default_phone_region --type string --value="DE"或者,使用 docker-compose 时:
docker_set_default_phone_region.sh
docker-compose exec -u www-data nextcloud php occ config:system:set default_phone_region --type string --value="DE"并再次运行 maintenance:repair。
Check out similar posts by category:
Allgemein
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow