nextcloudpi icon indicating copy to clipboard operation
nextcloudpi copied to clipboard

Trusted domains are reset on decryption

Open theCalcaholic opened this issue 3 years ago • 1 comments

theCalcaholic avatar Oct 09 '22 15:10 theCalcaholic

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:

  1. nano /usr/local/bin/nextcloud-domain.sh
  2. uncomment this line: ncc config:system:set trusted_domains 14 --value="$(hostname -f)"
  3. 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.

gilbert-grape avatar Apr 28 '23 15:04 gilbert-grape