nextcloudpi
nextcloudpi copied to clipboard
Trusted domains are reset on decryption
if there is somebody else who has the same problem like me:
- Always if I restart the raspberry pi, nextcloud does not start, because of in the config.php your trusted domain is deleted.
- A following error is that HPB Sercice is often down.
To fix it very ugly temporary I used this ugly hack:
- nano /usr/local/bin/nextcloud-domain.sh
- uncomment this line: ncc config:system:set trusted_domains 14 --value="$(hostname -f)"
- add this line with your domain: ncc config:system:set trusted_domains 14 --value="xxx-your-cloud.duckdns.org"
for me it works perfect. But I am sure theCalcoholic is going to be shocked if he will read that ugly hack.