gfjardim Posted July 17, 2014 Author Share Posted July 17, 2014 I disabled the bridge in my unRaid network settings, the OwnCloud docker doesn't work in either host or bridge mode though? Assuming after install I goto https://192.168.1.2:8000/owncloud ?? It will work on bridge mode, no need for /owncloud tho. Quote Link to comment
Dimtar Posted July 18, 2014 Share Posted July 18, 2014 It will work on bridge mode, no need for /owncloud tho. It won't work, going to these links comes up with a blank page: http://192.168.1.2:8000/ https://192.168.1.2:8000/ Running it in bridged mode. No idea, sorry. Quote Link to comment
bungee91 Posted July 19, 2014 Share Posted July 19, 2014 It will work on bridge mode, no need for /owncloud tho. It won't work, going to these links comes up with a blank page: http://192.168.1.2:8000/ https://192.168.1.2:8000/ Running it in bridged mode. No idea, sorry. Incase you think you're crazy I couldn't get this to work either, however I figured it was something I did wrong. I cannot connect and I end up with a folder for OwnCloud (where I put it) that has a config folder with nothing in it and a server.key file. I'm not sure if you're installation is the same or not. Quote Link to comment
nacat78 Posted July 19, 2014 Share Posted July 19, 2014 I have gfjardim's owncloud running in bridge without any issues here's my XML if it helps the only difference between my template and gf's is no variables. my-ownCloud.xml <?xml version="1.0" encoding="utf-8"?> <Container> <Name>ownCloud</Name> <Repository>gfjardim/owncloud</Repository> <BindTime>true</BindTime> <Privileged>false</Privileged> <Environment> <Variable> <Name></Name> <Value></Value> </Variable> </Environment> <Networking> <Mode>bridge</Mode> <Publish> <Port> <HostPort></HostPort> <ContainerPort></ContainerPort> <Protocol>tcp</Protocol> </Port> <Port> <HostPort>8000</HostPort> <ContainerPort>8000</ContainerPort> <Protocol>tcp</Protocol> </Port> </Publish> </Networking> <Data> <Volume> <HostDir>/mnt/cache/apps/www/owncloud/</HostDir> <ContainerDir>/var/www/owncloud/data</ContainerDir> <Mode>rw</Mode> </Volume> </Data> </Container> Quote Link to comment
Dimtar Posted July 20, 2014 Share Posted July 20, 2014 Here is what I get when I run the OwnCloud through the extended plugin: root@localhost:# /usr/bin/docker run -d --name="ownCloud" --net="bridge" -e SUBJECT="/C=COUNTRY/ST=STATE/L=City/O=Organization/OU=Organization Unit/CN=yourhome.com" -p 8000:8000/tcp -v "/mnt/user/dockerdata/owncloud/":"/var/www/owncloud/data":rw -v "/etc/localtime":"/etc/localtime":ro gfjardim/owncloud 1cd6979e2d96c69a52ede2042c55cdbb0cf0407725e7a60d32cce9b83c32845a The command finished successfully! I cannot reach the server though. Quote Link to comment
gfjardim Posted July 20, 2014 Author Share Posted July 20, 2014 Here is what I get when I run the OwnCloud through the extended plugin: root@localhost:# /usr/bin/docker run -d --name="ownCloud" --net="bridge" -e SUBJECT="/C=COUNTRY/ST=STATE/L=City/O=Organization/OU=Organization Unit/CN=yourhome.com" -p 8000:8000/tcp -v "/mnt/user/dockerdata/owncloud/":"/var/www/owncloud/data":rw -v "/etc/localtime":"/etc/localtime":ro gfjardim/owncloud 1cd6979e2d96c69a52ede2042c55cdbb0cf0407725e7a60d32cce9b83c32845a The command finished successfully! I cannot reach the server though. Take a look at the logs and post it here. Quote Link to comment
Dimtar Posted July 20, 2014 Share Posted July 20, 2014 Here is what I get when I run the OwnCloud through the extended plugin: root@localhost:# /usr/bin/docker run -d --name="ownCloud" --net="bridge" -e SUBJECT="/C=COUNTRY/ST=STATE/L=City/O=Organization/OU=Organization Unit/CN=yourhome.com" -p 8000:8000/tcp -v "/mnt/user/dockerdata/owncloud/":"/var/www/owncloud/data":rw -v "/etc/localtime":"/etc/localtime":ro gfjardim/owncloud 1cd6979e2d96c69a52ede2042c55cdbb0cf0407725e7a60d32cce9b83c32845a The command finished successfully! I cannot reach the server though. Take a look at the logs and post it here. Forgive me but is it that massive file name *.json.log? {"log":"*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...\n","stream":"std out","time":"2014-07-20T09:31:05.641079274Z"} {"log":"No SSH host key available. Generating one...\n","stream":"stdout","time" :"2014-07-20T09:31:05.678902365Z"} {"log":"Creating SSH2 RSA key; this may take some time ...\n","stream":"stderr", "time":"2014-07-20T09:31:06.266263011Z"} {"log":"Creating SSH2 DSA key; this may take some time ...\n","stream":"stderr", "time":"2014-07-20T09:31:06.346075364Z"} {"log":"Creating SSH2 ECDSA key; this may take some time ...\n","stream":"stderr ","time":"2014-07-20T09:31:06.348207349Z"} {"log":"Creating SSH2 ED25519 key; this may take some time ...\n","stream":"stde rr","time":"2014-07-20T09:31:06.351279706Z"} {"log":"invoke-rc.d: policy-rc.d denied execution of restart.\n","stream":"stder r","time":"2014-07-20T09:31:06.6768386Z"} {"log":"*** Running /etc/my_init.d/config.sh...\n","stream":"stdout","time":"201 4-07-20T09:31:06.699674992Z"} {"log":"*** Running /etc/rc.local...\n","stream":"stdout","time":"2014-07-20T09: 31:06.723849632Z"} {"log":"*** Booting runit daemon...\n","stream":"stdout","time":"2014-07-20T09:3 1:06.724899856Z"} {"log":"*** Runit started as PID 106\n","stream":"stdout","time":"2014-07-20T09: 31:06.725038034Z"} ~ Quote Link to comment
gfjardim Posted July 20, 2014 Author Share Posted July 20, 2014 If you use the Extended Plugin, just click on the link in the STATUS column. Quote Link to comment
Dimtar Posted July 20, 2014 Share Posted July 20, 2014 If you use the Extended Plugin, just click on the link in the STATUS column. root@localhost:# /usr/bin/docker logs CrashPlan *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... No SSH host key available. Generating one... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... Creating SSH2 ECDSA key; this may take some time ... Creating SSH2 ED25519 key; this may take some time ... invoke-rc.d: policy-rc.d denied execution of restart. *** Running /etc/my_init.d/config.sh... *** Running /etc/rc.local... *** Booting runit daemon... *** Runit started as PID 106 The command finished successfully! ?? Quote Link to comment
gfjardim Posted July 20, 2014 Author Share Posted July 20, 2014 If you use the Extended Plugin, just click on the link in the STATUS column. root@localhost:# /usr/bin/docker logs CrashPlan *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... No SSH host key available. Generating one... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... Creating SSH2 ECDSA key; this may take some time ... Creating SSH2 ED25519 key; this may take some time ... invoke-rc.d: policy-rc.d denied execution of restart. *** Running /etc/my_init.d/config.sh... *** Running /etc/rc.local... *** Booting runit daemon... *** Runit started as PID 106 The command finished successfully! ?? STATUS column, ownCloud row. Quote Link to comment
Dimtar Posted July 20, 2014 Share Posted July 20, 2014 OMG, i'm so sorry. I feel so stupid. Attached is the log. Owncloud_Docker_Log.txt Quote Link to comment
gfjardim Posted July 20, 2014 Author Share Posted July 20, 2014 OMG, i'm so sorry. I feel so stupid. Attached is the log. You're not the first with this problem. I will try to nail it. Quote Link to comment
gfjardim Posted July 20, 2014 Author Share Posted July 20, 2014 OMG, i'm so sorry. I feel so stupid. Attached is the log. You're not the first with this problem. I will try to nail it. Ok, this was a problem when generating ssl certificates. The default template used a long country designation, COUNTRY. I've updated the built in template to set US instead. Please update the extended docker plugin, remove the my-ownCloud template, and start again. PS: don't forget to prior remove the container and image too! Quote Link to comment
Dimtar Posted July 20, 2014 Share Posted July 20, 2014 OMG, i'm so sorry. I feel so stupid. Attached is the log. You're not the first with this problem. I will try to nail it. Ok, this was a problem when generating ssl certificates. The default template used a long country designation, COUNTRY. I've updated the built in template to set US instead. Please update the extended docker plugin, remove the my-ownCloud template, and start again. PS: don't forget to prior remove the container and image too! So i removed the OwnCloud docker. Updated the plugin. Removed the my-OwnCloud template. Setup the docker with default settings except for the location of my data and it hasn't worked. root@localhost:# /usr/bin/docker logs ownCloud *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... No SSH host key available. Generating one... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... Creating SSH2 ECDSA key; this may take some time ... Creating SSH2 ED25519 key; this may take some time ... invoke-rc.d: policy-rc.d denied execution of restart. *** Running /etc/my_init.d/config.sh... The command finished successfully! Let me know if you need anymore information from me. Cheers. Quote Link to comment
nacat78 Posted July 20, 2014 Share Posted July 20, 2014 OMG, i'm so sorry. I feel so stupid. Attached is the log. You're not the first with this problem. I will try to nail it. Ok, this was a problem when generating ssl certificates. The default template used a long country designation, COUNTRY. I've updated the built in template to set US instead. Please update the extended docker plugin, remove the my-ownCloud template, and start again. PS: don't forget to prior remove the container and image too! So i removed the OwnCloud docker. Updated the plugin. Removed the my-OwnCloud template. Setup the docker with default settings except for the location of my data and it hasn't worked. root@localhost:# /usr/bin/docker logs ownCloud *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... No SSH host key available. Generating one... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... Creating SSH2 ECDSA key; this may take some time ... Creating SSH2 ED25519 key; this may take some time ... invoke-rc.d: policy-rc.d denied execution of restart. *** Running /etc/my_init.d/config.sh... The command finished successfully! Let me know if you need anymore information from me. Cheers. I just used the new template to reinstall gfjardim's ownCloud docker and used my original data location: ownCloud Log: root@localhost:# /usr/bin/docker logs ownCloud *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... No SSH host key available. Generating one... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... Creating SSH2 ECDSA key; this may take some time ... Creating SSH2 ED25519 key; this may take some time ... invoke-rc.d: policy-rc.d denied execution of restart. *** Running /etc/my_init.d/config.sh... Found pre-existing certificate, using it. *** Running /etc/rc.local... *** Booting runit daemon... *** Runit started as PID 1008 The command finished successfully! But once the container starts, it is not instantly accessible - I had to wait about two minutes for the config.sh to finish... Quote Link to comment
bungee91 Posted July 20, 2014 Share Posted July 20, 2014 Whatever you did worked for me, came right up....Thanks! Quote Link to comment
gfjardim Posted July 20, 2014 Author Share Posted July 20, 2014 Whatever you did worked for me, came right up....Thanks! It was just a minor fix. I had a busy day, just migrated my 50GB Dropbox account to ownCloud because of this: http://www.businessinsider.com/edward-snowden-dropbox-2014-7 I know, it's paranoia, I don't have anything secret there, but I don't like 22 year old private contractor spies sniffing my stuff. Now, it's ownCloud + CrashPlan for backups. Quote Link to comment
JM2005 Posted July 20, 2014 Share Posted July 20, 2014 Thinking about using owncloud as well. Do we have to input location stuff in the variable section? SUBJECT="/C=COUTRY/ST=STATE/L=CITY/O=ORGANIZATION/OU=UNIT/CN=myhome.com Thanks Quote Link to comment
gfjardim Posted July 20, 2014 Author Share Posted July 20, 2014 Thinking about using owncloud as well. Do we have to input location stuff in the variable section? SUBJECT="/C=COUTRY/ST=STATE/L=CITY/O=ORGANIZATION/OU=UNIT/CN=myhome.com Thanks Only if you want. "/C=" only takes two letters. Quote Link to comment
Dimtar Posted July 20, 2014 Share Posted July 20, 2014 Whatever you did worked for me, came right up....Thanks! Do you run the network in bridge or host mode? Quote Link to comment
gfjardim Posted July 20, 2014 Author Share Posted July 20, 2014 Whatever you did worked for me, came right up....Thanks! Do you run the network in bridge or host mode? In bridge mode. Quote Link to comment
Dimtar Posted July 20, 2014 Share Posted July 20, 2014 Whatever you did worked for me, came right up....Thanks! Do you run the network in bridge or host mode? In bridge mode. Ok, so I completely removed the container. Cleared the data folder and tried again from the default template. I can now reach it via https://192.168.1.2:8000/ gfjardim, I am impressed by your assistance with this and the community impresses me once again. Hopefully you setup a full time donation link one day. For now I am just very grateful, so thank you. Quote Link to comment
gfjardim Posted July 21, 2014 Author Share Posted July 21, 2014 Whatever you did worked for me, came right up....Thanks! Do you run the network in bridge or host mode? In bridge mode. Ok, so I completely removed the container. Cleared the data folder and tried again from the default template. I can now reach it via https://192.168.1.2:8000/ gfjardim, I am impressed by your assistance with this and the community impresses me once again. Hopefully you setup a full time donation link one day. For now I am just very grateful, so thank you. I'm glad you figure it out how to fix it, sometimes it's better to start from scratch, because it's difficult to debug a specific setup. This forum alone worth the license fee, IMHO. I've learned a LOT from people like Joe L, RobJ, Tom and others. People here are always helpful, no matter what is your difficulty. Quote Link to comment
Dimtar Posted July 22, 2014 Share Posted July 22, 2014 How are people finding performance? I added a 20GB folder on Windows 8 through the Sync Client and the perfomance of the sync and the web interface has slowed to a crawl. Is just simply resources? Quote Link to comment
jphipps Posted July 25, 2014 Share Posted July 25, 2014 Do you know how to add apps to the docker? It seems from the install stuff I found you have to untar the app into a directory under owncloud, but I am not real familure with dockers or owncloud. Quote Link to comment
Recommended Posts
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.