Kodi Community Forum
v18 Kodi 18.2 (LibreELEC 9.0.2) - Texture database when on non master profile - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: v18 Kodi 18.2 (LibreELEC 9.0.2) - Texture database when on non master profile (/showthread.php?tid=368911)



Kodi 18.2 (LibreELEC 9.0.2) - Texture database when on non master profile - mvrk - 2022-07-13

Hi,

I've LibreELEC 9.0.2 with Kodi 18.2 and i have 2 profiles configured besides the master profile.

When i'm on a non master profile for some weird reason it uses the Texture13.db from the master profile:

odroid:~/ # lsof | grep "/Database"
3458    /usr/lib/kodi/kodi.bin    /storage/.kodi/userdata/profiles/Maverick/Database/Addons27.db
3458    /usr/lib/kodi/kodi.bin    /storage/.kodi/userdata/Database/Textures13.db
3458    /usr/lib/kodi/kodi.bin    /storage/.kodi/userdata/profiles/Maverick/Database/Epg12.db
3458    /usr/lib/kodi/kodi.bin    /storage/.kodi/userdata/profiles/Maverick/Database/TV32.db


Anyone seen this before? Some bug or some wrong configuration?


RE: Kodi 18.2 (LibreELEC 9.0.2) - Texture database when on non master profile - Klojum - 2022-07-13

I also have a Textures13.db file in my profiles, and AFAICT it's also used, albeit together with a MySQL database and a pathsubbed thumbnails folder.


RE: Kodi 18.2 (LibreELEC 9.0.2) - Texture database when on non master profile - mvrk - 2022-07-13

The database of my profile exists: /.kodi/userdata/profiles/Maverick/Database/Textures13.db, but its empty.

I don't understand why a non master profile is using the database from the master profile, shouldn't it be using its own database?


RE: Kodi 18.2 (LibreELEC 9.0.2) - Texture database when on non master profile - Klojum - 2022-07-13

I don't use the master profile TBH, but double-check the profiles.xml file in the root profile folder.
Check the contents of:
xml:
<hasdatabases>true</hasdatabases>
<canwritedatabases>true</canwritedatabases>



RE: Kodi 18.2 (LibreELEC 9.0.2) - Texture database when on non master profile - mvrk - 2022-07-13

json:

<profiles>
    <lastloaded>1</lastloaded>
    <useloginscreen>true</useloginscreen>
    <autologin>-1</autologin>
    <nextIdProfile>3</nextIdProfile>
    <profile>
        <id>0</id>
        <name>Master user</name>
        <directory pathversion="1">special://masterprofile/</directory>
        <thumbnail pathversion="1">/storage/Thumbs/master_2.jpg</thumbnail>
        <hasdatabases>true</hasdatabases>
        <canwritedatabases>true</canwritedatabases>
        <hassources>true</hassources>
        <canwritesources>true</canwritesources>
        <lockaddonmanager>false</lockaddonmanager>
        <locksettings>0</locksettings>
        <lockfiles>false</lockfiles>
        <lockmusic>false</lockmusic>
        <lockvideo>false</lockvideo>
        <lockpictures>false</lockpictures>
        <lockprograms>false</lockprograms>
        <lockgames>false</lockgames>
        <lockmode>3</lockmode>
        <lockcode>xxxxxxxxxxxxxxxxx</lockcode>
        <lastdate>13/07/2022 - 18:14</lastdate>
    </profile>
    <profile>
        <id>1</id>
        <name>Maverick</name>
        <directory pathversion="1">profiles/Maverick/</directory>
        <thumbnail pathversion="1">/storage/Thumbs/mav_new_256x256.jpg</thumbnail>
        <hasdatabases>true</hasdatabases>
        <canwritedatabases>true</canwritedatabases>
        <hassources>true</hassources>
        <canwritesources>true</canwritesources>
        <lockaddonmanager>false</lockaddonmanager>
        <locksettings>0</locksettings>
        <lockfiles>false</lockfiles>
        <lockmusic>false</lockmusic>
        <lockvideo>false</lockvideo>
        <lockpictures>false</lockpictures>
        <lockprograms>false</lockprograms>
        <lockgames>false</lockgames>
        <lockmode>3</lockmode>
        <lockcode>xxxxxxxxxxxxxx</lockcode>
        <lastdate>13/07/2022 - 21:45</lastdate>
    </profile>
    <profile>
        <id>2</id>
        <name>Public</name>
        <directory pathversion="1">profiles/Public/</directory>
        <thumbnail pathversion="1">/storage/Thumbs/public_1.png</thumbnail>
        <hasdatabases>true</hasdatabases>
        <canwritedatabases>true</canwritedatabases>
        <hassources>true</hassources>
        <canwritesources>true</canwritesources>
        <lockaddonmanager>true</lockaddonmanager>
        <locksettings>1</locksettings>
        <lockfiles>true</lockfiles>
        <lockmusic>false</lockmusic>
        <lockvideo>false</lockvideo>
        <lockpictures>false</lockpictures>
        <lockprograms>true</lockprograms>
        <lockgames>false</lockgames>
        <lockmode>0</lockmode>
        <lockcode>-</lockcode>
        <lastdate>12/11/2020 - 18:46</lastdate>
    </profile>
</profiles>



RE: Kodi 18.2 (LibreELEC 9.0.2) - Texture database when on non master profile - mvrk - 2022-07-14

Was definitely a bug, today i upgraded to CoreELEC 9.2.8 with Kodi 18.9, and now its using the texture database of my profile.