March 25, 201610 yr Author First off, good to see you switched to the official docker container. I have a small problem however. I added the docker however i'm getting the following error: http://sharadchhetri.com/2014/07/21/owncloud-error-accessing-server-untrusted-domain/ It does give me a button to click to add it to the trusted domains but that doesn't work. I think I ran into this issue as well and fixed it by manually editing the config.php file. Can you check what the trusted_domains array is in your config.php file and also the permissions of this file?
March 25, 201610 yr Author # To enter the docker shell docker exec -it owncloud bash # To show the contents of the config.php file cat config/config.php # To check the permissions of config.php file ls -l config/config.php
March 26, 201610 yr Here's a screenshot remove the :8000 in config.php stoopid clowncloud bug if you try to use a different port mapping, which let's face it is a common thing for dockers. it trys to add ip:port to the config.php where it should just add ip
March 26, 201610 yr To which my reply would again be, how? As far as i can tell there's no vi or vim.
March 26, 201610 yr Author Instead of entering the docker, edit your config file from your host. The file is likely located somewhere like /mnt/cache/appdata/owncloud/config/config.php. Then simply restart the docker and you should be good to go.
March 26, 201610 yr To which my reply would again be, how? As far as i can tell there's no vi or vim. nano is builtin. Also mc (Midnight Commander) is builtin and has its own editor.
March 31, 201610 yr Hi, I hope you can help me. I added your owncloud docker, mapped all the folders and got it to start fine. However, I can only access owncloud via http (locally). Whenever I try https locally I can't get to the admin pages but get an error message instead: FIREFOX Secure connection failed. An error occurred during a connection to 10.148.106.30:8000. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. CHROME This site can’t provide a secure connection xxx.xxx.xxx.xxx sent an invalid response. ERR_SSL_PROTOCOL_ERROR OWNCLOUD SYNC TOOL FOR WINDOWS Error: SSL handshake failed. How can I get HTTPS working with this container please? Thanks for your help.
April 3, 201610 yr I have the same issue. I was using gfjardim's docker since it was available but I like the way how you can store the app config and the own cloud files in different locations. I do believe that you must generate own SSL certificates plus editing the /mnt/cache/.Docker/appdata/oc/config/config.php file. Is that all? I had server.key and server.pem from the previous docker plus an additional entry in Environment Variables: SUBJECT /C=DE/ST=xxxx/L=xxxx/O=Privat/OU=na/CN=xxxxx.us Where to copy these file into?
April 3, 201610 yr Author Hi, I hope you can help me. I added your owncloud docker, mapped all the folders and got it to start fine. However, I can only access owncloud via http (locally). Whenever I try https locally I can't get to the admin pages but get an error message instead: FIREFOX Secure connection failed. An error occurred during a connection to 10.148.106.30:8000. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. CHROME This site can’t provide a secure connection xxx.xxx.xxx.xxx sent an invalid response. ERR_SSL_PROTOCOL_ERROR OWNCLOUD SYNC TOOL FOR WINDOWS Error: SSL handshake failed. How can I get HTTPS working with this container please? Thanks for your help. The official owncloud container does not have HTTPS built in. I would recommend setting up a reverse proxy using linuxserver.io's apache container. You'll have to add https to the reverse proxy container and have that container forward requests to your owncloud container.
April 3, 201610 yr Ok, thanks for clarifying. Since I only use ownCloud to sync files within the local network I'll keep it on http for the time being. And if I need external access there's always VPN to keep things simple.
April 4, 201610 yr Seems that this isn't an option for me....whenever I am deselecting the SSL box on my Mac's accounts for calendar and address book it will be switched on again after a second. @Bungy isn't there a simpler solution? The forum here is full of patchy information around reverse proxy setup and it seems that only the best of the best here were getting this up and running.
April 10, 201610 yr Is HomeGenie AWOL? root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="homegenie" --net="bridge" -e TZ="America/Los_Angeles" -p 8282:80/tcp jshridha/docker-homegenie Unable to find image 'jshridha/docker-homegenie:latest' locally Pulling repository jshridha/docker-homegenie Error: image jshridha/docker-homegenie:latest not found The command finished successfully!
April 10, 201610 yr Is HomeGenie AWOL? root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="homegenie" --net="bridge" -e TZ="America/Los_Angeles" -p 8282:80/tcp jshridha/docker-homegenie Unable to find image 'jshridha/docker-homegenie:latest' locally Pulling repository jshridha/docker-homegenie Error: image jshridha/docker-homegenie:latest not found The command finished successfully! Gotta love how depending upon the error, unRaid will tell you that the command was successful when in truth it wasn't
April 10, 201610 yr Is HomeGenie AWOL? root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="homegenie" --net="bridge" -e TZ="America/Los_Angeles" -p 8282:80/tcp jshridha/docker-homegenie Unable to find image 'jshridha/docker-homegenie:latest' locally Pulling repository jshridha/docker-homegenie Error: image jshridha/docker-homegenie:latest not found The command finished successfully! Change the repository from jshridha/docker-homegenie to jshridha/homegenie If Bungy doesn't update the template to reflect this, then I'll make a decision whether to override the repository entry within CA or blacklist the template.
April 10, 201610 yr added new repository: https://github.com/jshridha/homegenie but nothing shows up in templates for manual add. I don't see how to edit repository in the "Add" from Apps. Is HomeGenie AWOL? root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="homegenie" --net="bridge" -e TZ="America/Los_Angeles" -p 8282:80/tcp jshridha/docker-homegenie Unable to find image 'jshridha/docker-homegenie:latest' locally Pulling repository jshridha/docker-homegenie Error: image jshridha/docker-homegenie:latest not found The command finished successfully! Change the repository from jshridha/docker-homegenie to jshridha/homegenie If Bungy doesn't update the template to reflect this, then I'll make a decision whether to override the repository entry within CA or blacklist the template.
April 10, 201610 yr added new repository: https://github.com/jshridha/homegenie but nothing shows up in templates for manual add. I don't see how to edit repository in the "Add" from Apps. Advanced Settings (top right) (after adding homegenie from within CA)
April 10, 201610 yr Author Yeah sorry about that. I'll update the template to point to the right container repo. That docker is extremely beta - I couldn't get it to work well and abandoned it. I haven't touched it in months so proceed with caution.
April 12, 201610 yr Is the Openhab docker still supported? I noticed it's been removed/was never there on the first page. It's also, as far as I can see, still on 1.7.1 with the latest Openhab being 1.8.2
April 12, 201610 yr Author Currently, openhab has been lacking updates because I'm no longer using it. Also, it's a nightmare of a docker/enviornment to set up, so I dread having to update it. I'll work on pushing an update soon.
April 13, 201610 yr Thanks, I've discovered Home Assistant, so I've giving that a try on my Unraid box and leaving Openhab where it currently is on the Raspberry pi!
April 13, 201610 yr Author Nice! Yeah I switched to Hass about two months ago and never looked back. I found its much more stable and I like developing in python way more than java.
April 26, 201610 yr The official owncloud container does not have HTTPS built in. I would recommend setting up a reverse proxy using linuxserver.io's apache container. You'll have to add https to the reverse proxy container and have that container forward requests to your owncloud container. Bungy, after some test with aptalcas docker I followed your advise and installed linuxserver.io's apache container. Below are my config files and the error message that I am getting. Can anyone help me with the correct setup of all this? Thanks a lot. default.conf <VirtualHost *:80> ServerName confidential.myfritz.net ServerAlias confidential.myfritz.net DocumentRoot /config/www/ Redirect permanent / https://confidential.myfritz.net/ </VirtualHost> <VirtualHost *:443> ServerName confidential.myfritz.net ServerAdmin webmaster@localhost DocumentRoot /config/www/ SSLCertificateFile "/config/keys/cert.crt" SSLCertificateKeyFile "/config/keys/cert.key" SSLEngine on SSLProxyEngine On RewriteEngine On ProxyPreserveHost On SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off SSLProtocol -All +TLSv1 +TLSv1.1 +TLSv1.2 SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS SSLHonorCipherOrder on ProxyRequests Off ProxyPreserveHost Off ProxyPass / https://192.168.178.28:8000/ ProxyPassReverse / https://192.168.178.28:8000/ </VirtualHost> config.php <?php $CONFIG = array ( 'instanceid' => 'confidential', 'passwordsalt' => 'confidential', 'secret' => 'confidential', 'trusted_domains' => array ( 0 => '192.168.178.28', 1 => 'confidential.myfritz.net', ), 'datadirectory' => '/var/www/html/data', 'overwritehost' => 'confidential.myfritz.net', 'overwriteprotocol' => 'https', 'overwrite.cli.url' => 'https://confidential.myfritz.net', 'dbtype' => 'mysql', 'version' => '9.0.1.3', 'dbname' => 'oc', 'dbhost' => '192.168.178.28', 'dbtableprefix' => 'oc_', 'dbuser' => 'oc_admin3', 'dbpassword' => 'confidential', 'logtimezone' => 'UTC', 'installed' => true, 'forcessl' => true, 'forceSSLforSubdomains' => true, 'mail_smtpmode' => 'smtp', 'mail_smtpsecure' => 'ssl', 'theme' => '', 'loglevel' => 2, 'maintenance' => false, ); Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /apps/files/. Reason: Error reading from remote server Apache/2.4.7 (Ubuntu) Server at confidential.myfritz.net Port 443
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.