[DOCKER] ownCloud is here!


Recommended Posts

I have this up and running.  Is there anyway to access it without typing the port number?  I have my domain allowed in the config but I still have to type :8000 afterwards.  If I don't, unRaid picks up at port 80 and requests me to login to the server.  In theory I'd like to be able to type cloud.mydomain.com and go directly to my owncloud.  Thanks in advance for your patience as I'm sure it's very elementary for most of you.

 

I'm no expert but if you want that, you will need to change unraid default port to something else.

 

Don't change the unRAID default port.  It is not a good answer.

Link to comment

I actually got it working by having 443 mapped to 8000 on the unRAID IP address.  Now if I type http://cloud.mydomain.com it goes to the unRAID login vs the owncloud login.  Is there a way to have it automatically go to https rather than having to type it.  I'm thinking of my wife who will probably just type cloud.mydomain.com and forget to use https.

 

No.  The https:// directs it to port 443.  Without it it goes to port 80.

 

Set up a bookmark in your browser and you're set.  Just click on the bookmark.

Link to comment

I actually got it working by having 443 mapped to 8000 on the unRAID IP address.  Now if I type http://cloud.mydomain.com it goes to the unRAID login vs the owncloud login.  Is there a way to have it automatically go to https rather than having to type it.  I'm thinking of my wife who will probably just type cloud.mydomain.com and forget to use https.

You can set up a reverse proxy.

Everything you asked is doable using this way.

Check pages 15 onwards in this thread...

Link to comment

Owncloud quit working for me today, so I saw there was an update, so I installed it.  Now it won't even start.  If I look at the syslog I see:

 

Nov  2 18:31:10 tower php: /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker 'start' 'ownCloud'

Nov  2 18:31:10 tower kernel: device veth86c5d74 entered promiscuous mode

Nov  2 18:31:10 tower kernel: docker0: port 2(veth86c5d74) entered forwarding state

Nov  2 18:31:10 tower kernel: docker0: port 2(veth86c5d74) entered forwarding state

Nov  2 18:31:10 tower avahi-daemon[2740]: Withdrawing workstation service for vethf3d9038.

Nov  2 18:31:10 tower kernel: docker0: port 2(veth86c5d74) entered disabled state

Nov  2 18:31:10 tower kernel: eth0: renamed from vethf3d9038

Nov  2 18:31:10 tower kernel: docker0: port 2(veth86c5d74) entered forwarding state

Nov  2 18:31:10 tower kernel: docker0: port 2(veth86c5d74) entered forwarding state

Nov  2 18:31:11 tower kernel: vethf3d9038: renamed from eth0

Nov  2 18:31:11 tower kernel: docker0: port 2(veth86c5d74) entered disabled state

Nov  2 18:31:11 tower kernel: docker0: port 2(veth86c5d74) entered disabled state

Nov  2 18:31:11 tower avahi-daemon[2740]: Withdrawing workstation service for vethf3d9038.

Nov  2 18:31:11 tower avahi-daemon[2740]: Withdrawing workstation service for veth86c5d74.

Nov  2 18:31:11 tower kernel: device veth86c5d74 left promiscuous mode

Nov  2 18:31:11 tower kernel: docker0: port 2(veth86c5d74) entered disabled state

 

 

Any ideas what happened?

 

david

Link to comment

Was doing some ownCloud maintenance (installing an SSL certificate), when I noticed there's an upgrade for it. I installed the upgrade, and now it won't load. I've already rebooted the physical server.

 

The docker starts, but when I try to visit the website, it just tells me "Unable to connect". None of the clients connect either.

 

I can't even find a log file for this to check what could be wrong.

 

This is my log, which doesn't indicate anything wrong as far as I can tell:

Nov 8 13:15:01 winserver kernel: UnRAIDBridge: port 3(vnet0) entered forwarding state

Nov 8 13:15:08 winserver kernel: UnRAIDBridge: port 5(vnet2) entered learning state

Nov 8 13:15:12 winserver kernel: UnRAIDBridge: topology change detected, propagating

Nov 8 13:15:12 winserver kernel: UnRAIDBridge: port 4(vnet1) entered forwarding state

Nov 8 13:15:23 winserver kernel: UnRAIDBridge: topology change detected, propagating

Nov 8 13:15:23 winserver kernel: UnRAIDBridge: port 5(vnet2) entered forwarding state

Nov 8 13:19:34 winserver emhttp: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog

Nov 8 13:20:06 winserver php: /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker 'restart' 'ownCloud'

Nov 8 13:20:06 winserver kernel: vethd81ab33: renamed from eth0

Nov 8 13:20:06 winserver kernel: docker0: port 1(veth98d8a8b) entered disabled state

Nov 8 13:20:06 winserver kernel: docker0: port 1(veth98d8a8b) entered disabled state

Nov 8 13:20:06 winserver avahi-daemon[11219]: Withdrawing workstation service for vethd81ab33.

