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
    23 Posts 5 Posters 333 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.
      • E Offline
        ezst036 @wally
        last edited by ezst036

        Hello @wally,

        It could be that we do have a variation of the same problem it just manifests itself in a slightly different way.

        My main problems are related to MMS, picture messaging. I've only had plain-text messaging break on me once and that was when upgrading from 20.04 to 24.04.

        I have seen slow downs when messages received, it doesn't happen very often though. More often though is I see slow downs when trying to open either the phone app or the text messaging app. It just stops and sits for like 10-15 seconds before it'll do anything. The phone app will say "initializing......" at the top of the screen.

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

          @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.

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

          If there was any other troubleshooting that could be done I suspect someone else would've mentioned it.

          there are probably other steps, but the first one is usually the logging.

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

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

            I was excited to try the two terminal commands you referenced

            Huh, I missed your post; if by these 'two terminal commands' you are writing about the ones I posted, these commands are just commands to try to debug what could happen on a hardware that I don't have in my hands. Not intended to fix anything.

            1 Reply Last reply Reply Quote 0
            • W Offline
              wally @ezst036
              last edited by

              @ezst036 MMS always mostly worked for me though, and then both MMS and SMS stopped at once. Plus the other strange stuff with the flickering. I think my weirdo problem is separate.
              I do recommend trying systemctl --user restart nuntium though, just in case. It's quick to try at least. I don't really understand why that would fix things when a reboot doesn't, but it always did for me when I'd see no sign of an incoming MMS, and it has worked for others on the forum too.

              @gpatel-fr Thanks for the reply, but I meant the daemon-reload and restart ofono commands that ezst036 mentioned.

              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?:

                trying systemctl --user restart nuntium

                well, that could point to a bug in this service. Logs, logs !

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

                I meant the daemon-reload and restart ofono

                part of the commands necessary to enable debug log output of ofono. It will not and can not fix a problem.

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

                  @gpatel-fr Thanks for the help! I don't have the MMS issue anymore, so can't provide logs. There's history of this in the forum, going back to when it was an initctl command under 16.04. In another thread Lionel theorized that perhaps nuntium was being started too early in the boot process, but again nobody provided logs. I tried to recreate the issue on a broken old phone just for the logs, but failed.

                  Thanks for the clarification on the other commands. The reason I was hopeful it might fix my situation was having read:
                  @ezst036 said in How can I troubleshoot broken SMS?:

                  Interesting. As soon as I restarted the daemon with 'sudo systemctl daemon-reload' and 'sudo systemctl restart ofono', a flood of plain text messages instantly came in.

                  I really appreciate people looking for the root of an issue like you are, and recognize that even if the restart-nuntium command works, it's a quick fix that doesn't help anyone solve any underlying bugs unless logs can be provided.

                  Languages: 🇬🇧 🇨🇦 🇫🇷

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

                    @wally

                    I think that the 'flood' can be explained because the debug output is really noisy. That's why it's not enabled by default 🙂

                    W 1 Reply Last reply Reply Quote 0
                    • 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
                          • First post
                            Last post