Error after updating to new version

Hi.

After updating to the new version, my satnogs is not working anymore.
I tried a full new install, still not working.
Hope someone is able to understand whats wrong.
Here is the journalctl -u satnogs-client.service

Feb 23 10:34:37 satnogs systemd[1]: Started SatNOGS client.
Feb 23 10:34:37 satnogs satnogs-client[7240]: linux; GNU C++ version 6.2.0 20161010; Boost_106100; UHD_003.009.005-0-unknown
Feb 23 10:34:42 satnogs satnogs-client[7240]: Traceback (most recent call last):
Feb 23 10:34:42 satnogs satnogs-client[7240]: File “/var/lib/satnogs/bin/satnogs-client”, line 6, in
Feb 23 10:34:42 satnogs satnogs-client[7240]: from satnogsclient.main import main
Feb 23 10:34:42 satnogs satnogs-client[7240]: File “/var/lib/satnogs/local/lib/python2.7/site-packages/satnogsclient/main.py”, line 4, i
Feb 23 10:34:42 satnogs satnogs-client[7240]: from satnogsclient.scheduler.tasks import status_listener, exec_rigctld
Feb 23 10:34:42 satnogs satnogs-client[7240]: File “/var/lib/satnogs/local/lib/python2.7/site-packages/satnogsclient/scheduler/tasks.py”
Feb 23 10:34:42 satnogs satnogs-client[7240]: from satnogsclient.observer.observer import Observer
Feb 23 10:34:42 satnogs satnogs-client[7240]: File "/var/lib/satnogs/local/lib/python2.7/site-packages/satnogsclient/observer/observer.p
Feb 23 10:34:42 satnogs satnogs-client[7240]: import matplotlib.pyplot as plt
Feb 23 10:34:42 satnogs satnogs-client[7240]: File “/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py”, line 29, in
Feb 23 10:34:42 satnogs satnogs-client[7240]: import matplotlib.colorbar
Feb 23 10:34:42 satnogs satnogs-client[7240]: File “/usr/lib/python2.7/dist-packages/matplotlib/colorbar.py”, line 36, in
Feb 23 10:34:42 satnogs satnogs-client[7240]: import matplotlib.contour as contour
Feb 23 10:34:42 satnogs satnogs-client[7240]: File “/usr/lib/python2.7/dist-packages/matplotlib/contour.py”, line 22, in
Feb 23 10:34:42 satnogs satnogs-client[7240]: import matplotlib.font_manager as font_manager
Feb 23 10:34:42 satnogs satnogs-client[7240]: File “/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py”, line 58, in
Feb 23 10:34:42 satnogs satnogs-client[7240]: from matplotlib import afm, cbook, ft2font, rcParams, get_cachedir
Feb 23 10:34:42 satnogs satnogs-client[7240]: ImportError: /usr/lib/arm-linux-gnueabihf/libfreetype.so.6: undefined symbol: af_khmr_uniran
Feb 23 10:34:42 satnogs systemd[1]: satnogs-client.service: Main process exited, code=exited, status=1/FAILURE
Feb 23 10:34:42 satnogs systemd[1]: satnogs-client.service: Unit entered failed state.
Feb 23 10:34:42 satnogs systemd[1]: satnogs-client.service: Failed with result ‘exit-code’.
Feb 23 10:34:43 satnogs systemd[1]: satnogs-client.service: Service hold-off time over, scheduling restart.
Feb 23 10:34:43 satnogs systemd[1]: Stopped SatNOGS client.

Best regards
Brian #452

That’s strange issue, it looks like that python has issue on importing satnogsclient.
Not sure what could be the reason.

By full new install, you mean flashing again the sdcard?
If yes do you get the same errors as before flashing?

PS I’m going to check again tomorrow the whole install process to make sure that it still works fine.
Sometimes sdcard gets corrupted, could this be your case? Do you have any spare sdcard to try it?

I’ve just remembered there was a similar (or same) issue with @PE0SAT’s station, he ran:
apt-get --reinstall install python-idna

Let me know if this works for you.

Hi Fredy

Yes i did a new flash and follow the guide and ran into this error.
I have not tried with another card, ill try you suggestion first, to reinstall python.

It didnt help, i still get this error

