Hey,
I’m a relatively new to owncloud through univention appliance.
In the past, including usc 4, when I wanted to configure the trusted domains, I did the following via putty ssh:
login to the console.
writing the folowing commands:
• switch into the container : univention-app shell owncloud
• install an editor: apt install vim
• Lastly vim /var/lib/univention-appcenter/apps/owncloud/conf
Then I simply edit the config.php
This worked perfect until update to ucs 5 or maybe until more updated owncloud versions
Form then forwards, editing the config.php does not work any more
I have read this topic "Trusted_domains" login issue after the latest release update (no useful hint on 'error' web page) · Issue #40439 · owncloud/core · GitHub
And I also read Owncloud trusted_domain issue after upgraded from 10.10 to 10.11[SOLVED] — LowEndSpirit
And also Unable to trust the domain... inaccessible instance - Server - ownCloud Central
Everyone offered a solution to declare OWNCLOUD_TRUSTED_DOMAINS
env variable instead of editing the php config file.
I am asking for help in order to try the offered solution.
Since I am a begginer I have no idea how to do it.
Which file I have to edit in order to declare my domain?
Is that the config.php?
or should i edit the overwrite.config.php? (I think it is not a good idea because every time you restart the vmare workstation you restart the container and all the changes in overwrite.config.php are deleted.
Maybe it is simple, but since I’m a begginer I need a more in-depth instructions of the exact commands I have to write in order to declare OWNCLOUD_TRUSTED_DOMAINS
env variable.
For the pupose of this topic lets assume I own a domain ‘aaa.com’