Ansuel / tch-nginx-gui

Modified file to apply to a stock technicolor GUI
GNU General Public License v3.0
340 stars 52 forks source link

Transmission doesn't work #1062

Open Luigigimmi opened 3 years ago

Luigigimmi commented 3 years ago

Device Model/Firmware: MediaAccess DG ( MediaAccess DGA4131FWB ) 18.3.n.0462-2301003-20200717112810 GUI Version: 9.6.65-89342d7b

Debug info: DebugHelper2021-01-06-1258.tar.gz

Transmission doesn't seem to work. Aria 2 is working fine. I tried installing it via the GUI and command line with /usr/share/transformer/scripts/appInstallRemoveUtility.sh install transmission

root@OpenWrt:/# /usr/share/transformer/scripts/appInstallRemoveUtility.sh remove transmission
Removing package transmission-daemon-openssl from root...
Not deleting modified conffile /etc/config/transmission.
Removing package transmission-web from root...
root@OpenWrt:/# /usr/share/transformer/scripts/appInstallRemoveUtility.sh install transmission
Downloading https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/base/Packages.gz
Updated list of available packages in /var/opkg-lists/chaos_calmer_base
Downloading https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/chaos_calmer_packages
Downloading https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/chaos_calmer_luci
Downloading https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/chaos_calmer_routing
Downloading https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/chaos_calmer_telephony
Downloading https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/target/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/chaos_calmer_core
Downloading https://www.macoers.com/repository/homeware/18/brcm63xx-tch/VANTW/base/Packages.gz
Updated list of available packages in /var/opkg-lists/chaos_calmer_base_macoers
Downloading https://www.macoers.com/repository/homeware/18/brcm63xx-tch/VANTW/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/chaos_calmer_packages_macoers
Downloading https://www.macoers.com/repository/homeware/18/brcm63xx-tch/VANTW/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/chaos_calmer_luci_macoers
Downloading https://www.macoers.com/repository/homeware/18/brcm63xx-tch/VANTW/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/chaos_calmer_routing_macoers
Downloading https://www.macoers.com/repository/homeware/18/brcm63xx-tch/VANTW/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/chaos_calmer_telephony_macoers
Downloading https://www.macoers.com/repository/homeware/18/brcm63xx-tch/VANTW/target/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/chaos_calmer_core_macoers
Installing transmission-web (2.94-11) to root...
Downloading https://www.macoers.com/repository/homeware/18/brcm63xx-tch/VANTW/packages/transmission-web_2.94-11_all.ipk
Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Installing transmission-daemon-openssl (2.94-11) to root...
Downloading https://www.macoers.com/repository/homeware/18/brcm63xx-tch/VANTW/packages/transmission-daemon-openssl_2.94-11_arm_cortex-a9_neon.ipk
Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest.
Configuring transmission-daemon-openssl.
Configuring transmission-web.

Output of cat /proc/cpuinfo:

root@OpenWrt:/# cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 1 (v7l)
BogoMIPS        : 1330.17
Features        : half thumb fastmult edsp tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x4
CPU part        : 0xc09
CPU revision    : 1

processor       : 1
model name      : ARMv7 Processor rev 1 (v7l)
BogoMIPS        : 1330.17
Features        : half thumb fastmult edsp tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x4
CPU part        : 0xc09
CPU revision    : 1

Hardware        : BCM963138
Revision        : 0000
Serial          : 0000000000000000

If I run transmission-deamon from command line I get the following error:

root@OpenWrt:/# transmission-daemon
transmission-daemon: error while loading shared libraries: libmbedcrypto.so.1: cannot open shared object file: No such file or directory

Could someone help me figure out what is wrong? I've just installed the GUI, before I was using the one from my provider, which lately became way too slow.

Thank you and keep up the awesome work!

lorenzocanalelc commented 3 years ago

Looks like the problem is that the package libmbedtls is not installed, as it isn't a dependence of the libcurl (7.60.0-3) installed in the DGA4131 Firmware while it is a dependence on the libcurl (7.60.0-4) available in the repo. I didn't investestigate what versions this packages are on DGA4132 (I suppose transmission works there). If you want to try you should solve installing libmbedtls (opkg update && opkg install libmbedtls), I don't know if this can cause other issues.

EDIT: Looks like DGA4132 (FW 2.2.1) has the same exact problem, the problem is solved by updating libcurl or install libmdebtls.

Luigigimmi commented 3 years ago

Thank you @lorenzocanalelc, updating libcurl with opkg update && opkg upgrade libcurl fixed the problem!

I'm not sure if it makes sense, but maybe the script that install transmission could also update libcurl.