Posts by aptalca


    I am new to this OS. I am installing it on a 8GB stick right now. I guess I just boot to it? there is no way to modify the disk space when installing on hard drive. it only used 512mb out of a over 500GB drive. telling me it was already using 40% of the first partition right and end of install. that's crazy, they need to allow us the change partition size. anyhow i ran across your post and wanted to input what I am experiencing. I guess I can install a OS on the laptop after the install to the USB drive. no OS on it now.


    During first boot, whether it's installed on hdd or from a flash drive, it resizes to utilize the entire drive. First partition is the read only system partition, that stays the same. Data partition is mounted as /storage

    I have done that a different way with my lemp container :

    Code
    while [ ! $(docker exec lemp ls /run/mysqld/mysqld.sock 2>/dev/null) ]; do sleep 0.5; done

    You may have to adapt it to the location of the socket in your container.

    That is an excellent suggestion. Thanks
    [hr]

    It seems your issue is different (network related). In this case, kodi attempted to connect to the library 8 seconds after mysql went up. It should have connected just fine.

    Do you have the option to wait for network before starting kodi turned on in libreelec settings? Also you can try to use the IP address for mysql rather than the hostname in advancedsettings.xml


    Yes, I installed it and after many (re)boots (cold and warm) I would say it is ok 4 out of 5 times.
    Any log wanted?

    Thanks for your efforts,
    BJ


    So, if you could get logs from that 1 out of 5 times, that would be great.

    I hardcoded a 10 second pause between the container creation/start and kodi service coming up. In my case, it takes about 4 seconds for mysql to be up and running after container start. Perhaps in some cases it may take longer?

    For the logs you can try the following three:
    journalctl -u docker.linuxserver.mariadb
    journalctl -u kodi
    And of course checking the kodi log

    I'm mostly interested in the timestamps comparing the time for the line with s6-init from the mariadb one and the kodi service start (and when kodi tries to connect to the database)

    Figured out a way to make the kodi service wait for mariadb to go up. Just need to package it up in the most optimum way so that it only causes a delay for folks who use it for their kodi library
    [hr]
    Can you test installing this from zip? docker.linuxserver.mariadb-1.0.4.zip

    It should update your existing addon. Then go into the addon settings and turn the last setting on

    I tested it both ways and seems to work. Once you confirm, I'll push it to the repo


    OK, I tried with "sleep 10" in autostart.sh, works but not so nice.
    I will give "/storage/.config/systemd/kodi.target.wants" a try....


    Thanks for testing this.

    I used the mariadb addon only for other services and not for the kodi library itself.

    One possible fix is editing the mariadb addon's systemd service file and adding "Before=kodi.service" to make sure mariadb is up before kodi. Could you test that and let me know? If it works, I'll update the addon.

    You can find the service file under /storage/.kodi/addons/docker.linuxserver.mariadb/systemd/

    First, install the linuxserver repo from libreelec repo under addon repositories. Then from the linuxserver repo, install portainer. It will take a minute for it to enable the docker service, and then download the portainer image and create the container (if it is the first time installing the docker service, reboot for good measure)

    in a web browser, go to your libreelec box's ip and port 9000, you should see the portainer gui. Then follow the below steps to create a pihole container:


    I have a simple python script addon that I would like to add.

    I have these files:
    addon.xml
    default.py
    icon.png

    and this is my package I got the example from script.config.vdr:

    Everything builds correctly, no errors, but the add-on does not appear in Kodi, anyone know what am I missing?

    Thank you!

    You can create a kodi addon (as opposed to LE addon) with the three files you have. As long as the addon.xml is valid, just zip up the three files and install from zip in kodi.

    If you post (or pm) your addon.xml, I can take a look


    Hi aptalca,

    I understand that you're one of the LinuxServer.IO team. May I request to add this JDownloder service to the LinuxServer.IO's repository for easy installation.

    Thanks.

    No downloaders allowed on the LibreELEC repo.

    Plus, although I'm on the linuxserver team, this image is one I support myself separate from the team.


    Hi, I use this serie of builds and now specially the 8.0d one on my Nexbox A95X S905X (2G + 16G) box. Not Nand installed so it runs from SD. I don't no if it's an issue, but the bluetooth interface is always disable with these builds and I cannot find a way to enable it if possible. Can someone helps or clarifies on that.

    TIA


    I have the same box and I use Bluetooth. You just have to enable the Bluetooth service through the libreelec settings addon (under the services tab I believe).


    Hello. Which of the S905x boxes would you recommend? Nexbox A95X / Beelink MINI MXIII II / Mini M8S II / X96 / other? Just LE a couple of plugins a installed to NAND.... Thnx :shy:


    Keep in mind that each box / model has different versions with varying hardware.

    I have the Nexbox A95X-B7N in 2GB/16GB configuration and it works great. The wifi is also strong and supports 5Ghz. The version with 1GB ram however doesn't support 5Ghz wifi.


    Hi and thank you for your quick reply,

    you mentioned the command chown 99:100 ... . I'm right that i have to set the permissions of the download directory in LE to "99:100" or is this a issue of the container because there are not "enough" rights? I don't know whether you mean in LE over SSH or as command in the container. If it is a issue for the container i have no idea how the changes could be done. :rolleyes:
    Thanks again, great work!

    P.S. you may allready know that I'm not a native speaker/writer. I'm from Germany and i'm going to continue playing arround with LE after my work.


    Either way would work. Changing permissions in LE is easier.

    The owner of that folder's user id number would be 99:100 both inside and outside of the container. Just the user name would look different. Inside the container, 99 corresponds to user nobody, but in LE (outside the container) 99 doesn't correspond to a user name so it would just show 99.

    The problem was that the downloads folder was owned by root, and user 99(nobody) inside the container did not have permissions to write to it.

    I see, it's a permission issue.

    On LE, everything is owned by root, but this container runs as 99:100 (nobody:users in ubuntu). If you do a "chown 99:100 /storage/downloads" that should take care of it.

    You should also be able to use the other location as well. Just make sure the permissions are set correctly.

    For start on boot, there are multiple options. I guess the easiest is to add the following parameter to the docker run command: "--restart=always" somewhere in the middle

    In the meantime, I'll look into how to change the user of jd2 so permissions would no longer be an issue. There was a way, but can't remember, lol