Satnogs-Client Setup

Running this all in the terminal of Linux mint cinamon edge 21.3

somya@somya-VirtualBox:~$ sudo apt-get install python3-apt lsb-release
[sudo] password for somya:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
lsb-release is already the newest version (11.1.0ubuntu4).
python3-apt is already the newest version (2.4.0ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.

somya@somya-VirtualBox:~$ pip install satnogs-config
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: satnogs-config in ./.local/lib/python3.10/site-packages (0.13.2)
Requirement already satisfied: setuptools~=63.2.0 in ./.local/lib/python3.10/site-packages (from satnogs-config) (63.2.0)
Requirement already satisfied: PyYAML~=6.0.0 in ./.local/lib/python3.10/site-packages (from satnogs-config) (6.0.1)
Requirement already satisfied: psutil~=5.9.0 in /usr/lib/python3/dist-packages (from satnogs-config) (5.9.0)
Requirement already satisfied: pythondialog~=3.5.0 in ./.local/lib/python3.10/site-packages (from satnogs-config) (3.5.3)
Requirement already satisfied: python-dotenv~=0.20.0 in ./.local/lib/python3.10/site-packages (from satnogs-config) (0.20.0)

Then after running satnogs-config we are feeding the environment files in it but those are not getting saved and giving this as output

Somya: Traceback (most recent call last):
File “/home/somya/.local/bin/satnogs-config”, line 8, in
sys.exit(main())
File “/home/somya/.local/lib/python3.10/site-packages/satnogsconfig/init.py”, line 25, in main
menu.show()
File “/home/somya/.local/lib/python3.10/site-packages/satnogsconfig/menu.py”, line 241, in show
self._typesmenu[‘type’]
File “/home/somya/.local/lib/python3.10/site-packages/satnogsconfig/menu.py”, line 436, in _apply
if self._ansible.run([settings.ANSIBLE_PLAYBOOK], tags=tags):
File “/home/somya/.local/lib/python3.10/site-packages/satnogsconfig/helpers/ansible.py”, line 34, in run
subprocess.run(
File “/usr/lib/python3.10/subprocess.py”, line 503, in run
with Popen(*popenargs, **kwargs) as process:
File “/usr/lib/python3.10/subprocess.py”, line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File “/usr/lib/python3.10/subprocess.py”, line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ‘/home/somya/.satnogs/ansible’

Also there is issue regarding accessing the ansible file

Furthermore, on running satnogs-client the following error is showing up

somya@somya-VirtualBox:~$ satnogs-client
satnogsclient - ERROR - SATNOGS_API_TOKEN not configured but required
satnogsclient - ERROR - SATNOGS_STATION_ID not configured but required
satnogsclient - ERROR - SATNOGS_STATION_LAT not configured but required
satnogsclient - ERROR - SATNOGS_STATION_LON not configured but required
satnogsclient - ERROR - SATNOGS_STATION_ELEV not configured but required
satnogsclient - ERROR - SATNOGS_SOAPY_RX_DEVICE not configured but required
satnogsclient - ERROR - SATNOGS_RX_SAMP_RATE not configured but required
satnogsclient - ERROR - SATNOGS_ANTENNA not configured but required
satnogsclient - ERROR - SATNOGS_STATION_LAT not configured
satnogsclient - ERROR - SATNOGS_STATION_LON not configured
satnogsclient - ERROR - SATNOGS_STATION_ELEV not configured
satnogsclient - ERROR - Settings are invalid, exiting…

We request guidance on what shall be done to resolve the issue.

Linux mint isn’t supported, this doesn’t mean it can’t be made to work but will need a lot of trail and error.

If you want to stay on mint, go for the docker option otherwise revert to debian via the ansible install

Jan - PE0SAT

Could you please suggest which Operating System would be more suitable for this purpose?

It is currently based on Debian 11

Maybe this can also help you Debian | Amateur Radio – PEØSAT

1 Like

On running sudo satnogs-setup and putting in the required values in the terminal of Debian11.1.0 the following error is showing up what shall be done to resolve it

Remove virtualenv of old Python version…

Install PyPI dependencies…

Install satnogs-client…

Install satnogs-client configuration…

Add satnogs-client systemd service… Use tmpfs for state directory…

Start satnogs-client service…

Remove jessie backports repository.

Add LimeSDR udev rules…

Pin packages…

Install or remove system packages.

Get package facts…

Uninstall broken SatNOGS Flowgraphs dependencies…

Install SatNOGS Flowgraphs…

Retrying… (1 of 4)

Retrying… (2 of 4)

Retrying… (3 of 4)

localhost failed | msg: ‘/usr/bin/apt-get yo “Dpkg::Options::=–force-confdef” o “Dpkg::Options::=–force-confold” ‘satnogs-flowgraphs=1.4-1’’ failed: E: Version ‘1.4-1’ for ‘satnogs-flowgraphs’ was not found

install | stdout: Reading package lists…

Building dependency tree…

Reading state information…

| stderr: E: Version 1.4-1’ for ‘satnogs-flowgraphs’ was not found

See

I had same problem, is solved now.
Cristian - YO4DFT