That partition only holds the read only system image.
Addons and other user data are on a different partition that gets resized during first boot.
That partition only holds the read only system image.
Addons and other user data are on a different partition that gets resized during first boot.
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
That is an excellent suggestion. Thanks
[hr]
Display More
aptalca
I guess that this is what we are looking for :journalctl -u docker.linuxserver.mariadb :
Mar 21 09:50:27 LibreELECintel systemd[1]: Starting docker.linuxserver.mariadb container...
Mar 21 09:50:30 LibreELECintel sh[814]: docker.linuxserver.mariadb
....
Mar 21 09:50:37 LibreELECintel systemd[1]: Started docker.linuxserver.mariadb container.
Mar 21 09:50:37 LibreELECintel sh[814]: 170321 09:50:37 mysqld_safe Logging to syslog.journalctl -u kodi :
Mar 21 09:50:38 LibreELECintel systemd[1]: Starting Kodi Media Center...Mar 21 09:50:38 LibreELECintel systemd[1]: Started Kodi Media Center....kodi.log :
09:50:45.929 T:139892836030208 ERROR: Unable to open database: MyVideos107 [2003](Can't connect to MySQL server on 'libreelecintel' (111))
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
Hmm. I'll do some testing on my end and will let you know
I have the nexbox a95x-b7n 2/16 version, with dual band wifi, strong signal. S905x, installed kszaq's build to internal, works great. Bought it for $37 on sale, regularly around $50
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/
Display MoreHi escalade,
when i did this question, you suggested me to run pi-hole on Docker.I'm a totaly noob with Docker
Is Docker in your build? or i need to "install" it?
I know that there is a Docker Addon from Kodi.. but if you tell me that Docker is compiled in your build...Then, how i should to do to run Pi-Hole under Docker?
I'm looking for a Docker's Pi-hole and i've found this:
pi-holeCould you help me in this?
Thank's
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:
1. In portainer, go to containers and hit add container
2. Put in a name ie. "pihole"
3. The image should be "diginc/pi-hole" for x86 and "diginc/pi-hole:arm" for arm
4. Click on +map port three times, first one should be 80 and 80, the second 53 and 53 and tcp, and the third should be 53 and 53 and udp
5. At the bottom, hit "environment variables to add the variables from here: https://github.com/diginc/docker-pi-hole#environment-variables such as the variable name is "ServerIP" and the value is 192.168.1.XX
6. On the host, create a blank file "/var/log/pihole.log"
7. In portainer hit the "Volumes" tab and create two new volumes mappings
8. Check the "path" box on both and enter the following
"/var/log/pihole.log" on the left and the same on the right (that will map the file on the host to the file in the container)
9. In the second one, enter a folder path of your choosing on the left side and on the right enter "/etc/pihole" (this will map the host folder to the config folder in the container and make the settings files persistent)
10. Now you can select the restart policy at the top and hit create. It will take a bit for it to download and extract the images and then will create the container
Display More
Can Plex be run from LibreELEC on an S905 device?
You can use the plex docker addon from the linuxserver repo (under libreelec repo / addon repositories)
I have a simple python script addon that I would like to add.I have these files:
addon.xml
default.py
icon.pngand this is my package I got the example from script.config.vdr:
Code Display MorePKG_NAME="script.simple.launcher" PKG_VERSION="" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="OSS" PKG_SITE="" PKG_URL="" PKG_DEPENDS_TARGET="" PKG_SECTION="" PKG_SHORTDESC="Simple Launcher" PKG_LONGDESC="Simple Launcher" PKG_AUTORECONF="no" PKG_IS_ADDON="yes" PKG_ADDON_NAME="Simple Launcher" PKG_ADDON_TYPE="xbmc.python.script" make_target() { : # nothing to do here } makeinstall_target() { : # nothing to do here } addon() { mkdir -p $ADDON_BUILD/$PKG_ADDON_ID cp -PR $PKG_DIR/addon/* $ADDON_BUILD/$PKG_ADDON_ID }
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
Or you could have used docker: nextcloud
Instead of chown, you can try chmod to give write permission to others. Not sure if it would work on ntfs disk but probably will
EDIT: I guess you need to change the mount settings to change ownership and permissions: permissions - How do I use 'chmod' on an NTFS (or FAT32) partition? - Ask Ubuntu
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
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.
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