Owncloud on ReadyNAS not yet ready for prime time: #Owncloud #ReadyNAS #ReadyCloud
Today I took the time to setup and configure a ReadyNAS 316 with 6 TB worth of drives. I wanted to make this available to various parties as ubiquitously, and simply, as DropBox. To do this I wanted to use Owncloud.
The installation of Owncloud appeared to be pretty easy. Within the ReadyNAS Administrative GUI, I simply selected the Owncloud app by going to Apps-
Owncloud was pretty pleasant to use, and configure (it also having a web based admin feature). I set up a bunch of user accounts, and some groups. I did a basic connection test within the private LAN where the ReadyNAS sat, and it all worked.
Wanting to use this from the Internet, I then forwarded the appropriate ports from my firewall (HTTPS (443), and HTTP(80)) to the ReadyNAS box, and figured I was done.
Window's clients had no real trouble connecting, but my Mac ReadyNAS client refused to do so claiming the "SSL Handshake failed". Thanks to this post:https://forum.owncloud.org/viewtopic.php?f=14&t=17846
I was able to determine that this had to do with the difference in name between my internet facing domain name, the Apache server name, and lack of said name from my self signed cert.
Regenerating the cert could be done via the ReadyNAS's web interface: System->settings Click on the HTTPS button, and set the SSL Key Host field to the domain name being used.
There was still more work to be done though. Before my mac client would successfully connect to Owncloud I had to add the line:
>" in the /etc/apache2/sites-enabled/ 000-fv-https file.
Finally I could connect to Owncloud via it's client. Yea!
All was well, accept it wasn't. I quickly took a 300MB directory full of hundreds of different file, and dropped it into my Owncloud folder to see what happened.
What happened was painful, and it took me a while to characterize. Individual files would upload at connection speed. Then there would be long pauses before the next file was uploaded. The total throughput was unusably small.
Through more research, I thought perhaps there was a conflict between Apache's own WebDAV service and Owncloud. I ssh'd in to my ReadyNAS and removed the DAV module from Apache. No improvement.
Finally I found this:https://github.com/owncloud/core/issues/3118
Yep. Lots of folks were having this problem. There was some movement on it by the core developers, and some people reported that by Owncloud version 5.0.10 things cleared up. Others claimed they were still bad. Some folks said using MySql versus SqlLite cleared up the issues, while most others reported this wasn't any help either.
In the end, the best I could do was attempt an upgrade, but the newest version of Owncloud my ReadNAS would apt-get was 5.0.7.
I do still have a few options left open to me, but I've pretty much left the convenience of the nice ReadyNAS web interface behind.
BTW: Netgear offers an integral alternative to Owncloud. It's called ReadyCloud. There are some differences, but for my purposes this would be OK. In the end what I need to be able to do is archive files, and share files very simply across a wide variety of technology competencies and operating systems.
The Mac Installer for "failed to install". Oh well.