By Trunko
I set up my domain and owncloud droplet and followed this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-owncloud-and-configure-owncloud-apps-on-an-ubuntu-12-04-vps to the MySQL step - but am locked out because I don’t have a login for this and can’t find where to do that step. I’m not sure if that’s necessary, but wonder if it’s related to the error message I get when going to my URL/IP address.
Title of the page is ownCloud and the ownCloud logo is shown there, plus"
“You are accessing the server from an untrusted domain. Please contact your administrator. If you are an administrator of this instance, configure the “trusted_domain” setting in config/config.php. An example configuration is provided in config/config.sample.php. Depending on your configuration, as an administrator you might also be able to use the button below to trust this domain.”
I click the button below to trust the domain, but that never sticks and I get taken to an http header site that says:
REQUEST_URI = /index.php/settings/admin?trustDomain=mydomainnamehere.com
How do I access the php config files to trust this domain? What steps am I completely missing? I do have login credentials for this ownCloud instance but have nowhere to enter them.
Also, if it’s relevant, I have not set up the SSL certificate (Gandi says I have a free one, but are not giving me that option, so I’m hoping I can wait until Let’s Encrypt releases theirs in two months).
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
From the tutorial, it looks like OwnCloud was installed in /var/www/owncloud, so all you’d need to do is SSH into your Droplet and type:
nano /var/www/owncloud/config/config.php
and edit the file accordingly.
As a sidenote, StartSSL provides free SSL certificates compatible with almost any browser and operating system.
I unfortunately lost my domain and was forced to create a new one. As a result I can no longer access the “cloud” module as it still references the previous domain and ask to trust the new domain and the box that I was presented with is: "the “trusted_domain” setting in config/config.php. An example configuration is provided in config/config.sample.php. " I looked but I can not find it.
The idea at this point it would be to start from scratch and I need to get the Calendar and Contact off the box. Is the Owncloud.db under /home/user-data/owncloud sufficient to copy and start over.
I have had no problems with the setup, but the domain change cause some headaches.
And /var/www/owncloud/config/config.php does not exist!!! in the mailinabox setup!
thanks
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.