Recalbox Forum

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

    Wrong Date

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

                      Hi again @azvarel @Substring

                      I can't update to 4.1, i change the source to unstable but i can't finish the update.
                      I get this error:

                      0_1494391525919_Selección_349.png

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

                        @cagiraudo try again until it succeeds

                        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 Ok, i tryied 4 times yesteraday, i will try again tonight

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

                            @Substring i tried 10 times yesterday and the same error.

                            Maybe i can't back to the unstable becouse i am in a branch?? Or something else, but i can't update again

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

                              @cagiraudo no you can switch back to unstable (and not gitlab/unstable). I manually tried to download ths file, had no problems.

                              Have you tried to download it from your webbrowser ?

                              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 im in work, here i could download from the webbrowser without problem, i will try in my home later. If i can download it, is there any way i copy it directly to some folder so i can make the update??

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

                                  @cagiraudo you need i think 5 files to make an update : root and boot.tar.gz, their sha1 file each, and the root.list. no recalbox at hand now, so i can't say for sure

                                  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 managed to update to 4.1, then i deleted the 2 files /etc/timezone and /etc/localtime. I updated to the test branch but it still have the wrong date:

                                    date
                                    Tue Jan 1 11:52:28 ART 1980

                                    😞

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

                                      @cagiraudo

                                      Did you do it on SSH mount -o remount,rw / and then deleted the files?

                                      if he did and continued it is strange.

                                      So you do not waste any more time, you can do is to manually edit these files by accessing them with winscp /etc/localtime edit link and /etc/timezone editing with notepad++

                                      Zodian Theme | #SNESProject

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

                                        @azvarel
                                        I did mount -o remount,rw / before deleting those files, i confirmed they deleted before updating.

                                        I don't get the second part, do you want me to manual edit the localtime and timezone files? I use linux, but i will be able to do it, but i don't get what change should i do

                                        I made cat to those files and had:
                                        cat timezone
                                        America/Argentina/Cordoba

                                        ls -lh localtime
                                        lrwxrwxrwx 1 root root 14 Dec 31 22:19 localtime -> /var/localtime

                                        cat localtime
                                        TZi����0�{R@�ɰ��@�0�}��������@�����x
                                        ���@�Z�����@��@_07��0ȁ�@�����0ΰ5�d0��l0�2@�柰�C��0�@������S0��R@��50��4@�J$o�#���$��%7�'!0'�)�@)�:�_0+�W 7�ư8��Gw �G H���I�a �������
                                        ��
                                        ����LMTCMTARTARSTWARTTZi�����r����������0�����{R@�����ɰ������@�����0�����}����������������@�����������������x
                                        �������@�����Z���������@������������������@����
                                        0����7������0����ȁ�@�����������������0����ΰ����5�����d����0����������l0�����2@�����柰�����C������0�����@������������������S0������R@������50������4@�J$o�#���$��%7%�'!0'�)�@)�:�0+�W 7�ư8��Gw�G H���I�a �������
                                        ��
                                        ����LMTCMTARTARSTWART
                                        ART3

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

                                          @cagiraudo

                                          List of timezone (I do not know what city / region you are, I can not say straight)
                                          https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

                                          To see my timezone I can use (in terminal) the command:

                                          `cat /etc/timezone
                                          America/Recife

                                          The answer was accurate, I'm in America/Recife timezone.

                                          To change to the timezone from Recife to Cordoba we will check the name of this time zone doing:

                                          ls /usr/share/zoneinfo/America/Argentina

                                          Now look in the list displayed by the desired timezone. We can also search using a search keyword, for example "Cordoba", with the command:

                                          ls /usr/share/zoneinfo/America/Argentina | grep Cordoba
                                          Cordoba

                                          See that in the case I looked for the word "Cordoba" and gave very well. The response to the command indicates that the file named "Cordoba" exists.

                                          Well, now that we already know the correct file name, let's change the contents of /etc/timezone using your favorite text editor, as in:

                                          vi/etc/timezone

                                          or

                                          gedit /etc/timezone

                                          or

                                          mcedit /etc/timezone

                                          Then change from America/Recife to America/Argentina/Cordoba.

                                          Now to update using the TZ variable do:

                                          export TZ = America/Argentina/Cordoba

                                          Let's check with:

                                          date

                                          Zodian Theme | #SNESProject

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

                                            Editing localtime

                                            mv /etc/localtime /etc/localtime.old
                                            ln -s /usr/share/zoneinfo/America/Argentina/Cordoba /etc/localtime
                                            date

                                            Zodian Theme | #SNESProject

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

                                            Want to support us ?

                                            75
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com