I am having trouble decoding data on my rpi2 station (https://network.satnogs.org/observations/?station=97). I have installed it twice with no success. The rpi image installation works actually very good for a guy that don’t know Linux very well. The observations seems to be too short in most cases. Only when I observe CW sats that I get the correct time on the observations, but still no decode. So I thought let us test on a faster pc.
So I want to install SatNOGS on a higher performance desktop for a test.
** I am not SSH into the system (i do not have another Linux system or host, I just got the target), I am installing it on the system by opening a Xterm and typing in commands so I suffer to follow this
$ git clone https://gitlab.com/librespacefoundation/satnogs/satnogs-client-ansible.git # Clone SatNOGS Client Ansible repository
$ cd satnogs-client-ansible # Change to cloned repository directory
$ cp -r production.dist production # Copy dist configuration
$ vi production/inventory/hosts # Update file with your own target host, user and SSH password
$ ssh youruser@yourtargetsystem true # Test SSH connection to target system
$ ansible-playbook -i production/inventory -K site.yml # Run Ansible playbook
$ ssh -t youruser@yourtargetsystem sudo satnogs-setup # Setup SatNOGS client (see below)
Generally, ansible works by assuming you are running remotely the recipes targetted to a host you are trying to configure. If the host is localhost (running ansible locally) then you can set this up and still ansible would not care. Let us know if you need any more help with it
I have solved this problem ,And I successfully ran the command “ssh youruser@yourtargetsystem true”
The next line says to run: “ansible-playbook -i production/inventory -K site.yml” which results in an error “bash: ansible-playbook: command not found.”
I have started from scratch six times and get the same error each time. I checked for “site.yml” and it does exist.
Apparently, the system cannot find the playbook command. Or, the playbook script did not load.
any solution on this command not found issue? ran also in this stuff on a clean Debian Stretch 9.2 64 Bit. Some guidance or hint which host to use for pc satnogs-client would be appreciated,
oh silly me! after stepping back a meter i found the solution.
Basically you install the plain vanilla debian stretch version 9 and make it usable (network, cd unmount, user setup root and a working user).
Then kick in the following commands as root
apt-get install sudo
apt-get install ansible
After this adapt /etc/groups and add the working user to the group sudo.
Following the instructions at https://wiki.satnogs.org/SatNOGS_Client_Ansible .
If done correctly the ansible-playbook will fail. this is quite logical since debian is supplying an old 2.2 ansible version in the repo. what helps is to update the ansible.
for this add to /etc/apt/sources.list the following lines:
deb http://ftp.debian.org/debian stretch-backports main
deb-src http://ftp.debian.org/debian stretch-backports main
and use this command to install correctly:
apt-get install -t stretch-backports ansible
This updates the ansible being able to follow the command: ansible-playbook -i production/inventory -K site.yml
the first apt-get install ansible is necessary to create the needed dependencies.
well, and the rest is history. I hope this short guidance might help to bring satnogs-client as well on pc clients.
Google seems to suggest that I need to make the changes to the sources.list out, which I did and it makes no difference.
apt-get update shows no errors.
Where is this in the .yml file so I can just remove it and get my station working on Debian?
Huh. Well, there you go, I had not installed sudo. apt-get install sudo and we are past that problem. Thank-you VERY much, I had missed that one.
The playbook now runs a long while, then fails here;
TASK [satnogs-radio : Install gr-satnogs] *******************************************************************************************************************************************************
fatal: [satnogs]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute u'i386'\n\nThe error appears to have been in '/home/beno/satnogs-client-ansible/roles/satnogs-radio/tasks/main.yml': line 36, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n become: True\n- name: Install gr-satnogs\n ^ here\n"}