Wrong Date
-
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: -
@cagiraudo try again until it succeeds
-
@Substring Ok, i tryied 4 times yesteraday, i will try again tonight
-
@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
-
@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 ?
-
@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??
-
@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
-
@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 -
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++ -
@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/Cordobals -lh localtime
lrwxrwxrwx 1 root root 14 Dec 31 22:19 localtime -> /var/localtimecat 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 -
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_zonesTo see my timezone I can use (in terminal) the command:
`cat /etc/timezone
America/RecifeThe 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
CordobaSee 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
-
Editing localtime
mv /etc/localtime /etc/localtime.old
ln -s /usr/share/zoneinfo/America/Argentina/Cordoba /etc/localtime
date
-
you're not supposed to manually edit anything, the update should have added /etc/timezone and /etc/localtime as symlinks to /var/timezone and /var/localtime, both of the latter files are set at recalbox root
-
@Substring I know it is not the correct way to do it, but it was this way that I solved it before the gitlab update that you gave me and when I came back to the unstable version, again correct that way and it is working, as I described here https://github.com/recalbox/recalbox-os/issues/1264
-
@azvarel yeah, but i need a way to make it work for everyone, without putting hands in the engine
-
@Substring @azvarel BREAKING NEWS. It is a firewall problem, at least i think so. I changed to another wifi (sharing it with my cellphone) and the date magically updated, no more 1980, it bring me back to 2017.
So... i know it isn't recalbox problem, but, have you any idea what could it be? Recalbox is conected to internet, it sayed "Conected" and i can update and everything.
The first time i installed recalbox i have a similar problem that it was connected but it said Not Conected because my firewall was blocking the pings https://forum.recalbox.com/topic/7448/wifi-working-but-still-not-conected, i disabled the firewall (at least i think i did) and the ping worked ant the status now says Conected. Maybe it has something to do with that.
-
@cagiraudo now yourrouter/isp blocks NTP