OwnCloud 9.1 Slow upload speed fix

Recent i moved owncloud server, also i changed from hubic to amazon as backend space provider. Now i have unlimited diskspace on owncoud using s3ql filesystem top of amazon.

But anyways, i run into tuning problems. after alot setting changes i managed to fix the upload/download speeds.
My problem was mainly the 100kb/s upload speed to owncoud server.

Im using NGINX, PHP7 and Owncloud 9.1.

To fix problem you must enable reverse proxy on nginx and redirect to local owncloud as different port. this will change the speed alot. instead upload 100kb/s i was able to upload 2000-5000kb/s what is a big improvement.

Trust me, it has done a big improvement! here is some config what i have:
Replace xxx with your own setting. Also on old vhost where owncloud is, remove all SSL things and do it as regular http, because the reverse proxy will handle the ssl.

server {
listen 80;
listen [::]:80;
server_name pilvi.xxx;
dav_methods off;
# enforce https
return 301 https://$server_name$request_uri;
}

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name pilvi.xxx;
dav_methods off;
ssl_certificate /etc/ssl/xxx;
ssl_certificate_key /etc/xxx;
ssl_session_cache shared:SSL:50m;
ssl_session_timeout 5m;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers “ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4”;
add_header Strict-Transport-Security “max-age=31536000; includeSubdomains;”;

set $upstream xxx:8001;

location / {
proxy_pass_header Authorization;
proxy_pass http://$upstream;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_set_header Connection “”;
proxy_buffering off;
client_max_body_size 0;
proxy_read_timeout 36000s;
proxy_redirect off;
proxy_ssl_session_reuse off;
}
}

 

If you have problems with speed, just try this. you will lose nothing. There is no information anywhere about this problems. im posting to ow forums about this tip aswell.

Titanix siirtyy

Titanix siirto uudelle palvelimelle menossa, joten tietokannan takia testaan ääkkösiä toimiiko:

 

ÄÖÅäöå

äöäöä

 

Kaikki vanhat postaukset, ääkköset ei tule näkymään oikeen. taistelun jälkeen en saannu niitä toimimaan, joten mennään näin.

More water to bats

Haha today put more water to batterys, it took abit over 10liters  to fill em from min to max 🙂


It seems need maintanence at least once a year, now they are on low use, they consume alot water, on float voltages 🙂

If anyone has technical specs what is factory float voltage for this kind water flooded batterys please comment, i have keep em 13,4V and boosted width solar panel to 13,9. Once a week also charger automatic bring them up up to 14,4V (programmed)

China post bring Mail!

Got this from china postage today:

img_6191.jpg 2 x LCD screen SPI /i2c interface.

One charger/voltage DC-DC step-down converter

 

 

 

 

 

This LCD screens are part of my project creating a homemade KWh meter, ill be connecting arduino to raspberry pi, reason i need arduino is the analog pins. Price of this items was around 5€ on ebay, super cheap china-stuff 😀

img_6193.jpg img_6194.jpg img_6195.jpg

Arduino has ordered same time but it taking very long time to arrive!

This is for home-automation, about to connect 3-phase Mains + 12 volt systems + charge from solar panel, let the hardware count and bring the numbers into screen how much there is energy coming from sun and how much is spending.
About this i going write more later, as now i cannot even start build it because lack of missing parts 😀

 

 

About DC-DC converter

Its a 75W 5A Adjustable LED Driver DC-DC Step-down Charge Module With Voltmeter, it cost about 3,70€ on ebay.
Im about to try this on solar panel tomorrow in a hope to get rid of need charge controller (on small panel)
Charge controller does not work at all with 40cell panel, lol. too much voltage even the manual says 50V is maximum.

img_6198.jpg img_6196.jpg img_6197.jpg

The DC-DC converter came with small heatsink and nice screws!
heatsink can be deployed to the FET i guess, there is nothing else where i can put it. But there is a char what is best efficiency and if that certain voltage is more than 90% i think no heatsink is needed on that point. The screws where good, i can mount it to the wall afterwards.

There was a extra component what i dident ordered

img_6192.jpg

It is step down converter 3A one, i know this because i have few of them already 😀
Have no idea why it came on same packet, well it is free stuff, why not!

Earlier came

img_6199.jpg img_6200.jpg

A proto board for MEGA (Arduino)
Oh yeah i need this for doing connections for HAL-Sensors and current transformers.

Seems it came with a small white proto board, what is not needed. its nice to have extra stuff 🙂 i don’t complaint. this white thing was part of the component so it belongs to that item.

Dailymotion

I have registered to daily motion, from now on im uploading videos to youtube and dailymotion.

here is widget from there 🙂 site is so simple, compared to youtube. its nice. maybe hopefully i get some extra income for watching videos. 🙂

You can follow me there right away! 🙂

 

Riku on

  

Testipostaus 

Kännystä

K-hansa ulvila ilmoitustaulu

Otin kuva ilmoitustaulusta 7.4.2016

Aurinkopaneeli testi V2

Tossa testannu aurinkopaneelien tekotyylit, nyt versio 2!

 

KIRJOITAN Myöhemmin lisää!!!

12898369_10207864673508627_4164547966268678945_o