Installing weboob on Synology (opkg method)
Here are draft instructions for installing weboob on a Synology NAS:
-
Install
Git Server
using Synology package manager. -
Install
opkg
manager (assuming ARM7 here; google for other CPUs):
telnet <synology>
sudo -i
mkdir -p /volume1/@entware-ng/opt
wget -O - http://pkg.entware.net/binaries/armv7/installer/entware_install.sh | /bin/sh
/bin/ln -sf /volume1/@entware-ng/opt /opt
/opt/etc/init.d/rc.unslung start
- Install miscellaneous packages:
opkg update
opkg upgrade
opkg install --force-overwrite python-dev
opkg install zlib pillow libxml2 libxslt python-lxml
- Install
pip
(in/opt/lib/python...
):
cd /volume1/tmp
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
- Install:
/opt/bin/pip install urllib3
/opt/bin/pip install requests
/opt/bin/pip install prettytable
- Install
weboob
:
/opt/bin/pip install https://git.weboob.org/weboob/devel/repository/archive.zip?ref=master
- Although
lxml
has been installed byopkg
,pip
may think it has not been installed and try to recompilelxml
from source. If this is the case, perform the following steps on your computer (not on the Synology NAS). This will add the missingdist-info
directory thatopkg
has not installed. You need access to the NAS from your computer. Once the missing directory has been created, you can install weboob viapip
.
pip install lxml
mv <path-on-computer>/site-packages/lxml-4.1.1.dist-info <path-on-nas>/site-packages
/opt/bin/pip install https://git.weboob.org/weboob/devel/repository/archive.zip?ref=master
- Run
boobank
:
/opt/bin/weboob-config update
/opt/bin/boobank