OSMC hangs after install

Hi,

After install OSMC it shows a message saying “Skin Shortcuts Building menu” and hangs.I have tried with two different SD cards and two different OSMC versions, RC3 and 2015.06-1, and It always hangs after a while. I have tried to update with apt-get update && apt-get dist-upgrade but the error remains.

Here is my kodi.log:

http://paste.osmc.io/emasiyojan

It shows a syntax error

19:02:25 T:2846356512 ERROR: File “/usr/share/kodi/addons/script.skinshortcuts/resources/lib/xmlfunctions.py”, line 198, in shouldwerun
19:02:25 T:2846356512 ERROR: hashes = eval( xbmcvfs.File( os.path.join( masterpath , xbmc.getSkinDir() + “.hash” ) ).read() )
19:02:25 T:2846356512 ERROR: File “”, line 0
19:02:25 T:2846356512 ERROR: ^
19:02:25 T:2846356512 ERROR: SyntaxError: unexpected EOF while parsing

Any idea to solve it?

Thanks

When you say hangs, do you mean just the Kodi user interface ? Or are you also unable to ping the device or log in with SSH ?

Only the Kodi interface. SSH works correctly and I am able to reboot the raspberry, etc.

In that case please provide the system journal and kodi log via SSH like so:

sudo journalctl | paste-log
paste-log /home/osmc/.kodi/temp/kodi.log

I have made a fresh install, these are my logs:

http://paste.osmc.io/wuseqikeva

I have created th SD card with osmc installer, versión 2015.06-1, insert the SD card in the raspberry and power on it. I have waited about thirty minutes to let kodi generate the shorcuts, but kodi freezes.

When it “freezes” is the progress circle that spins around still animating ?

Do you see the walkthrough/welcome screens that ask you to choose your language etc, what options are you choosing ?

Looks like there may be an issue with your Pi’s internet connection:

09:22:47 T:2840327200   ERROR: CCurlFile::FillBuffer - Failed: Couldn't connect to server(7)
09:22:47 T:2840327200   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
09:22:47 T:2840327200   ERROR: Open - failed to open source <http://mirrors.kodi.tv/addons/gotham/addons.xml|Encoding=gzip>
09:22:47 T:2840327200   ERROR: Failed to read directory listing http://mirrors.kodi.tv/addons/gotham/addons.xml for repository repository.xbmc.org.

It’s failing to connect to the kodi addon repository, and one of the first things that Kodi does on a fresh install is to check the Kodi repository for updated addons. This may be causing the issue.

Can you try fixing your Pi’s internet connection and see if that helps ?

No, the circle freezes too. I choose Spanish language only.

I can update OSMC from SSH and I have tried several network configs, static/DHCP, at home and at work.

I have tried several power sources (phone and tablet chargers, powered usb hub, …), two different SD cards. The same raspberry works ok with Openelec.

Despite that, the log clearly shows that Kodi was unable to connect to the Kodi addon repository, so there is something blocking that connection, or possibly a problem with the Kodi mirror for your country. (The URL is a redirect page that redirects to a regional mirror)

Updating OSMC uses the Debian APT mirrors and our OSMC APT mirrors. The Kodi repository is hosted on some kodi.tv mirrors - so they are completely different servers in different locations. So the fact that you can update with apt-get dist-upgrade says nothing about your network connectivity to the Kodi repository.

Can you try browsing to http://mirrors.kodi.tv/addons/gotham/addons.xml on your PC and see what you get ? Also please post the URL that it redirects to.

Another thing you could try is skipping the walkthrough by doing the following via SSH:

sudo touch /walkthrough_completed
reboot

Thanks for your help. I cannot use the rasp till next week, I’ll try your suggestions :smile: