[PR #212] [CLOSED] Improving Kodi image #232

Closed
opened 2026-10-15 12:50:10 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/gow/pull/212
Author: @ABeltramo
Created: 2/10/2025
Status: ❌ Closed

Base: master ← Head: dev-kodi


📝 Commits (3)

  • c0e97ba fix: improved build time and image size for Kodi
  • 41a3ebb fix: moving build to /usr/local
  • 2f00a8b fix: install

📊 Changes

2 files changed (+70 additions, -28 deletions)

View changed files

📝 images/kodi/Dockerfile (+69 -27)
📝 images/kodi/scripts/startup.sh (+1 -1)

📄 Description

Achieved so far:

  • split build and install into two separate steps
    • hopefully improves massively build times since everything should be cached
  • reduced image size to 1.36GB from 4.3GB of the original published image

Issues

@Skerga I might need your help here, I'm trying to run this image but I get the following error:

2025-02-10 15:43:54.243 T:104      info <general>: -----------------------------------------------------------------------
2025-02-10 15:43:54.243 T:104      info <general>: Starting Kodi (21.2 (21.2.0) Git:20250115-d1a1d48c3c). Platform: Linux x86 64-bit
2025-02-10 15:43:54.243 T:104      info <general>: Using Release Kodi x64
2025-02-10 15:43:54.243 T:104      info <general>: Kodi compiled 2025-02-10 by GCC 14.2.0 for Linux x86 64-bit version 6.11.0 (396032)
2025-02-10 15:43:54.243 T:104      info <general>: Running on Ubuntu 24.10, kernel: Linux x86 64-bit version 6.13.1-arch1-1
2025-02-10 15:43:54.243 T:104      info <general>: FFmpeg version/source: 6.0.1-Kodi
2025-02-10 15:43:54.243 T:104      info <general>: Host CPU: AMD Ryzen 7 5700X 8-Core Processor             , 16 cores available
2025-02-10 15:43:54.243 T:104      info <general>: special://xbmc/ is mapped to: /home/retro
2025-02-10 15:43:54.243 T:104      info <general>: special://xbmcbin/ is mapped to: /kodi/lib/kodi
2025-02-10 15:43:54.243 T:104      info <general>: special://xbmcbinaddons/ is mapped to: /kodi/lib/kodi/addons
2025-02-10 15:43:54.243 T:104      info <general>: special://masterprofile/ is mapped to: /home/retro/.kodi/userdata
2025-02-10 15:43:54.243 T:104      info <general>: special://envhome/ is mapped to: /home/retro
2025-02-10 15:43:54.243 T:104      info <general>: special://home/ is mapped to: /home/retro/.kodi
2025-02-10 15:43:54.243 T:104      info <general>: special://temp/ is mapped to: /home/retro/.kodi/temp
2025-02-10 15:43:54.243 T:104      info <general>: special://logpath/ is mapped to: /home/retro/.kodi/temp
2025-02-10 15:43:54.243 T:104      info <general>: Webserver extra whitelist paths: 
2025-02-10 15:43:54.243 T:104      info <general>: The executable running is: /kodi/lib/kodi/kodi-wayland
2025-02-10 15:43:54.243 T:104      info <general>: Local hostname: a5509db40a21
2025-02-10 15:43:54.243 T:104      info <general>: Log File is located: /home/retro/.kodi/temp/kodi.log
2025-02-10 15:43:54.243 T:104      info <general>: -----------------------------------------------------------------------
2025-02-10 15:43:54.243 T:104      info <general>: loading settings
2025-02-10 15:43:54.243 T:104      info <general>: special://profile/ is mapped to: special://masterprofile/
2025-02-10 15:43:54.243 T:104     error <general>: CSettings: unable to load settings from special://masterprofile/guisettings.xml, creating new default settings
2025-02-10 15:43:54.243 T:104   warning <general>: Failed to save the default settings to special://masterprofile/guisettings.xml
2025-02-10 15:43:54.243 T:104   critical <general>: unable to load settings

which doesn't make much sense since /home/retro/.kodi/userdata is rw from retro. I'm probably missing something..


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/gow/pull/212 **Author:** [@ABeltramo](https://github.com/ABeltramo) **Created:** 2/10/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dev-kodi` --- ### 📝 Commits (3) - [`c0e97ba`](https://github.com/games-on-whales/gow/commit/c0e97ba77cc1756186ab00dd539377615f759cd9) fix: improved build time and image size for Kodi - [`41a3ebb`](https://github.com/games-on-whales/gow/commit/41a3ebb86acf8a538e26479b50b243843e7a2e76) fix: moving build to /usr/local - [`2f00a8b`](https://github.com/games-on-whales/gow/commit/2f00a8b62e21de9c011e621efcffc2b13c29aa66) fix: install ### 📊 Changes **2 files changed** (+70 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `images/kodi/Dockerfile` (+69 -27) 📝 `images/kodi/scripts/startup.sh` (+1 -1) </details> ### 📄 Description Achieved so far: - split build and install into two separate steps - hopefully improves massively build times since everything should be cached - reduced image size to `1.36GB` from `4.3GB` of the original published image ## Issues @Skerga I might need your help here, I'm trying to run this image but I get the following error: ``` 2025-02-10 15:43:54.243 T:104 info <general>: ----------------------------------------------------------------------- 2025-02-10 15:43:54.243 T:104 info <general>: Starting Kodi (21.2 (21.2.0) Git:20250115-d1a1d48c3c). Platform: Linux x86 64-bit 2025-02-10 15:43:54.243 T:104 info <general>: Using Release Kodi x64 2025-02-10 15:43:54.243 T:104 info <general>: Kodi compiled 2025-02-10 by GCC 14.2.0 for Linux x86 64-bit version 6.11.0 (396032) 2025-02-10 15:43:54.243 T:104 info <general>: Running on Ubuntu 24.10, kernel: Linux x86 64-bit version 6.13.1-arch1-1 2025-02-10 15:43:54.243 T:104 info <general>: FFmpeg version/source: 6.0.1-Kodi 2025-02-10 15:43:54.243 T:104 info <general>: Host CPU: AMD Ryzen 7 5700X 8-Core Processor , 16 cores available 2025-02-10 15:43:54.243 T:104 info <general>: special://xbmc/ is mapped to: /home/retro 2025-02-10 15:43:54.243 T:104 info <general>: special://xbmcbin/ is mapped to: /kodi/lib/kodi 2025-02-10 15:43:54.243 T:104 info <general>: special://xbmcbinaddons/ is mapped to: /kodi/lib/kodi/addons 2025-02-10 15:43:54.243 T:104 info <general>: special://masterprofile/ is mapped to: /home/retro/.kodi/userdata 2025-02-10 15:43:54.243 T:104 info <general>: special://envhome/ is mapped to: /home/retro 2025-02-10 15:43:54.243 T:104 info <general>: special://home/ is mapped to: /home/retro/.kodi 2025-02-10 15:43:54.243 T:104 info <general>: special://temp/ is mapped to: /home/retro/.kodi/temp 2025-02-10 15:43:54.243 T:104 info <general>: special://logpath/ is mapped to: /home/retro/.kodi/temp 2025-02-10 15:43:54.243 T:104 info <general>: Webserver extra whitelist paths: 2025-02-10 15:43:54.243 T:104 info <general>: The executable running is: /kodi/lib/kodi/kodi-wayland 2025-02-10 15:43:54.243 T:104 info <general>: Local hostname: a5509db40a21 2025-02-10 15:43:54.243 T:104 info <general>: Log File is located: /home/retro/.kodi/temp/kodi.log 2025-02-10 15:43:54.243 T:104 info <general>: ----------------------------------------------------------------------- 2025-02-10 15:43:54.243 T:104 info <general>: loading settings 2025-02-10 15:43:54.243 T:104 info <general>: special://profile/ is mapped to: special://masterprofile/ 2025-02-10 15:43:54.243 T:104 error <general>: CSettings: unable to load settings from special://masterprofile/guisettings.xml, creating new default settings 2025-02-10 15:43:54.243 T:104 warning <general>: Failed to save the default settings to special://masterprofile/guisettings.xml 2025-02-10 15:43:54.243 T:104 critical <general>: unable to load settings ``` which doesn't make much sense since ` /home/retro/.kodi/userdata` is `rw` from `retro`. I'm probably missing something.. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 12:50:10 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/gow#232
No description provided.