UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How can I troubleshoot broken SMS?

    Scheduled Pinned Locked Moved Unsolved Support
    26 Posts 5 Posters 346 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • W Offline
        wally @gpatel-fr
        last edited by wally

        @gpatel-fr Ah, I understand your interpretation, but I think the flood of "plain text messages" to which they're referring is not logs, but a bunch of undelivered SMS which suddenly were all delivered at once after the daemon and ofono restarted.
        They go on to talk about the dating of the messages and reference "text messages", which generally means SMS.
        I think they're saying that the SMS timestamps were all from right then, when the SMS were delivered, which is how UT lists timestamps in Messages (although under Notifications one can see the time at which an SMS was actually sent).

        @ezst036 Can you clarify whether by flood of plain text messages you mean logs or SMS?

        Languages: 🇬🇧 🇨🇦 🇫🇷

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          gpatel-fr @wally
          last edited by

          @wally said in How can I troubleshoot broken SMS?:

          undelivered SMS which suddenly were all delivered at once after the daemon and ofono restarted.

          that is possible indeed.
          In this case it's just the restarting of ofono, because what systemctl daemon-reload is doing is explaining to systemd that the configuration files have changed. If one does not do it, the restart of affected services is denied because systemd will detect that change and refuse to change the service state as long as the user has not expressed their wish to actually change the system configuration. I presume that there are security considerations here.

          If you have the good interpretation, it just mean that ofono was in a bad state. Just restarting it without enabling the debug log would have worked just as well.

          W 1 Reply Last reply Reply Quote 0
          • W Offline
            wally @gpatel-fr
            last edited by

            @gpatel-fr Thank you for the explanation. Slowly, very slowly, I learn more about the technical end of things.
            If indeed it was SMS that came flooding in after ofono was restarted, it makes me wonder if they had tried rebooting the phone prior to that, during the three days that they were unable to receive SMS.

            Languages: 🇬🇧 🇨🇦 🇫🇷

            1 Reply Last reply Reply Quote 0
            • E Offline
              ezst036 @gpatel-fr
              last edited by

              @gpatel-fr

              What I meant by flood was that I all of a sudden had many text messages from like 6 people all in the same one moment and I do not believe all of them sent their messages exactly at the same time.

              Since my text messaging was clearly broken, these text messages were waiting around as if my phone had been shut off and I had a several days worth accumulation of new text messages I had never seen while the text messaging was broken. Restarting ofono fixed at least the text side of my text messaging.

              G 1 Reply Last reply Reply Quote 0
              • E Offline
                ezst036 @gpatel-fr
                last edited by ezst036

                @gpatel-fr said in How can I troubleshoot broken SMS?:

                @ezst036 said in How can I troubleshoot broken SMS?:

                How can I basically clear this file?

                the simplest way is to 'rm' the file (using sudo), do a 'sudo systemctl daemon-reload', and restart the ofono daemon. Extra logging will then stop. You can attach the log file here if you save it as a .txt file.

                Thank you. I ran into a probably much more simple problem. What is the name of the file and where does it live? And what program on a desktop do you use to read them if not a regular text editor like Kate or Vim?

                I had assumed I could find it in /var/log or even var/log/journal or if nothing else I could press CTRL+S from the terminal program that was opening and reading them and save the file as I pleased with whatever name I wanted. The files I have are not text file readable so I can't view them first, but then I wouldn't send this to anybody else either.

                Most of the files in /var/log/journal appear to have GUIDs in the file names. user-1001@GUID, system@GUID, and user-2011@GUID. There's also a system.journal file here. But none are seemingly plain text readable.

                Thank you for sticking with me.

                1 Reply Last reply Reply Quote 0
                • G Offline
                  gpatel-fr @ezst036
                  last edited by

                  @ezst036 said in How can I troubleshoot broken SMS?:

                  the text side of my text messaging.

                  as I understand it, if ofono is working and sms is configured, sms get in; mms have another, distinct configuration. Also, I have understood recently that UT has a lack in the media configuration that could explain that files are not played correctly (nothing related to MMS per se, just that MMS have sometimes very particular formats), and of course UT don't receive MMS behind Wifi. Quite a few wrinckles.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post