2x Raspberry Pi 2 crashing since the update to 2016.02-3 (Kodi v16.0 “Jarvis”)

Hi Guys

I have been using my 2 Raspberry Pi 2 connected to MYSQL server lib without any issues for months and since the upgrade to latest KODI via OSMC version 2016.02-3 I am experience my both PI’s crashing and not responding until a force reboot via Power On / Off.

When the PI is on all working fine even for hours and hours and issue happening when I leave it idle for while and when starting to use again PI is not responding and Black screen present on the TV. When this happens SSH not working and also when try to connect via Kodi iOS remote it also showing a message “Server not available”

Only way to fix the issue is the reboot via Power cycle. I can confirm this issue start happening since the latest update and now I need to power cycle the units around 4 to 5 times a day.

What make it worst is that it’s behind the TV and I need to take the TV off wallmount as well.

Please let me know any extra information needed to identify and fix this issue?

Provide debug logs directly after you rebooted from the crash.

Also we have seen two problems with Jarvis upgrade in general:

  1. Issues with the database upgrade of an MYSQL installation. Did you ensure to first upgrade on of the 2 Pi’s and give it enough time to completely upgrade the database?
  2. Issues with UPNP, can you disable UPNP to test if that might be the issue?

To get a better understanding of the problem you are experiencing we need more information from you. Please see http://osmc.tv/wiki/general/how-to-submit-a-useful-support-request/ for advice on how to help us.

I turn off the UPNP and one box now OK but 2nd box still crashing. Can you please let me know what logs you need? Should I enable all the options in the de-bug log or just some selected options?

Reason I took time is to monitor the boxes properly and report back. Regarding the SQL DB I am running it from a separate NAS (WD EX4 - 16TB) and not using a PI for that. All my house PIs connecting to it. All of my media also in this NAS

Thanks for your help. Once you let me know the options in log I will send post them…

Dann

Start first with just debug enabled logs.
If we need to add specific logs afterwards we will see

I have captured the logs. Kindly let me know what to do

After the crash and reboot:
http://paste.osmc.io/ikowacevuj.vhdl

When the crash happened:
http://paste.osmc.io/imaxokidor.xml

After reboot it would help if you upload the kodi.log.old

Yea mate. I did and http://paste.osmc.io/imaxokidor.xml is that log… Anyhow it crash again and attached fresh set of logs again…

kodi.old.log:
http://paste.osmc.io/ofonuxidos.vhdl

kodi.log:
http://paste.osmc.io/ucacezuliy.vhdl

Ok, kodi.log.old just ending without any error is not good. Just to understand as you original wrote both Pi’s were crashing, is the problem now limited to one of the two?
Can you exchange the SD card between the two and see if the issue stays or moves?

thanks mate. I did what you asked and now the upper floor box getting crashed. I think something went wrong with the update and can you kindly let me know what commands will force me to put the box back to last MAJOUR update (one with that SQL version update).

I can’t just reformat and load the SW as I got many addons and custom settings I have done and will take around 2 - 3h to put all back to way I want.

Thanks for your help…

  1. There is no straight forward command to rollback a certain upgrade as a number of packets get updated that partially depends on each other.
  2. Running two different Kodi versions with an MYSQL setup is not suggested

What you could try is to reinstall Kodi with sudo apt-get install --reinstall rbp2-mediacenter-osmc assuming you are on a Pi2/3

Thanks my friend I will try this.

Because I checked you logs again and wonder about 21:13:23 14.323542 T:1957462576 INFO: ADDON: cpluff: 'Could not read plug-in directory /usr/lib/kodi/addons: No such file or directory'

I have got it installed as per your feedback. I will report back if I got any issues.

Also i do have a quick question and nothing majour. How to add OSMC menu item to the settings screen as it’s very handy to have. I use my own mod of the skin now over 8 months as it’s got some cool features and want to know what to do add this handy item.

Hi Guys

I continue to experience the crashes and everyday I reset my 2 devices. I did try running from the SD card but it’s too slow due the SQL Server for media lib.

I have done the fresh install and both running on OSMC latest from UBS stick. I am experiencing crashes / freezes mostly on below occassions

  • When FF / RW during playback
  • When turning the TV on and getting to Kodi home menu from the screensaver
  • When Movie finish and returning to the home screen

I have enable log level 3 via advancesetting.xml and every time it crash I will upload the logs and will update this forum.

I even got new power supplies which certified for Pi2. While I am waiting for my next crash please let me know if you guys need any extra info…

Thanks for helping with this.

Stupid question, but you mentioned that you have your raspberrys behind your wallmounted tvs…

Is there enough airflow and are the directly attached to the hot backside of the tv?

Yes. They were like that since Jan 2015 and crashes start to happen wth Kodi V16. I also installed heat sinkers for both of my PIs and also one of the PI topless (:+1:t4:) to allow more airflow.

It’s winter in Melbourne and room is around 20 - 22c.

I am happy to check the tem of the Pis. Do you know a command I can use?

/opt/vc/bin/vcgencmd measure_temp

Btw: poorly installed heatsinks can actually worsen the temeperature situation.
But let’s see what you measurements show.

I think with the introduction of Kodi 16 there was more power draw.

Hi Guys

Output as below (when playing a HD movie

PI1:
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=50.8’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=50.8’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=49.8’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=49.8’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=50.8’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=50.3’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=49.8’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=49.8’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=50.3’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=50.3’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=50.3’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=50.8’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=51.9’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=54.1’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=54.1’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=54.6’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=55.1’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=55.7’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=54.6’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=55.7’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=56.2’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=55.1’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=55.7’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=56.2’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=55.1’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=54.1’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=53.5’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=54.1’C
osmc@MBRpi:~$
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=53.0’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=53.5’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=55.1’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=55.7’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=54.1’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=53.5’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=53.0’C
osmc@MBRpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=54.1’C
osmc@MBRpi:~$

PI2: (Topless) and got a Hiberryfi Optical Digital OUT card installed
osmc@RUMPUSpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=40.1’C
osmc@RUMPUSpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=40.6’C
osmc@RUMPUSpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=40.6’C
osmc@RUMPUSpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=40.6’C
osmc@RUMPUSpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=40.1’C
osmc@RUMPUSpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=40.6’C
osmc@RUMPUSpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=40.6’C
osmc@RUMPUSpi:~$ /opt/vc/bin/vcgencmd measure_temp
temp=40.6’C
osmc@RUMPUSpi:~$

My bedroom PI just crashed and I uploaded the logs. Note that Kodi.old log 250MB and I only uploaded last 10min. I saved a copy to my PC and happy to upload whole log to site as can’t past it to past.osmc.io as site not responding.

Kodi.old
http://paste.osmc.io/gewiyitibe.sm

Kodi.log
http://paste.osmc.io/qaheqinera.vhdl

Please let me know what should I do to stop these crashes.