Posts by sittich

    For me, this FTPS issue is quite new. It illustrates how long I have not used it, even though it has been set up in each of my LibreELEC installations for years. A downgrade to LibreELEC 11.0.6 is not an option for me, nor are the latest nightlies of v13, as in this case, FTPS incorrectly lists elements (folders/files).


    Through a valuable tip from another post by vpeter on how to overlay files in the file system, I have found a provisional solution. I extracted the files curl and libcurl.so.4.8.0 from the LibreELEC 11.0.6 images (Gen eric.x86_64|RPi2.arm). The two required files are hidden within the archive in the SYSTEM file, located in the directory structures /usr/bin/curl and /usr/lib/libcurl.so.4.8.0. For Windows users, extracting works well with the PeaZip free archiver utility, as the SYSTEM file is also gz compressed.
    Once the two files are available, it is time to copy them to your current LibreELEC installation. For this purpose, SSH must be enabled on LibreELEC.


    Default access for ssh/sftp:
    ssh root@<LibreELEC-IP>
    user: root
    pass: libreelec

    Via SFTP, the two required files are copied to the /storage/ directory. For Windows users, the tool WinSCP is recommended, but the display of hidden files must be enabled beforehand; otherwise, you will not be able to see the hidden .config directory. The file autostart.sh in /storage/.config/autostart.sh is added with the two commands listed below. Ensure that the file attributes for both files for fully functionallty are set back to rwxr-xr-x. Then reboot the media center, and FTPS should function again.


    autostart.sh
    #!/bin/sh -e
    # curl and libcurl.so.4.8.0 extracted from LibreELEC 11.0.6
    mount -o bind /storage/libcurl.so.4.8.0 /usr/lib/libcurl.so.4.8.0
    mount -o bind /storage/curl /usr/bin/curl
    exit 0


    This is approximately what the contents of the /storage/ directory look like:



    For those who do not want to experience any headaches or wish to avoid the entire process of extraction, I am offering these two files. This is of course a matter of trust. libcurl.so.4.8.0 and curl.zip

    There is a comparison table that indicates which versions of curl, along with their libraries, are used in the different LibreELEC versions. It is evident that under LibreELEC 12.0.1, 12.0.2, and the current nightly-20250415-e25b5e0 (v12.x), ftps does not function.

    LibreELEC Generic.x86_64 and RPi2.arm curl comparison table:
    183

    With the current LibreELEC nightly-20250424-067110d (v13.x), ftps is operational again; however, various elements (folders/files) are constantly being omitted. This renders it completely unusable!

    Examples pictures for missing Elements (Folder or Files):
    missing-elements-Libre-ELEC-nightly-13-x-1.jpg
    missing-elements-Libre-ELEC-nightly-13-x-2.jpg
    missing-elements-Libre-ELEC-nightly-13-x-3.jpg

    My questions are as follows:

    - Why is the nightly version (v12.x) still unfixed? The included curl version has been outdated for a year.
    - Why are the folders/files not fully listed in the nightly version (v13.x)?