[How-To] ownCloud using NGINX, PHP-FPM, and MySQL

Michael Sparks

Explorer
Joined
Apr 23, 2014
Messages
56
I don't know, I've used the admin page in the past a while ago switched over to using occ. I suggest posting a bug on the owncloud github page.

Where and how do i excute occ commands? I've searched but all I can find is info about doing this in linix. I want to disable encryption. Thanks for any help Joshua!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Where and how do i excute occ commands? I've searched but all I can find is info about doing this in linix. I want to disable encryption. Thanks for any help Joshua!
Code:
chsh -s /bin/sh www #only need to do this once so www has a different shell
su www
cd /usr/local/www/owncloud
php occ
 

dedeaux

Dabbler
Joined
Jun 16, 2015
Messages
34
Seeing this thread was started over a year ago...

I am happy to go this route of install in favor of performance. Unfortunately, I am not getting very far.

I've made it to the step where you build php56-openssl:
make install clean -C /usr/ports/security/php56-openssl && pkg install php56-curl

I am getting this:

=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/openssl-1.0.2a/openssl-1.0.2a.tar.gz
openssl-1.0.2a.tar.gz 100% of 5138 kB 156 kBps 00m33s
===> Fetching all distfiles required by openssl-1.0.2 for building
===> Extracting for openssl-1.0.2
=> SHA256 Checksum OK for openssl-1.0.2a/openssl-1.0.2a.tar.gz.
===> Patching for openssl-1.0.2
===> Applying FreeBSD patches for openssl-1.0.2
1 out of 1 hunks failed--saving rejects to crypto/md5/md5.c.rej
=> Patch patch-ad failed to apply cleanly.
=> Patch(es) patch-Configure patch-Makefile patch-RFC-5705 patch-SSL_CTX_use_serverinfo.pod applied cleanly.
*** [do-patch] Error code 1

Stop in /usr/ports/security/openssl.
*** [install] Error code 1

Stop in /usr/ports/security/openssl.
*** [build-depends] Error code 1

Stop in /usr/ports/security/php56-openssl.

I am on FreeNAS 9.3.1 -- latest updates. I am not sure what other info might be needed to help resolve this.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Seeing this thread was started over a year ago...

I am happy to go this route of install in favor of performance. Unfortunately, I am not getting very far.

I've made it to the step where you build php56-openssl:


I am getting this:



I am on FreeNAS 9.3.1 -- latest updates. I am not sure what other info might be needed to help resolve this.
the only package you need to build is php56-openssl. if anything doesn't build just install it with package and keep moving. 'pkg install openssl'
 

dedeaux

Dabbler
Joined
Jun 16, 2015
Messages
34
the only package you need to build is php56-openssl. if anything doesn't build just install it with package and keep moving. 'pkg install openssl'
Awesome. Thanks. I will likely return here for help if I don't get it running. This got me to where I could start configuring the rest. I let it sit and went to bed. As luck would have it, thieves came and stole our power line during the night so it may be a while before I get back to this. Thanks again for the help.

Sent from my SM-T800 using Tapatalk
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
The mysql socket issue that came up during initial setup of 8.2.0/8.2.1 will be fixed with the next release.
https://github.com/owncloud/core/pull/20984

I added more dependencies to install before compiling php56-openssl which will make things faster and easier to get through.
 

dedeaux

Dabbler
Joined
Jun 16, 2015
Messages
34
Awesome. Thanks. I will likely return here for help if I don't get it running. This got me to where I could start configuring the rest. I let it sit and went to bed. As luck would have it, thieves came and stole our power line during the night so it may be a while before I get back to this. Thanks again for the help.

Sent from my SM-T800 using Tapatalk
Power is back, so I was able to get this going. Thanks for the help. I have only done minimal testing, but all appears to be working well.

Sent from my SM-T800 using Tapatalk
 

kwessel

Dabbler
Joined
Mar 30, 2015
Messages
44
After using your tutorial I had a machine running rock solid for about three months. Yesterday I shut I shut down the computers in my server room in order to install a new phone system. When I rebooted my OwnCloud machine I got the following error message when I attempted to access OwnCloud from a browser:
Hopefully there is an easy fix.


 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
After using your tutorial I had a machine running rock solid for about three months. Yesterday I shut I shut down the computers in my server room in order to install a new phone system. When I rebooted my OwnCloud machine I got the following error message when I attempted to access OwnCloud from a browser:
Hopefully there is an easy fix.

is your files dataset mounted to /mnt/files in the jail? I specify to create and moubt this on the Jails > storage tab
 

Sean Coston

Contributor
Joined
Jul 25, 2014
Messages
128
Hi.
I followed this tutorial last year and set up ssl using this method by cyberJock. I have been enjoying excellent performance since then. I have to manually install upgrades as the ownCloud WebGUI upgrade tool doesn't seem to work for me, but that's OK.

First of all... Thank you to Josh and all the other contributors to this thread and this forum. It has been awesome to have my family's data synced with all our devices and computers, and stored centrally in a device under my control.

Ok, that said, the reason I'm writing this post is to ask if anyone knows how to obtain and install a Let'sEncrypt certificate now that the public beta is open to obtain free certificates. I've tried multiple times, but sadly unsuccessfully. Now I'm to the point where I think I might break my ownCloud Jail if I keep trying different variations of the Let'sEncrypt tutorial instructions.

If anyone has done this successfully, please share!

Thanks,

Sean
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
And it was working perfect until I shutdown and restarted.
can you show a screenshot of your Jails > Storage tab
And the output of this command run in the jail 'ls -l /media'
 

kwessel

Dabbler
Joined
Mar 30, 2015
Messages
44
upload_2015-12-10_19-55-46.png
 
Top