Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Wrong Date

    Recalbox General
    wrong date
    4
    37
    11550
    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.
    • cagiraudo
      cagiraudo last edited by

      Hi everyone again.

      After 2 weeks tunning te recalbox it just one problem:

      I can get to get the right date and time.

      I get this time:
      Tue Jan 1 01:13:57 CET 1980

      I have the RP3 with recalbox 4.1, i have internet working via wifi. I searched a lot, tried some ntp configs but nothing worked. I also bought another raspberry for my friend and i have the same problem.

      It's a problem becouse Kodi plugins use that date.

      Any idea??

      1 Reply Last reply Reply Quote 0
      • azvarel
        azvarel last edited by

        In kodi, go to system> appearance > language, enter your corresponding language and then go to time zone and put it in your region, if it does not update immediately, restart kodi.

        Zodian Theme | #SNESProject

        1 Reply Last reply Reply Quote 0
        • cagiraudo
          cagiraudo last edited by

          I already did that, i set the Region to Argentina. But it still says 31 December 1979.

          1 Reply Last reply Reply Quote 0
          • Substring
            Substring last edited by

            Indeed, spotted the bug in the code, solving it right now

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            1 Reply Last reply Reply Quote 0
            • cagiraudo
              cagiraudo last edited by

              Great!! 😄

              1 Reply Last reply Reply Quote 0
              • Fire _ Fox
                Fire _ Fox last edited by

                What is the way to solve it?

                1 Reply Last reply Reply Quote 0
                • cagiraudo
                  cagiraudo last edited by

                  I don't know yet, i am waiting for @Substring to say he solved it 😄

                  1 Reply Last reply Reply Quote 0
                  • Substring
                    Substring last edited by

                    please test setting updates.type=gitlab/82-can-t-set-timezone in recalbox.conf. Still, i think the upgrade will fail because tar will have to replace an existing file with a symlink. If so, juste remove /etc/timezone and /etc/localtime and rerun the update.

                    Once tested and confirm, you can switch back to the normal unstable (and eventually redelete the 2 files before updating)

                    Former dev - Please reply with @substring so that i am notified when you answer me
                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                    1 Reply Last reply Reply Quote 0
                    • Substring
                      Substring last edited by

                      this is a test branch, so that you confirm the modifications worked. If you calidate, i'll push them to the next unstable release

                      Former dev - Please reply with @substring so that i am notified when you answer me
                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                      cagiraudo 1 Reply Last reply Reply Quote 0
                      • cagiraudo
                        cagiraudo @Substring last edited by

                        @Substring said in Wrong Date:

                        so that you confirm the modifications worked. If you calidate, i'll push them to the next unstable release

                        ok, sorry i was afk, i will test the fix today and let you know.

                        Thanks

                        Substring 1 Reply Last reply Reply Quote 0
                        • Substring
                          Substring @cagiraudo last edited by

                          @cagiraudo ok. Please enclose the logs in the ~/update folder (or by network \\recalbox\share\system\update)

                          Former dev - Please reply with @substring so that i am notified when you answer me
                          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                          1 Reply Last reply Reply Quote 0
                          • cagiraudo
                            cagiraudo last edited by

                            @Substring I just updated it but saddly it still tells me wrong date:

                            date
                            Mon Dec 31 22:01:20 ART 1979

                            Wich logs do you want? i dont have a folder ~/update

                            Substring 1 Reply Last reply Reply Quote 0
                            • Substring
                              Substring @cagiraudo last edited by

                              @cagiraudo ~/updateis the folder you'd name in SSH. I gave the network full name if you try to reach it with your explorer from windows

                              anyway i'm pretty sure about the error : /etc/timezone and /etc/localtime used to be some files, and now they are some symbolic links. This should cause trouble on update

                              Former dev - Please reply with @substring so that i am notified when you answer me
                              Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                              1 Reply Last reply Reply Quote 0
                              • cagiraudo
                                cagiraudo last edited by

                                @Substring i didn't deleted those files before the update, do you want me to try again deleting thouse files?

                                Substring 1 Reply Last reply Reply Quote 0
                                • Substring
                                  Substring @cagiraudo last edited by

                                  @cagiraudo Well ... @azvarel confirmed it works once you delete the 2 files. But that's not a good way to let thousands of users update 😉

                                  Former dev - Please reply with @substring so that i am notified when you answer me
                                  Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                  azvarel 1 Reply Last reply Reply Quote 0
                                  • cagiraudo
                                    cagiraudo last edited by

                                    @Substring you are right, i will try it anyway to confirm that it's the same problem

                                    1 Reply Last reply Reply Quote 0
                                    • azvarel
                                      azvarel @Substring last edited by

                                      @cagiraudo delete the files before the update, update the updates.type=gitlab/82-can-t-set-timezone in recalbox.conf and change the timezone per manager, you will see that it works.

                                      Zodian Theme | #SNESProject

                                      1 Reply Last reply Reply Quote 0
                                      • cagiraudo
                                        cagiraudo last edited by

                                        Ok @azvarel I will try it in a phew hours. Thanks

                                        1 Reply Last reply Reply Quote 0
                                        • cagiraudo
                                          cagiraudo last edited by

                                          @azvarel @Substring Should i update again to unstable 4.1 and then to the gitlab/82-can-t-set-timezone or deleting the files will work since i am already in the test branch?

                                          azvarel 1 Reply Last reply Reply Quote 0
                                          • azvarel
                                            azvarel @cagiraudo last edited by

                                            @cagiraudo atualiza para unstable 4.1, after update, delete the files, then upgrade to gitlab... will work.

                                            Zodian Theme | #SNESProject

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

                                            Want to support us ?

                                            81
                                            Online

                                            98.7k
                                            Users

                                            28.1k
                                            Topics

                                            187.0k
                                            Posts

                                            Copyright © 2021 recalbox.com