Page 1 of 1
Owncloud in a Jail - Transfer speed issue
Posted: 25 Nov 2014 05:39
by westoztux
Hi
I have a jail setup using TheBrig and I have sucessfully installed owncloud 7.0.3 into the jail. I have an issue with the transfer speeds ,it will start at a good speed then drop off to very slow speed and will eventually disconnect the client. I tried to upload directly through the owncloud web interface but i am seeing similar behaviour . Im not to sure how to find what is causing the issue , if others could make some suggestions to help diagnose this issue it would be much appreciated.
Thank you
Re: Owncloud in a Jail - Transfer speed issue
Posted: 26 Nov 2014 17:23
by westoztux
I have now tested the owncloud install with a local windows pc and the speed of the transfer is good ? so the issue seems to be with my linux machine connecting to the nas4free owncloud install.When connecting to the internet etc with the linux pc it is working good.
Re: Owncloud in a Jail - Transfer speed issue
Posted: 27 Nov 2014 10:10
by alexey123
What is a web server and the database that you use ?
1: On Nas4Free install -> If you use NOT fsbruva's script, pls printout config for webserver
2: On Windows install
3. On Linux install
Re: Owncloud in a Jail - Transfer speed issue
Posted: 28 Nov 2014 02:14
by westoztux
Hi Alexey
I use fsbruva's scripts to install TheBrig for nas4free and also owncloud into the jail.
Re: Owncloud in a Jail - Transfer speed issue
Posted: 28 Nov 2014 11:00
by alexey123
Hi
Just now install owncloud for test.
In first - I think ( may be I mistake ) mysql not need for owncloud, if we have less 100 concurrent users. I use sqlite.
In second - javascript console says about missing jquery-1.10.0.min.map into core/js folder. It not critical, but you can download it from internet and insert to your core/js folder.
For example from here
https://raw.githubusercontent.com/jquer ... .0.min.map File have only 1 , but long string.
In third - you need adjust php
Create file /usr/local/www/owncload/phpinfo.php with content
and fire it with webbrowser as <YourJailIP:Port>/phpinfo.php . Observe setting and try adjust its over /usr/local/etc/php.ini or create /usr/local/www/owncloud/.user.ini file. /user.ini can adjust only part of variables, my user.ini have entries
upload_tmp_dir = /tmp
upload_max_filesize = 256M <----adjust as you need
post_max_size = 256M <---- some as filesize
html_errors = off
session.gc_maxlifetime = 60
session.save_path = /tmp
date.timezone = 'Asia/Jerusalem' <-- insert correct timezone
With this settings I have upload/download speed ~10-12 MB/s, I think it very well for https.
Re: Owncloud in a Jail - Transfer speed issue
Posted: 01 Dec 2014 16:40
by westoztux
Thanks Alexy for your reply sorry for the delay I have not had the time spare to work on this problem, I have checked further into this issue and it looks to be an issue with my firewall and all machines windows and linux running the owncloud client are being blocked , i can see the packets from my lan being blocked in the logs but have been unsuccessful to pass them through the firewall. My firewall is running pfsense and the nas4free box sits in the dmz, i will try to move the jail onto the lan subnet to see if this will correct the issue.