Nov 8 13:20:06 winserver avahi-daemon[11219]: Withdrawing workstation service for veth98d8a8b.

Nov 8 13:20:06 winserver kernel: device veth98d8a8b left promiscuous mode

Nov 8 13:20:06 winserver kernel: docker0: port 1(veth98d8a8b) entered disabled state

Nov 8 13:20:06 winserver kernel: device veth89c0aff entered promiscuous mode

Nov 8 13:20:06 winserver kernel: docker0: port 1(veth89c0aff) entered forwarding state

Nov 8 13:20:06 winserver kernel: docker0: port 1(veth89c0aff) entered forwarding state

Nov 8 13:20:06 winserver avahi-daemon[11219]: Withdrawing workstation service for veth0479f76.

Nov 8 13:20:06 winserver kernel: docker0: port 1(veth89c0aff) entered disabled state

Nov 8 13:20:06 winserver kernel: eth0: renamed from veth0479f76

Nov 8 13:20:06 winserver kernel: docker0: port 1(veth89c0aff) entered forwarding state

Nov 8 13:20:06 winserver kernel: docker0: port 1(veth89c0aff) entered forwarding state

Nov 8 13:20:21 winserver kernel: docker0: port 1(veth89c0aff) entered forwarding state

Nov 8 13:20:36 winserver php: /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/dockerupdate.php

 

To clarify, the SSL certificate installation went great. I had that up and running for a few hours before I noticed and initiated the update to ownCloud.

 

Any suggestions? Thanks.

 

 

Link to comment

The newest update broke owncloud for me. I can't access the webpage anymore just says err connection refused. Restarting the docker or unraid makes no difference and the log file doesn't contain anything of interest.

 

Just updated my test server to see what would happen and you are right.  Not working.

Link to comment

The newest update broke owncloud for me. I can't access the webpage anymore just says err connection refused. Restarting the docker or unraid makes no difference and the log file doesn't contain anything of interest.

 

Just updated my test server to see what would happen and you are right.  Not working.

 

It did finally start, but I don't know what I did to get it going.  I was messing around in the docker looking around and then it just started.  It kind of looks like nginx was not starting.

Link to comment

finally, just got the update in the Docker page of Unraid GUI.  I did the Update.  Then Not connecting.  Now it finally connects after some time, by it says there is an update on the login page.  Clicking on the Start Upgrade doesn't work. 

 

Everytime there is a owncloud update... that breaks it.  I should just stop updating it :)

 

tried to go inside the docker to launch the update manually... will retry after changing ownership of "occ" to root

 

EDIT : 

 

It worked.  If you get the Upgrade page not working, you can go inside the running docker (in a SSH session) :

 

docker exec -it ownCloud bash

Assuming that your container is called ownCloud

 

Then, when inside it, go to the owncloud folder :

 

cd /var/www/owncloud

 

Then, change owner + execution on couple of files :

 

su root
chown root:root occ
chown root:root ./config/config.php
chmod +x occ

 

Then run the updgrade :

 

./occ upgrade

 

At that point, wait for it to complete (it took 5 minutes on my server).

 

Dont forget to set back the permission and owner to nobody:users.:

 

chown nobody:users occ
chown nobody:users ./config/config.php
chmod -x occ

 

That's it, just type "exit" and your done.  Now the login page will display the usual login page instead of the "update available" page.

Link to comment

The newest update broke owncloud for me. I can't access the webpage anymore just says err connection refused. Restarting the docker or unraid makes no difference and the log file doesn't contain anything of interest.

 

Just updated my test server to see what would happen and you are right.  Not working.

 

It did finally start, but I don't know what I did to get it going.  I was messing around in the docker looking around and then it just started.  It kind of looks like nginx was not starting.

 

Yes mine is now working too but it took at least an hr to get going. Strange.

Link to comment

The newest update broke owncloud for me. I can't access the webpage anymore just says err connection refused. Restarting the docker or unraid makes no difference and the log file doesn't contain anything of interest.

 

Just updated my test server to see what would happen and you are right.  Not working.

 

It did finally start, but I don't know what I did to get it going.  I was messing around in the docker looking around and then it just started.  It kind of looks like nginx was not starting.

 

I've added Diffie-Hellman parameters to increase security. The fist time you install/update, it will took some time (5-15 minutes) to generate the DH file, and then nginx gets executed.

Link to comment

The newest update broke owncloud for me. I can't access the webpage anymore just says err connection refused. Restarting the docker or unraid makes no difference and the log file doesn't contain anything of interest.

 

Just updated my test server to see what would happen and you are right.  Not working.

 

It did finally start, but I don't know what I did to get it going.  I was messing around in the docker looking around and then it just started.  It kind of looks like nginx was not starting.

 

I've added Denavit–Hartenberg parameters to increase security. The fist time you install/update, it will took some time (5-15 minutes) to generate the DH file, and then nginx gets executed.

 

You mean Diffie-Hellman :-)

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.