Lbry server on Qnap NAS

Don't miss a thing. Post your questions and discussion about other uncategorized NAS features here.
Post Reply
Feign
First post
Posts: 1
Joined: Fri Jul 17, 2020 9:44 pm

Lbry server on Qnap NAS

Post by Feign »

Hello,
I've been trying for days to make Lbry server work on my Qnap Nas (TS-253), in order to communicate with Lbry API, in vain... So I come to you, hoping i'll find some help :DD

I've downloaded the "pre-built binary file" lbrynet provided by Lbry here : https://github.com/lbryio/lbry-sdk/releases
It is now on my NAS in /share/MD0_DATA/Start/scripts/lbrynet and I did a "chmod +x" on it.
Also, I've created an autorun.sh file in the /tmp/config/ folder in which there is :

Code: Select all

#!/bin/sh
/share/MD0_DATA/Start/autorunmaster.sh
autorunmaster.sh (on which I also did a "chmod +x) contains:

Code: Select all

#!/bin/sh

# location: /share/MD0_DATA/Start/autorunmaster.sh
# script name: autorunmaster
# purpose: launch all custom scripts in /scripts folder
# designed for Qnap TS-253D

export START=/share/MD0_DATA/Start
export SCRIPTS=$START/scripts
export LOGS=$START/autorunmaster.log

# Creation variable date
DATE=$(date +"%d_%m_%Y_%Hh%Mm%Ss")

echo $DATE ' - START autorunmaster.sh' > $LOGS 2>&1
echo $DATE ' - Lbry server launch...' > /share/MD0_DATA/Start/autorunmaster.log 2>&1
/share/MD0_DATA/Start/scripts/lbrynet start
echo $DATE ' - END autorunmaster.sh' > $LOGS 2>&1
All works fine until the line /'share/MD0_DATA/Start/scripts/lbrynet start'.
In autorunmaster.log, i only have the "START" and "Lbry server Launch..." outputs. But server isn't working (no API requests work from http://localhost:5279 as it is supposed to do) and no "END" output.

Can anyone tell me what's happening and what I am doing wrong, please?

Thanks in advance.
Taels
Starting out
Posts: 13
Joined: Sat Dec 21, 2019 8:29 am

Re: Lbry server on Qnap NAS

Post by Taels »

Have you found a solution? I'm also interested in setting up a LBRY server on my NAS.
User avatar
dolbyman
Guru
Posts: 35275
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Lbry server on Qnap NAS

Post by dolbyman »

looked into container or vm ?
Post Reply

Return to “Miscellaneous”