-
Notifications
You must be signed in to change notification settings - Fork 44
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
Upstart bridge fails when using profiles without autologin #728
Comments
…tup, to fix issues when using profiles with no auto-login (xbianonpi/xbian#728)
Update: This doesn't bother me a lot, but obviously a problem for a stable build release. I'll have a look at the logs and see if I can resolve it or at least get more information. Possible solutions that come to mind:
|
I don't use any profiles, and XBian has been throwing me the same error since a couple of updates, but the solution you posted isn't helping in my situation. Thanks for trying to fix it, though!! |
Must be a different reason in your case... Could you link us a pastebin of
|
Sure, see below: |
Update: Haven't had a chance to look again yet - hope to try looking at it tomorrow. |
Smultie: My advice - uninstall and reinstall the upstart bridge from the xbian config dialog on ssh login. |
Yeah, might be something I should've told you from the start; I'm running On Thu, May 28, 2015 at 7:10 PM, RabidArts notifications@github.com wrote:
|
Smultie: Could you start a thread elsewhere (if you haven't already)? That way I can help advise you based on the actual code, and more On Thu, May 28, 2015 at 7:19 PM, Smultie notifications@github.com wrote:
|
In the pull request, mk01 says : "the needed "initctl emit xbmc-loaded" was moved directly into xbmc code, so non starting of this service (without login - in case of profiles) should not longer be an issue. or ?" So gonna have a look sometime and try it out |
Hi all
I had this situation with a kodi installation, specifically with profiles set up, and no auto-login.
Kodi would throw an error on startup (onscreen) saying that the xbian upstart bridge script failed.
Following that, a number of other things in kodi are unstable - I would get random reboots.
This is likely due to memory leaks.
I have already fixed the issue on my system, and am contributing the cause and solution to the community.
Investigation:
In the kodi log (~/.kodi/temp/kodi/log) you will find that the upstart bridge script fails on line 119.
Example kodi log error:
Looking on line 119 you find the following:
If you log the return value from JSONRPC, you'll find that it says 'Method not found'
BTW, the This should never fail comment really cracked me up.
Nice one Anaconda! :D (xbianonpi/xbian-package-upstart-xbmc-bridge@de89836)
*TL;DR: *
Cause:
The JSON RPC service is not started when xbian starts, only once you log in.
If you have multiple profiles, well, you can guess the rest.
Solution:
Change the xbian upstart script to run on login, not on startup.
How, you say?
sudo nano /usr/local/share/kodi/addons/script.service.xbian.upstart-bridge/addon.xml
Find the line with:
Replace start="startup" with start="login"
Save, reboot, celebrate, profit!
Confirmation:
I logged out the response from JSONRPC.Version in the xbian upstart script - result is:
XBian XBMC-Upstart bridge: JSON RPC Version Response: { " i d " : " A p i V e r s i o n " , " j s o n r p c " : " 2 . 0 " , " r e s u l t " : { " v e r s i o n " : { " m a j o r " : 6 , " m i n o r " : 2 1 , " p a t c h " : 2 } } }
The text was updated successfully, but these errors were encountered: