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
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
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
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.