Feb 24 06:05:02 satnogs systemd[1]: Started SatNOGS client.
Feb 24 06:05:02 satnogs satnogs-client[674]: linux; GNU C++ version 6.2.0 20161010; Boost_106100; UHD_003.009.005-0-unknown
Feb 24 06:05:07 satnogs satnogs-client[674]: Traceback (most recent call last):
Feb 24 06:05:07 satnogs satnogs-client[674]: File “/var/lib/satnogs/bin/satnogs-client”, line 6, in
Feb 24 06:05:07 satnogs satnogs-client[674]: from satnogsclient.main import main
Feb 24 06:05:07 satnogs satnogs-client[674]: File “/var/lib/satnogs/local/lib/python2.7/site-packages/satnogsclient/main.py”, line 4, in
Feb 24 06:05:07 satnogs satnogs-client[674]: from satnogsclient.scheduler.tasks import status_listener, exec_rigctld
Feb 24 06:05:07 satnogs satnogs-client[674]: File “/var/lib/satnogs/local/lib/python2.7/site-packages/satnogsclient/scheduler/tasks.py”, line 21, in
Feb 24 06:05:07 satnogs satnogs-client[674]: from satnogsclient.observer.observer import Observer
Feb 24 06:05:07 satnogs satnogs-client[674]: File “/var/lib/satnogs/local/lib/python2.7/site-packages/satnogsclient/observer/observer.py”, line 13, in
Feb 24 06:05:07 satnogs satnogs-client[674]: import matplotlib.pyplot as plt
Feb 24 06:05:07 satnogs satnogs-client[674]: File “/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py”, line 29, in
Feb 24 06:05:07 satnogs satnogs-client[674]: import matplotlib.colorbar
Feb 24 06:05:07 satnogs satnogs-client[674]: File “/usr/lib/python2.7/dist-packages/matplotlib/colorbar.py”, line 36, in
Feb 24 06:05:07 satnogs satnogs-client[674]: import matplotlib.contour as contour
Feb 24 06:05:07 satnogs satnogs-client[674]: File “/usr/lib/python2.7/dist-packages/matplotlib/contour.py”, line 22, in
Feb 24 06:05:07 satnogs satnogs-client[674]: import matplotlib.font_manager as font_manager
Feb 24 06:05:07 satnogs satnogs-client[674]: File “/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py”, line 58, in
Feb 24 06:05:07 satnogs satnogs-client[674]: from matplotlib import afm, cbook, ft2font, rcParams, get_cachedir
Feb 24 06:05:07 satnogs satnogs-client[674]: ImportError: /usr/lib/arm-linux-gnueabihf/libfreetype.so.6: undefined symbol: af_khmr_unirang
Feb 24 06:05:07 satnogs systemd[1]: satnogs-client.service: Main process exited, code=exited, status=1/FAILURE
Feb 24 06:05:07 satnogs systemd[1]: satnogs-client.service: Unit entered failed state.
Feb 24 06:05:07 satnogs systemd[1]: satnogs-client.service: Failed with result ‘exit-code’.
Feb 24 06:05:07 satnogs systemd[1]: satnogs-client.service: Service hold-off time over, scheduling restart.
Feb 24 06:05:07 satnogs systemd[1]: Stopped SatNOGS client.

I will try with another sd card now

Wondering.
On https://wiki.satnogs.org/Raspberry_Pi_3 , under download:

"You can download the latest Raspbian SatNOGS image following the links from the latest tag on GitLab. Click on the cloud icon and then click “Download release”.

But the “download” link is directed to a file and not a download library.
Is the link pointing to the correct version?

Guide say:

Right after the first boot of the system, packages and the configuration tool itself must be updated .

So for a linux newbie, what does that exactly mean. Is that done via satnogs-setup or is it the debian also. What packages and configuration tool are we talking about, the satnogs or debian?.

If i look down the guide:

Updating SatNOGS Client software

To update all Debian packages to the latest you can use the normal APT updating methods. SSH into the system and run the following commands:

So must this also be done, is this the packages that are talked about in the first part of the guide?.

Im abit confused then, as i have no linux skills, what im looking for is a step by step guide, in chronological order, with no presumptions.

So finally got it working.
How, im really not sure, been messing around and reinstalling a few times.

But the client version is still 0.8, even though i´ve gone through the satnogs client software updating.

I did notits this error when applying config:

TASK [satnogs-radio : Uninstall gr-satnogs] ************************************
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “‘apt-get remove ‘gr-sa tnogs’’ failed: E: Unmet dependencies. Try ‘apt --fix-broken install’ with no pa ckages (or specify a solution).\n”, “rc”: 100, “stderr”: “E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).\n”, “s tderr_lines”: [“E: Unmet dependencies. Try ‘apt --fix-broken install’ with no pa ckages (or specify a solution).”], “stdout”: “Reading package lists…\nBuilding dependency tree…\nReading state information…\nYou might want to run ‘apt – fix-broken install’ to correct these.\nThe following packages have unmet depende ncies:\n apt-utils : Depends: apt (= 1.4.8) but 1.4.9 is to be installed\n”, “st dout_lines”: [“Reading package lists…”, “Building dependency tree…”, “Readin g state information…”, “You might want to run ‘apt --fix-broken install’ to co rrect these.”, “The following packages have unmet dependencies:”, " apt-utils : Depends: apt (= 1.4.8) but 1.4.9 is to be installed"]}
to retry, use: --limit @/root/.satnogs/ansible/local.retry

When working on getting it to work, i did see some of this:

[WARNING]: Could not match supplied host pattern, ignoring: raspberrypi

This is normal, worry not (just an Ansible warning).

Could you point where the reference for update is? We should fix that with link to more detailed steps.

I you compared both links then you would see that they are pointing to the exact same thing. For ease we are just supplying a direct “Download” link to the title :slight_smile:

Is this what you see in satnogs-setup at the top (as title of the window)? or you are looking into network version?
The network one, is updated after the first observation with the new version. Maybe we should change this to be updated automatically, I’ll open an issue for this.

Hi Pierros.

In the wiki SatNOGS Client Ansible - SatNOGS Wiki

"Initial Setup

Right after the first boot of the system, packages and the configuration tool itself must be updated . Follow the Updating instruction found below."

Further down the wiki:

"## Updating SatNOGS Client software

To update all Debian packages to the latest you can use the normal APT updating methods. SSH into the system and run the following commands"


But now i understand. The word “Updating” is a link. I did not see that at first. Maybe its because of Chrome, but its is very difficult to see that word is a link unless you point your mouse at it.
If you dont see its a link, you read it as the instruktion is rigtig below in the " To configure a SatNOGS Client Ansible system:"

This is what it looks like on my screen:


I think this is where ive gone wrong in the installation.

Hi Fredy.

Yes your right, i see it have now changed to 0.9 in the network version.
In satnogs-setup its been 0.9 since i upgraded.
So it tricked me.

I could not see any version number in the local web host at port 5000.

Here is an example of how links look here in chrome.
The “Updating” is very differcult to see as a link, “here” and “no rotor setup” is clear.