From Vilnius to Siauliai: My IPFS Dtube server update

By Solominer | Solominer | 4 May 2019


This will have been the third build of my IPFS server, first one I installed Apache with nginx and could not get the Apache part off so I reformatted.


On the second attempt I got the Uploader working but found larger videos could not upload using my server. As I was running out of memory when running ffmpeg causing a 504 error and halting the upload. Since I was running an OpenVZ type of VPS I could not add a swap file and seems 2GB of memory was not enough for the server to fulfill its needs. So I had to leave Time4VPS and find a new host.


Decided to go with SynergyServers after reading reviews on HostAdvise. They are only a few hours away from Times4VPS so still in a geographically needed area for the IPFS network. I think im the only Dtube server in Lithuania.


I am now on the third build of this server, and things are going real smooth now. I moved to a KVM VPS which supports swap, which basically means when I run out of memory on the machine it starts using the hard drive as a virtual hard disk. I did have some troubles with the uploader at first, getting 504 errors again. But then I found the missing configuration lines in nginx and added the below.


client_header_timeout 9000; client_body_timeout 9000; fastcgi_read_timeout 9000; fastcgi_buffers 8 128k; fastcgi_buffer_size 128k; proxy_send_timeout 9000; proxy_read_timeout 9000; send_timeout 9000; fastcgi_send_timeout 9000; client_max_body_size 3G;

Since this time around when uploading I did not see my memory usage max and then get the 504 I figured there may be another issue other than ffmpeg on this server. Going through google posts I found a great guide on 504 errors and they suggest adding the needed lines above to the nginx file, and sure enough now I can successfully upload.


I can upload alot faster, about 12 megabits on my home connection which is about the max speed my cable modem can handle. When I upload using I tend to get 1-2 megabits so this is a big increase for me.

Though my new favorite feature of my server has to be the Public IPFS Gateway @techcoderx helped me set up. With a change to my IPFS configuration I enabled my IP address to be a public gateway to videos I pin though my server.


You may have seen me add at the bottom of my video descriptions "If the video has trouble playing, please use my IPFS Gateway instead of's by following this link".


Going to this link you are skipping as a video playback platform and using my servers resources instead. I can scale as my video views grow but for right now a single server is serving my videos without issue. My plans are to containerize and use Kubernetes for container orchestration if I did see a large increase in traffic.

I am super stoked that I can now just send people links to my server with my IPFS hash and they can play videos, without using as a platform as many of us know it has troubles sometimes playing video.

Special thanks to the whole onelovedtube community for all the help and encouragement to keep going.

If you want to have your dtube videos run better I suggest you stop by the onelovedtube community and talk to them about setting up your own community node. If that is too much for you, there is always an option to pay for a subscription for about $10 a month and onelovedtube will pin your videos and increase their availability on the network for playback.

Link to their discord



Donation addresses below to support my projects, infrastructure and other needs for building decentralized resources.

Coin Address btc1.png BTC: bc1qhfmvd2gywg4fvrgy2kkkkyqta0g86whkt7j8r7 ltc.png LTC: ltc1qdyzm5cwgt8e2373prx67yye6y9ewk0l8jf3ys9 dash.png DASH: XkSqR5DxQL3wy4kNbjqDbgbMYNih3a7ZcM eth.png ETH: 0x045f409dAe14338669730078201888636B047DC3 doge.png DOGE: DSoekC21AKSZHAcV9vqR8yYefrh8XcX92Z zen.png ZEN: znW9mh62WDSCeBXxnVLCETMx59Ho446HJgq Platform URL/Username steem.png Steem dtube.png D.Tube!/c/solominer weku.png Weku TUBE.png Bit.Tube mithril.png Mithril Solominer discord.png Discord Solominer#4248 bitcointalk.png Bitcointalk;u=83228 109046833app-icon.png CryptoPanic D5z-H9-Syx-CKd9-GJ4-T6rk-Bdeq-Zw1co-QAa-Qy-CUz-UF4-Foz-Bv-W6xf-LX2-PECcvq-Brku4u7.png Whaleshares bearshare.png Bearshares

#server #vps #infrastructure #dapps #uploader #steemiteducation #education #learning #technology #troubleshooting

How do you rate this article?



I am a user of cryptocurrency and also run infrastructure for multiple Coins and Dapps. I write about my experience with blockchain tech and nature. On the side I use a full spectrum camera to take unique photos in the Infrared and Ultraviolet spectrums.


Working with interesting technology: blockchain, IPFS, infrared and ultraviolet photography/videos

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.