question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sync status as 'Never synced' on Linux

See original GitHub issue

Observed behavior

The sync status is always Never synced on Linux systems whereas it shows the correct status on Windows.

sync_status

Expected behavior

Correct sync status should be visible as it is on Windows -

image

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:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jredrejocommented, Aug 3, 2020

Solved with #7428

0reactions
intelliant01commented, Nov 4, 2020

It is related to a fresh install on Postgres. Sorry, Cyberorg is my teammate, hence I did not reconfirm on his comment.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found