[support] Bungy's docker repository


Recommended Posts

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?

Link to comment

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.

Link to comment

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?

Link to comment

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.

 

Link to comment

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.

Link to comment

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!

Link to comment

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  :o
Link to comment

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.

Link to comment

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.

Link to comment
  • 2 weeks later...

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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.