How to debug occasional restarts?
My Jolla restarts itself few times per day to tens of times per day. Sometimes when picking a call (and the caller was not written into call log so I don't know who it was / cannot call back). Sometimes it happens within few minutes of the beginning of call and then repeatedly when starting call again. Sometimes just after restart if I try quickly to call, it restarts again. Sometimes when I click "call". Sometimes when I take phone from pocket I see that is starts to reboot and sometimes I discover it went to boot-loop in pocket so I have been unavailable for hours (and people get angry not reaching me). Only removing battery helps for boot-loop. Sometimes phone is in front of me on table and I see it spontaneously restarting. Haven't noticed improvement with Sailfish updates. None of this is repeatable by will.
I have seen a lot of people are struggling with Jolla rebooting, but I have not found how to properly debug this.
Does Sailfish log anything anywhere when and why it restarts?
I tried the battery trick (add paper to push battery connector more tight) ... and it worked. At least it has worked one week without spontaneous reboot. It feels very unusual.
I conclude that if /var/log/systemboot.log has missing shutdown and has only startup message - then it is indication for battery connector problem - which is logical.
Unfortunately did not get journalctl properly working with previous log sessions.
Ragnar Kurm ( 2014-05-08 00:18:24 +0200 )edit