Posts by anand0412

    hi HiassofT . repartitioned the ssd as your suggestion. it detected immediately after that. no delay. then I restored my backup. now its stuck in a restart loop.


    I get

    ```

    checking backup file ... ok

    This may take some time to complete, please be patient.

    Restoring.. \|/

    ```

    after a long time, it restarts and repeats the process.

    Hi. I followed your guide. But the settings wasn't copied. libreelec started as a fresh installation.


    This is the original cmdline.txt


    ` boot=UUID=0106-1615 disk=UUID=f8fb3cf4-a55b-465a-8b04-55bf7c747aef quiet `


    this is what i got from blkid


    `

    LibreELEC:~ # blkid

    /dev/mmcblk0: PTUUID="b774a380" PTTYPE="dos"

    /dev/mmcblk0p1: SEC_TYPE="msdos" LABEL_FATBOOT="LIBREELEC" LABEL="LIBREELEC" UUID="0106-1615" TYPE="vfat" PARTUUID="b774a380-01"

    /dev/mmcblk0p2: LABEL="STORAGE" UUID="f8fb3cf4-a55b-465a-8b04-55bf7c747aef" TYPE="ext4" PARTUUID="b774a380-02"

    /dev/loop0: TYPE="squashfs"

    /dev/sdb1: PARTLABEL="Microsoft reserved partition" PARTUUID="a5c7bfd0-5cc1-4fda-a738-780210fe8db8"

    /dev/sdb2: SEC_TYPE="msdos" LABEL="NEW VOLUME" UUID="68F7-74C3" TYPE="vfat" PARTLABEL="Basic data partition" PARTUUID="1ca9e39d-09e6-4f51-baf1-df5b13a57591"

    /dev/sdb3: LABEL="SSD2" UUID="f9d7e553-3349-d601-e0d7-e5533349d601" TYPE="ext4" PARTLABEL="Basic data partition" PARTUUID="00008279-d7e0-53e5-33c9-d601f2040100"

    /dev/sda1: LABEL="ExtHDD2" UUID="f476f82e-a241-d601-f072-f82ea241d601" TYPE="ext4" PARTUUID="f9f5dbd2-01"

    /dev/sda2: LABEL="ExtHDD1" UUID="C65CC89E5CC88B1F" TYPE="ntfs" PARTUUID="f9f5dbd2-02"

    `


    this was the new cmdline content


    ` boot=UUID=0106-1615 disk=UUID=f9d7e553-3349-d601-e0d7-e5533349d601 quiet `


    i copied the whole storage folder into ssd using kodi interface.


    The ssd gets mounted a little late. about 30 seconds after the kodi interface. could this be an issue?


    if it matters, the ssd is mounted on the 2nd usb 3.0 port (2nd from the top)



    I also notice that the storage folder in sd card shows 50.69GB (i'm sure there is not that much data in there). Media files are in a separate HDD. storage folder in the ssd (copied) is only 52.11MB (reflective of the actual files in there).

    Hi. Im sure this has been answered somewhere but i cant seem to find it. Im running libreelec 9.2.3 on rpi 4b. Im getting a ssd.


    Pending the rpi4 boot from usb update, i understand that the best method now is to move storage and userdata folder to the ssd.


    Can someone please point me to a guide on how to do this.


    Thanks you very much.

    Hi. My library is kind of a mess. I have some videos playing remotely via stream files. I also have some local files in my hdd.


    Im trying to download all the online files. In the process, there will be duplicates (one local one remote)


    Is there a way to make kodi automatically play the local file and ignore the stream file?

    Hi guys. I'm running libreelec 9.2.1 on raspberry pi 4b 4GB. I also have the docker addon installed with home assistant and nginx letsencrypt. when i run the top command, i get this results.


    When idle, kodi.bin cpu usage is about 40 - 50%


    When playing a video from local library, the kodi.bin's cpu usage drops to about 20% - 30%


    When the video stops playing, it bumps back up to about 40 % ?


    I'm not sure how this works. Is that how it should be? is 40% cpu usage on idle too high?


    Best regards,

    Anand

    Hi, aptalca , thanks for the detailed explanation.

    Docker addons are not the same as docker containers you manually create. Addons use systemd to manage the containers in an automated fashion.

    I did not know that.

    "started for the first time" refers to starting it with no existing persistent data. The persistent data (including the certs) reside in the userdata addon_data folder by default. As long as it's there, certs are not regenerated until they get close to expiration.

    thanks for clarifying.



    Since my earlier setup was unusable, i uninstalled the linux io addons. then, I manually created a contained for nginx/letsencrypt with this command


    docker create --name=letsencrypt --cap-add=NET_ADMIN --net=host -e PUID=1000 -e PGID=1000 -e TZ=Asia/Kuala_Lumpur -e URL=subdomain.duckdns.org -e SUBDOMAINS=www,ha -e VALIDATION=http -e EMAIL=email@gmail.com -p 443:443 -p 80:80 -v /storage/letsencrypt:/config --restart unless-stopped linuxserver/letsencrypt


    I ran duckdns as an integration with HA. i guess i dont need another docker for it.


    Its all working great now with no problems. Just that I dont know if this is a best practice case.


    Having said that, i feel like i owe you a test. I didn't expect you to do so much to help me out. really appreciate it. Thank you alot.


    With that said, make sure you update your addons and refresh the repos. There was a brief period of time where the addon updater caused a boot delay of about 10 minutes due to a bug in its systemd config. It was fixed shortly after.

    This could have been my problem. But then, i also experienced extreme system lag while using kodi.


    Will update


    In the meantime, not sure if this log is any helpful.


    https://pastebin.com/hECnPM9s

    Hi. thanks for the reply.

    Something must be wrong with my setup then. Libreelec with kodi and home assistant in a docker runs fine and smooth. When I restart libreelec, the HA docker (which I installed using command line) does not get destroyed and recreated.


    Nginx letsencrypt and duck dns gets destroyed and recreated.


    Without nginx letsencrypt and duckdns, i can restart my libreelec (with HA) in about 30 seconds. With nginx letsencrypt and duckdns, its about 10 to 15 mins and kodi appears laggy. I suspect nginx is trying to create ssl certificare on every boot.


    I have now uninstalled nginx letsencrypt and duckdns and not sure how to find the relevant logs. If you can guide me I will provide it. The system becomes unusable with those addons.


    Just to clarify, i did let it run overnight the first time with nginx letsencrypt installed to allow it to process the certificates.

    Hi. I did some reading and came across this

    LinuxServer.io docker addons and general docker info .


    Updater:



    The updater addon is a dependency for all linuxserver docker addons and is responsible for refreshing the docker images in the background. By doing so, it ensures that when Libreelec is restarted, the new container is created based on the latest image, but it doesn't have to download the image, potentially holding up the start process.



    Is there a way for me to turn this off?

    Hi. I am new to libreelec, docker and linux.


    I have 3 docker container installed. One for home assistant via docker run -d command. Another 2 through the linux io repo ( duck dns and nginx letsencrypt).


    When i restart libreelec, it took a very long time to boot up . A good 10 mins. I ran docker -ps command. It shows that duck dns and nginx letsencrypt comtainer was just created when it booted up.


    Home assistant docker on the other hand just started the existing container.


    I can see this by the difference in created vs status.


    Is it supposed to be like this or am i doing something wrong.


    Also, is these setup too heavy for a raspberry pi 4 4gb?