-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Kodi on RPi Buster fails to start #3031
Comments
@GulyFMG However you should be able to start this Kodi version either from inside a running desktop via Kodi 18 is expected to be ported soon which will then resolve the issue. |
Thanks for the info... I went back to a legacy image because this is like a "production" system. It was a lot of stuff together the SD card was corrupted the backup was a couple of versions outdated and so and so... |
if you want a version for the meantime it is in official raspberry buster repo you could use this If I understood it right, Rascas Kodi version is the version that will be in official repo than. |
Note that Raspbian Stretch does not receive much updates anymore and other things will start to break, as I will not invest much time any more to fix things on Raspbian Stretch (arising as external issues) after official Buster release.
Many thanks for this info! Perhaps I will add this repo to our installer, if until v6.26 release none has arrived on Raspbian Buster official list yet. Will go with an informational issue with the workarounds and a related MOTD. |
That's not a problem right now I have a spare SD card I'm gonna prepare a buster image and check regularly here for issues and stuff. Thanks for the heads-up. |
for PI4 I have installed the version from your link and added infos on Friday in DietPi forum |
@derdershat |
as I read here it is compiled from https://github.com/popcornmix/xbmc/tree/leia_pi4 branch would wait for Rascas / official version and give an info for PI4 users that there is an other version for the meantime. |
Okay so workaround on DietPi Buster for RPi: On RPi4
On all other RPi models
I added this info to MOTD for RPi Buster systems, which will be shown after next daily cron job. |
After you have done the install you may need to run dietpi-config -> Display Options -> GPU/RAM Split -> 320 : Kodi I was getting problems starting the Xserver until I made that change. This was on a Raspberry Pi 3 |
@jason-a69 |
@jonyskids In case, we would need the whole APT output to investiage:
|
This is what I am getting. (I noticed your comment: "After you have done the install you may need to run dietpi-config -> Display Options -> GPU/RAM Split -> 320 : Kodi" double-checked this setting and tried again. Above is the output post-second run. |
@jonyskids |
Is that what you need? (Appreciate all help. I am a novice.) |
@jonyskids
Since Could you please check if they exist, or probably not which is the issue then?
If they do not exist, try to create them:
If it still fails, the old Kodi packages need to be removed first:
|
The last set of instructions did it. For reference, this was a fresh install on a RPi3. Installed Kodi,
Then:
Thanks for the help! |
@jonyskids Out of interest were the two files I mentioned actually existing? I mean output of the I am thinking now how we should handle existing Kodi installs. Shall we uninstall and reinstall Kodi on all RPi Buster on next DietPi-Update? Probably not since users will recognise fast the it does not work, so either uninstall it, manage to fix it themselves, of recognise MOTD or this issue to follow instructions. |
@jderdershat @jonyskids
Check if fbset is installed:
And another question about the
Or is this required to start it outside of a desktop session:
|
@derdershat |
some information: |
@derdershat Verified: http://archive.raspberrypi.org/debian/dists/buster/main/binary-armhf/Packages |
Thanks, it works. ♥ Time to celebrate. Hope next Debian release will not break Kodi on Raspbian for three months. |
Do more people get this message after
However, Kodi still works even with this error. The error also occurs after all Kodi files have been removed and install is done again. |
@PanderMusubi To investigate, please paste the full output of the apt-get. The actual error mostly hides somewhere in the middle. |
I have
Where can I find the output of the failing post inst script? |
Does this help?
Let me know what I need to do to add debugging to that script. |
@PanderMusubi Can you paste it's content: Ref: https://manpages.debian.org/buster/menu/update-menus.1.en.html |
try with
it work for me |
Hammer of course works, bit to prevent follow up issues or unexpectations it would be good to check what actually causes this error. I am not keen to ship such a hack with release. |
This is the content of the post inst file https://pastebin.com/Tcvz5feq The files on the system are:
and they re-appear after removing them, doing I have changed the second line from
Does this help find the problem? PS I don't have any polkit packages installed. |
@PanderMusubi
Something we should contribute to the RPi Kodi package devs, since one cannot assume that this is always installed/present especially since Kodi runs outside of desktop and Xserver in case. I will add this step to our install code. |
Should it not be |
@PanderMusubi Added to fresh installs: 897b9cb |
+ DietPi-Software | Kodi: On RPi, pre-create /etc/polkit-1/localauthority/50-local.d which is required by Kodi postinst script on RPi but not necessarily present due to missing policykit1 dependency: #3031 (comment)
+ DietPi-Pre-patch | On RPi, if Kodi is currently installed, pre-create /etc/polkit-1/localauthority/50-local.d to prevent Kodi upgrade failure: #3031 (comment)
+ DietPi-Patch | Pre-create /etc/polkit-1/localauthority/50-local.d before installing new RPi Kodi, to prevent postinst script failure: #3031 (comment)
@PanderMusubi |
ADMIN EDIT
Bug does not apply anymore since Kodi 18 has been added to the official RPi Buster repo.
Creating a bug report/issue
Required Information
DietPi version |
cat /DietPi/dietpi/.version
#!/bin/bash
G_DIETPI_VERSION_CORE=6
G_DIETPI_VERSION_SUB=25
G_DIETPI_VERSION_RC=3
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
Distro version |
echo $G_DISTRO_NAME
orcat /etc/debian_version
10.0
Kernel version |
uname -a
Linux blacksun 4.19.58-v7+ DietPi-Software | Bundle Pi-hole & PiVPN #1245 SMP Fri Jul 12 17:25:51 BST 2019 armv7l GNU/Linux
SBC device |
echo $G_HW_MODEL_DESCRIPTION
or (EG: RPi3)RPi 3 Model B+ (armv7l)
Power supply used 5V
SDcard used | (EG: SanDisk ultra 32Gb
Additional Information (if applicable)
ac116c8e-1087-479b-ab4e-524d0d415e7d
sed -n 5p /DietPi/dietpi/.hw_model
Steps to reproduce
NEw image installed and just installed KODI, since sonarr is not working either.
Expected behaviour
should start
Actual behaviour
does not start
error message - ERROR: Unable to create GUI. Exiting
munmap_chunk(): invalid pointer
Extra details
kodi_crashlog-20190803_224216.log
edit: Just a small piece of info i flashed a legacy image DietPi_RPi-ARMv6-Stretch and this problem is not there, KODI booted up with no problem.
The text was updated successfully, but these errors were encountered: