Sync status as 'Never synced' on Linux
See original GitHub issueObserved behavior
The sync status is always Never synced
on Linux systems whereas it shows the correct status on Windows.
Expected behavior
Correct sync status should be visible as it is on Windows -
User-facing consequences
Confusion and misinformation.
Errors and logs
No errors visible in logs.
However, I do notice this every time I start Kolibri -
Jul 31 23:51:24 myscoolserver kolibri-server[18533]: /usr/lib/python3/dist-packages/kolibri/dist/tzlocal/unix.py:108: SyntaxWarning: "is not" with a literal. Did you mean "!="?
Jul 31 23:51:24 myscoolserver kolibri-server[18533]: while start is not 0:
Jul 31 23:51:25 myscoolserver kolibri-server[18533]: /usr/lib/python3/dist-packages/kolibri/dist/rest_framework/utils/serializer_helpers.py:107: SyntaxWarning: "is" with a literal. Did you mean "=="?
Jul 31 23:51:25 myscoolserver kolibri-server[18533]: if value is None or value is '':
Not sure if this may be related.
Not sure if this could be related.
Steps to reproduce
Initiate a sync from Linux based Kolibri installation.
Context
Linux based installations :
Version: 0.14.0b15
OS: Linux-5.4.0-42-generic-x86_64-with-glibc2.29
Python: 3.8.2
Installer: kolibri(apt) with kolibri-server Version: 0.3.8~beta2-0ubuntu1
Server: nginx/1.18.0 (Ubuntu)
Database: postgresql
Version: 0.14.0b15
OS: Linux-5.4.0-1015-raspi-aarch64-with-glibc2.29
Python: 3.8.2
Installer: kolibri(apt) with kolibri-server Version: 0.3.8~beta2-0ubuntu1
Server: nginx/1.18.0 (Ubuntu)
Database: postgresql
Windows :
Version: 0.14.0b15
OS: Windows-10-10.0.18362-SP0
Python: 3.6.8
Installer: Windows
Server: Kolibri internal server
Database: C:\Users\SHRENIK BHURA\.kolibri\db.sqlite3
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
[Satellite 6] Why the repositories are in Never Synced status.
Issue. Not able to see the last sync date of the repositories synced recently. Repository sync status always shows Never Synced.
Read more >linux - Can I watch the progress of a `sync` operation?
You can look at the /sys/block/<device>/stat file for the appropriate device while you're syncing. The 9 th column will indicate the number ...
Read more >Bug #8924: sync plan shows "never synced" for a repository ...
In the content -> sync plan -> products tab -> Never synced. So I assume the status is that the schedule has never...
Read more >Why is the time not syncing? - Ask Ubuntu
Apparently there was a directory permissions bug and it affects multiple distros. The solution is simple. $ sudo chmod 0700 /var/lib/private ...
Read more >[SOLVED] NTP server not syncing - LinuxQuestions.org
I have problem to make ntpd sync with any external NTP servers. Linux eth0 IP ... ind assid status conf reach auth condition...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Solved with #7428
It is related to a fresh install on Postgres. Sorry, Cyberorg is my teammate, hence I did not reconfirm on his comment.