[1.0RC3] XBMC keeps restarting
|
30th Dec, 2014, 11:37 AM
Post: #46
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
(30th Dec, 2014 08:39 AM)CurlyMo Wrote: Can you guys try this: Thanks. Looks like your workaround has prevented the start/stop issue for the time being. |
|||
30th Dec, 2014, 07:53 PM
Post: #47
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
Can you guys post the following output.
First enable the commented line again. Then Code: echo > /var/log/upstart/upstart-ev.log pilight - modular domotica solution
|
|||
30th Dec, 2014, 08:10 PM
Post: #48
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
(21st Dec, 2014 01:14 AM)narotic Wrote: In my case I solved the reboot issue by downgrading xbian-package-upstart-xbmc-bridge to version 1.1.3:I have used this fix successfully for the xbmc-alsa package, thanks! |
|||
31st Dec, 2014, 09:26 AM
Post: #49
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
(30th Dec, 2014 07:53 PM)CurlyMo Wrote: Can you guys post the following output. Code: Tue Dec 30 15:15:52 PST 2014 231859.92 31008876.92 stopped xbmc-screensaver 0.63 0.38 0.30 5/159 28744 |
|||
31st Dec, 2014, 09:36 AM
Post: #50
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
Min,
Thanks, that worked for me too! (problem only started after an upgrade today). skywatch |
|||
31st Dec, 2014, 08:59 PM
Post: #51
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
(16th Dec, 2014 05:43 PM)mk01 Wrote: anyhow with menakite we implemented a fix today. xbmc needs to be recompiled - any xbmc(rpi/imx6) or kodi(rpi/imx6) with suffix higher than -1418714780 (today) should have the fix included (without any additional job conf modding etc). I should have had been more precise - on that - the XBMC part was LAST of three fixes in three different packages xbian-package-xbmc xbian-package-upstart-bridge xbian-package-xbmc-scripts missing ANY of the 'chain' can retrigger/not solve the problem. but the other two packages been fixed & pushed before xbmc - developer (in that case myself) expects somehow automatically that other will have it - what of course mostly is not true. so - so - lets correct / reconsolidate the info: xbian-package-xbmc-scripts at minimum 1.1.4 xbian-package-upstart-xbmc-bridge 1.1.6 *xbmc* (that includes plain xbmc package, suffixed -6q, suffixed -nighly, suffixed -nightly-6q) with numbered suffix HIGHER than the date (16th Dec, 2014 08:43 AM) what translates to: Code: date --date="Dec 16, 2014 08:43" +%s so the number suffix MUST be higher than this 1418715780. this is full info. also unfortunately all that mixes with the repo problem we had & restructuring it as part of recovery process. so to put that as answer to @palswim new structure is the way like Debian defined it - meaning platforms are horizontal dimension - meaning specifically: Code: deb mirror://apt.xbian.org/mirror.txt stable main imx6-jessie also the specs "stable main imx6-jessie" doesn't mean 1st OR 2nd OR 3rd. correct ENTRY for STABLE repo must contain ALL three levels/specs in the line - because only then it makes meaning - Code: packages considered STABLE missing any of the levels will WORK technically, but will never distribute full scale of what needs to be distributed. to HAVE the correct entries there - user doesn't need to retype all that info manually ! XBIAN-PACKAGE-REPO since version 1.0.6-1 WILL DO THAT CORRECTLY (ALSO AUTOMATICALLY CONSIDERING platform and BASE OS) - but all the info is in the FAQ of http://www.xbian.org ALSO BOTH files /etc/apt/sources.list and /etc/apt/sources.list.d/xbian.list MUST exists. the first one we are leaving completely for system (and user) - so that defines the upstream debian/raspbian sources - 99% of packages in system comes from there. the rest is coming from xbian repos defined in xbian.list. ALSO three lines (stable,staging,devel) is provided AS template. currently for RPI only STABLE is requirement. for IMX6 STABLE+STAGING is requirement due to the nature of DEBIAN/Jessie itself - not still stable release. "Requirement MEANS the line MUST NOT BE commented - starting with #" @palswim is this clear now? does it make sense ? now - all that text - its purpose is not any blame to anyone - it is trying to say that natural way of communication works EXACTLY as defined by other philosophers centuries ago. from my brain (100% of info) - only 80% gets passed to 1st user, 60% to 2nd, 40% to third. that's why - if there is at least ONE user not understanding the message, the message wasn't said/written correctly (yes, my case mostly ;-)). but the user needs to ASK, to tell US. there is no shame in that. only if we are told (like someone here told - he doesn't get it from the FAQ) - only then we can change it. TELL US - there are not stupid questions - only stupid answers. I will rather (and happier) be answering 3x in a row "YES, YOU UNDERSTAND IT CORRECTLY", comparing to for instance situation with trying to fix a BUGXYZ to find at the end that I created it myself BY improper FAQ entry or Forum message not being detailed enough. so AGAIN, if you-user don't get the text, ASK, TELL us. and be sure, you immediately helped 100 others who don't ask or simply skip that info as it makes no sense. It will happen regularly that we - people around project - will loose the right user vocabulary - because we understand each other so we forget now and then that it doesn't work for user. TELL me, or us - that hey man! this info was not much useful from user perspective - ask for rewrite or call it rubbish. tell the author that he is slowly sliding off into the tech zone. author might not be AWARE of that. back to xbmc looping: - if the above conditions (the three RIGHT versions of debs ARE installed on your XBian and you still have XBMC looping - try to change TIMEOUT=100 to TIMEOUT=99999 on line 43 of /etc/init/xbmc.conf . few days BACK i have seen PROPER UNBROKEN RPI machine running XBIan & all the nice downloader packages etc which was starting XBMC for 3.5 minutes! it was also mounting 3TB disks, file indexes etc. in the last version of xbian-package-xbmc-scripts we changed from 100s to 150s. what is 2minutes and 30s. 99% of users MUST be below that (maybe we even may move the VALUE into /etc/default/xbmc to be user editable and script will load it from there. But let's consider the fact that this timeout=100 is there since XBian Beta2. more than 1Y of usage behind. the actual loops have been caused by combination of two other bugs introduced - together causing this FAIL to start). I'm confident about the code again - still if the three debs updates DO NOT SOLVE the issue - report to this thread and I will personally go user by user to track what ever else could by the issue. Also because never before this happened at MASS scale - we neither users ever considered the looping itself for a BUG. the looping is alone a FEATURE - to auto restart XBMC in case of crash. but if XBMC doesn't start AT ALL (to HOME SCREEN) as part of BOOT and is killed on timeout - it is not logical to try loop it again and again. only today I named as BUG and fixed in xbian-package-xbmc-scripts v1.1.5. (i have the feeling @palswim challenged that looping few msgs back as well -and clearly - reload AFTER xbmc running & crashing later is the feature we want to havel. useless restarting of XBMC which never make it to display on TV is an attack on user. last but not least ! I WISH ALL the BEST in 2015 to all fans/users/coworkers/anyone involved ! Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
31st Dec, 2014, 09:59 PM
Post: #52
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
downgrading from xbian-package-upstart-xbmc-bridge 1.1.6 to 1.1.3 did the trick! thank you.
EDIT: I've just seen a dev had just replied in this thread talking about the issue, also after downgrading I've found out there's 3 new packages to update (one of them is obviously xbian-package-upstart-xbmc-bridge), I'm pretty sure the other two were not there yesterday. Although everything is working fine right now, I'm pondering to update all of them and see what happens if mk01 thinks it would work. BTW, these are the packages to be updated: The following packages will be upgraded: xbian-package-upstart-xbmc-bridge xbian-package-xbianhome xbian-package-xbmc-scripts 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. as note aside, this is the date of xbmc I have: xbian ~ $ date --date='@1411559513' Wed Sep 24 13:51:53 CEST 2014 |
|||
1st Jan, 2015, 03:12 AM
Post: #53
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
I had the restarting problem since yesterday after upgrading routinely with apt-get. Last update was weeks ago.
I applied the apt fix mentioned in the FAQ, but trying upgrading again didn't solve the problem. After the updates XBMC dropped me to terminal login instead of restarting after the timeout period. Changing the timeout (as mentioned in some earlier posts) would just delay the problems and also prevented SSH login during the timeout period. (31st Dec, 2014 08:59 PM)mk01 Wrote: xbian-package-xbmc-scripts at minimum 1.1.4 This was what seems to have been the problem: My xbmc package was older than 1418715780 (I checked with dpkg --list). There were no updates though. Then I noticed my /etc/apt/sources.list.d/xbian.list did not have the rpi-wheezy ending mentioned in mk01's post. The FAQ does not have it either. I added it: Code: deb mirror://apt.xbian.org/mirror.txt stable main rpi-wheezy Then did sudo apt-get update. Some newer packages were found, including a newer xbmc package. After installing them XBMC did not die after the timeout period. I did not have much time to test it yet, but hopefully my RPi will run smoother now. |
|||
1st Jan, 2015, 03:15 AM
Post: #54
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
The rpi-wheezy will be added if you follow all steps described in the FAQ.
pilight - modular domotica solution
|
|||
1st Jan, 2015, 06:02 AM
Post: #55
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
(31st Dec, 2014 08:59 PM)mk01 Wrote: ALSO BOTH files /etc/apt/sources.list and /etc/apt/sources.list.d/xbian.list MUST exists. the first one we are leaving completely for system (and user) - so that defines the upstream debian/raspbian sources - 99% of packages in system comes from there. the rest is coming from xbian repos defined in xbian.list. I think that makes sense. You're saying I shouldn't change the contents of my sources.list file, but match the contents of my sources.list.d/xbian.list file to the lines you posted. Code: deb mirror://apt.xbian.org/mirror.txt stable main rpi-wheezy |
|||
1st Jan, 2015, 07:33 AM
Post: #56
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
(31st Dec, 2014 08:59 PM)mk01 Wrote: Also because never before this happened at MASS scale - we neither users ever considered the looping itself for a BUG. the looping is alone a FEATURE - to auto restart XBMC in case of crash. but if XBMC doesn't start AT ALL (to HOME SCREEN) as part of BOOT and is killed on timeout - it is not logical to try loop it again and again. only today I named as BUG and fixed in xbian-package-xbmc-scripts v1.1.5. I'm not sure I understand what you mean here. Are you saying that you added the XBMC auto-restart as a feature, but I provided an argument as to why a user may not desire that behavior? |
|||
1st Jan, 2015, 07:38 AM
Post: #57
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
Simple:
1. XBian checks if XBMC fails or crashes and auto-restarts it. 2. If point 1. fails you get a restart loop. Little more technical: It REALLY difficult to check if XBMC actually started properly. XBMC didn't implement this logic, so we hacked it in ourselves. That was what has changed in the latest versions. All packages involved need to be the right version to work or else you get conflicts between "XBMC started?" checks. If they are out-of-sync, it fails and you get the behavior as you described as the reboot loop. pilight - modular domotica solution
|
|||
1st Jan, 2015, 07:40 AM
Post: #58
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
(1st Jan, 2015 03:15 AM)CurlyMo Wrote: The rpi-wheezy will be added if you follow all steps described in the FAQ. Not quite. The installation of the xbian-package-repo package added rpi-jessie (which didn't exist) for me the first time instead. It seems to try to do something clever and determine your Debian distribution. I tried altering lines in the /etc/apt/sources.list file to target the wheezy repositories instead of jessie, but then, the xbian-package-repo added neither rpi-wheezy nor rpi-jessie. I have since manually added rpi-wheezy, but I'm adding my experience just to say that following everything in the FAQ will not always result in the correct setup (at this moment). |
|||
1st Jan, 2015, 09:31 AM
Post: #59
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
If that's indeed the case, then you found a bug that needs to be solved For the quickest solution, report it to our github issues next time.
pilight - modular domotica solution
|
|||
1st Jan, 2015, 10:13 AM
Post: #60
|
|||
|
|||
RE: [1.0RC3] XBMC keeps restarting
I've followed the instructions in the FAQ, and now everything is working fine. I've got xbian-package-upstart-xbmc-bridge 1.1.6 running with no issues, xbmc has been updated also, now I'm running version 13.2-RLS-1419734381, which is quite recent.
Thank you guys for the support and happy new year. |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[PROBLEM] [1.0RC3] SSH broken, "starting... XBMC" endless loop | dafhus | 8 | 19,172 |
21st Nov, 2014 09:01 AM Last Post: dafhus |