[DOCKER] ownCloud is here!


Recommended Posts

Hi,

 

Is there any good step by step guides to get owncloud and reverse proxy up and running?

 

//Peter

 

For reverse proxy this would help.. I'm doing it now.. ownCloud was installed with defaults.

https://www.linuxserver.io/index.php/overview-reverse-proxy-with-docker/

https://www.linuxserver.io/index.php/overview-reverse-proxy-with-docker/installation-of-apacheweb-docker/

 

 

Link to comment

And revers proxy as well, I have found more of these , above is 32bit OS only.

 

You can use smdion's nginx server for that, like I do:

 

fQUDSBN.png

 

With the following configuration:

 

server {
  server_name example.com;
  listen 443 ssl;

  ### Set Certificates ###
  ssl_certificate /etc/nginx/certs/startssl_bundle.crt;
  ssl_certificate_key /etc/nginx/certs/startssl_dec.key;

  ### Add Diffie–Hellman key exchange ###
  ssl_dhparam /etc/nginx/certs/dhparam.pem;

  ### Disable SSL by enforcing TLS ###
  ssl_protocols TLSv1 TLSv1.1 TLSv1.2;

  ### Add some ciphers and reject weaker ones ###
  ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:ECDHE-RSA-AES128-GCM-SHA256:AES256+EECDH:DHE-RSA-AES128-GCM-SHA256:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4";
  ssl_prefer_server_ciphers on;

  ssl_session_cache shared:SSL:10m;
  
  ### Add HTTP Strict Transport Security ###
  add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
  add_header Front-End-Https on;

  client_max_body_size 0m;
  fastcgi_buffers 64 4K;

  location /owncloud/ {
    ### Proxy Pass Info ###
    proxy_pass https://127.0.0.1:8000/; 

    ### Set headers ###
    proxy_set_header Accept-Encoding "";
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    ### Set timeouts ###
    proxy_read_timeout 600s;
    proxy_send_timeout 600s;
    proxy_connect_timeout 600s;
  }

  rewrite ^(/webdav/)(.*)$ /oc/remote.php/webdav/$2 permanent;
}

 

A really nice howto about StartSSL can be found here: https://www.linuxserver.io/index.php/overview-reverse-proxy-with-docker/add-ssl-to-your-apache-reverseproxy-docker/

 

This article is more detailed about StartSSL certificates. Please take a special look at the Gather Additional Required Certificate Files section.

 

 

Link to comment

I also have an nginx container with built in letsencrypt. It gets free ssl certs and auto updates them every 60 days.

 

I haven't used it with owncloud but I use it with every other container's gui with reverse proxy

 

Didn't saw that. Nice and beautiful!

Link to comment

OK, any good free or cheap service is preferred to use?

 

Buy a cheap domain and park it on CloudFlare for free. I know pfSense will automatically update your domain's IP address, but can't be sure about your router.

 

I gave get a domain from godaddy.com and parked at cloudflare :-)

 

So how can I use it to my unraid WEB server  ? ;-)

 

//Peter

 

Link to comment

OK, any good free or cheap service is preferred to use?

 

Buy a cheap domain and park it on CloudFlare for free. I know pfSense will automatically update your domain's IP address, but can't be sure about your router.

 

I gave get a domain from godaddy.com and parked at cloudflare :-)

 

So how can I use it to my unraid WEB server  ? ;-)

 

//Peter

 

Yes, pretty much. Does your router have CloudFlare DDNS client built in?

Link to comment

So, i might have missed something.

 

I got ownCloud up and running, docker.img on the cache drive and the ownCloud host path set to: /mnt/user/Pool/owncloud

 

But when i log in to ownCloud and see my total space i only get the size of the cache, and not the space in "Pool" (entire array)

 

How come? And is there a way to fix it?

When the cache drive is removed, it works, showing the total size of the array.

Link to comment

good afternoon all,

 

I've installed own cloud container gfjardim/owncloud:latest. It finished running the script ok and shows it's running but when i click the icon and click webui i get :

 

This webpage is not available

 

ERR_CONNECTION_REFUSED

 

any suggestions? thanks

 

Wait 30 minutes and try again.

Link to comment

Hello everyone

 

I am fairly new to unraid and am trying to get the owncloud docker running. After lots of trial and error I managed to install it. Now I want to add my existing unraid shares to owncloud. There for I installed the external storage addon in owncloud but I am not able to add my shares. In the attached pictures you can see my mapping.

 

My second question would be how I can fix the error that the server certificate doesn't match the URL and isn't trusted (I'm using Chrome)

 

Thank you in advance for your answers

owncloud_docker.JPG.dc779a73c1b8b2dea51328b816d0a48a.JPG

owncloud_docker2.JPG.bd2b32858c1aa0f8a3421f2ec129dc84.JPG

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.