How to install satnogs with a raspberry pi 4?

Sorry I meant the logs for the satnogs-client service after you restart the satnogs-client:

journalctl -f -u satnogs-client.service

Looking for more error messages

2 Likes

in 06 20:50:32 raspberrypi satnogs-client[5258]: from satnogsclient import main
juin 06 20:50:32 raspberrypi satnogs-client[5258]: File “/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/init.py”, line 21, in
juin 06 20:50:32 raspberrypi satnogs-client[5258]: logging.basicConfig(format=settings.LOG_FORMAT, level=getattr(logging, settings.LOG_LEVEL))
juin 06 20:50:32 raspberrypi satnogs-client[5258]: AttributeError: module ‘logging’ has no attribute 'DEBUG ’
juin 06 20:50:32 raspberrypi systemd[1]: satnogs-client.service: Main process exited, code=exited, status=1/FAILURE
juin 06 20:50:32 raspberrypi systemd[1]: satnogs-client.service: Failed with result ‘exit-code’.
juin 06 20:50:32 raspberrypi systemd[1]: satnogs-client.service: Service RestartSec=100ms expired, scheduling restart.
juin 06 20:50:32 raspberrypi systemd[1]: satnogs-client.service: Scheduled restart job, restart counter is at 1365.
juin 06 20:50:32 raspberrypi systemd[1]: Stopped SatNOGS client.
juin 06 20:50:32 raspberrypi systemd[1]: Started SatNOGS client.
juin 06 20:50:34 raspberrypi satnogs-client[5261]: Traceback (most recent call last):
juin 06 20:50:34 raspberrypi satnogs-client[5261]: File “/var/lib/satnogs/bin/satnogs-client”, line 5, in
juin 06 20:50:34 raspberrypi satnogs-client[5261]: from satnogsclient import main
juin 06 20:50:34 raspberrypi satnogs-client[5261]: File “/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/init.py”, line 21, in
juin 06 20:50:34 raspberrypi satnogs-client[5261]: logging.basicConfig(format=settings.LOG_FORMAT, level=getattr(logging, settings.LOG_LEVEL))
juin 06 20:50:34 raspberrypi satnogs-client[5261]: AttributeError: module ‘logging’ has no attribute 'DEBUG ’
juin 06 20:50:34 raspberrypi systemd[1]: satnogs-client.service: Main process exited, code=exited, status=1/FAILURE
juin 06 20:50:34 raspberrypi systemd[1]: satnogs-client.service: Failed with result ‘exit-code’.
juin 06 20:50:35 raspberrypi systemd[1]: satnogs-client.service: Service RestartSec=100ms expired, scheduling restart.
juin 06 20:50:35 raspberrypi systemd[1]: satnogs-client.service: Scheduled restart job, restart counter is at 1366.
juin 06 20:50:35 raspberrypi systemd[1]: Stopped SatNOGS client.
juin 06 20:50:35 raspberrypi systemd[1]: Started SatNOGS client.
juin 06 20:50:36 raspberrypi satnogs-client[5264]: Traceback (most recent call last):
juin 06 20:50:36 raspberrypi satnogs-client[5264]: File “/var/lib/satnogs/bin/satnogs-client”, line 5, in
juin 06 20:50:36 raspberrypi satnogs-client[5264]: from satnogsclient import main
juin 06 20:50:36 raspberrypi satnogs-client[5264]: File “/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/init.py”, line 21, in
juin 06 20:50:36 raspberrypi satnogs-client[5264]: logging.basicConfig(format=settings.LOG_FORMAT, level=getattr(logging, settings.LOG_LEVEL))
juin 06 20:50:36 raspberrypi satnogs-client[5264]: AttributeError: module ‘logging’ has no attribute 'DEBUG ’
juin 06 20:50:37 raspberrypi systemd[1]: satnogs-client.service: Main process exited, code=exited, status=1/FAILURE
juin 06 20:50:37 raspberrypi systemd[1]: satnogs-client.service: Failed with result ‘exit-code’.
juin 06 20:50:37 raspberrypi systemd[1]: satnogs-client.service: Service RestartSec=100ms expired, scheduling restart.
juin 06 20:50:37 raspberrypi systemd[1]: satnogs-client.service: Scheduled restart job, restart counter is at 1367.
juin 06 20:50:37 raspberrypi systemd[1]: Stopped SatNOGS client.
juin 06 20:50:37 raspberrypi systemd[1]: Started SatNOGS client.
juin 06 20:50:39 raspberrypi satnogs-client[5267]: Traceback (most recent call last):
juin 06 20:50:39 raspberrypi satnogs-client[5267]: File “/var/lib/satnogs/bin/satnogs-client”, line 5, in
juin 06 20:50:39 raspberrypi satnogs-client[5267]: from satnogsclient import main
juin 06 20:50:39 raspberrypi satnogs-client[5267]: File “/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/init.py”, line 21, in
juin 06 20:50:39 raspberrypi satnogs-client[5267]: logging.basicConfig(format=settings.LOG_FORMAT, level=getattr(logging, settings.LOG_LEVEL))
juin 06 20:50:39 raspberrypi satnogs-client[5267]: AttributeError: module ‘logging’ has no attribute 'DEBUG ’
juin 06 20:50:39 raspberrypi systemd[1]: satnogs-client.service: Main process exited, code=exited, status=1/FAILURE
juin 06 20:50:39 raspberrypi systemd[1]: satnogs-client.service: Failed with result ‘exit-code’.
juin 06 20:50:39 raspberrypi systemd[1]: satnogs-client.service: Service RestartSec=100ms expired, scheduling restart.
juin 06 20:50:39 raspberrypi systemd[1]: satnogs-client.service: Scheduled restart job, restart counter is at 1368.
juin 06 20:50:39 raspberrypi systemd[1]: Stopped SatNOGS client.
juin 06 20:50:39 raspberrypi systemd[1]: Started SatNOGS client.
here copy of my console

I changed debug by info I got the next screen

  • Logs begin at Sun 2021-06-06 19:58:48 CEST. –
    juin 06 21:00:26 raspberrypi satnogs-client[6262]: raise TypeError(“Level not an integer or a valid string: %r” % level)
    juin 06 21:00:26 raspberrypi satnogs-client[6262]: TypeError: Level not an integer or a valid string: <function info at 0xb65dfa50>
    juin 06 21:00:26 raspberrypi systemd[1]: satnogs-client.service: Main process exited, code=exited, status=1/FAILURE
    juin 06 21:00:26 raspberrypi systemd[1]: satnogs-client.service: Failed with result ‘exit-code’.
    juin 06 21:00:26 raspberrypi systemd[1]: satnogs-client.service: Service RestartSec=100ms expired, scheduling restart.
    juin 06 21:00:26 raspberrypi systemd[1]: satnogs-client.service: Scheduled restart job, restart counter is at 4.
    juin 06 21:00:26 raspberrypi systemd[1]: Stopped SatNOGS client.
    juin 06 21:00:26 raspberrypi systemd[1]: satnogs-client.service: Start request repeated too quickly.
    juin 06 21:00:26 raspberrypi systemd[1]: satnogs-client.service: Failed with result ‘exit-code’.
    juin 06 21:00:26 raspberrypi systemd[1]: Failed to start SatNOGS client.

[I changed info to ERROR I got the following screen juin 06 21:15:15 raspberrypi satnogs-client[7214]: raise BadDsn(“Unsupported scheme %r” % parts.scheme)
juin 06 21:15:15 raspberrypi satnogs-client[7214]: sentry_sdk.utils.BadDsn: Unsupported scheme ‘’
juin 06 21:15:15 raspberrypi systemd[1]: satnogs-client.service: Main process exited, code=exited, status=1/FAILURE
juin 06 21:15:15 raspberrypi systemd[1]: satnogs-client.service: Failed with result ‘exit-code’.
juin 06 21:15:15 raspberrypi systemd[1]: satnogs-client.service: Service RestartSec=100ms expired, scheduling restart.
juin 06 21:15:15 raspberrypi systemd[1]: satnogs-client.service: Scheduled restart job, restart counter is at 221.
juin 06 21:15:15 raspberrypi systemd[1]: Stopped SatNOGS client.
juin 06 21:15:15 raspberrypi systemd[1]: Started SatNOGS client.

Isn’t the log level supposed to be a number? Like 10 for debug?

I"'ve had problems setting the log level before, the setting is far from intuitive.

I will need more explanation to understand

in the documentation it says
LOG_LEVEL DĂ©finissez le niveau de journalisation du client SatNOGS, les valeurs disponibles : ERROR , WARNING , INFO etDEBUG

I have the following error message
juin 06 22:01:33 raspberrypi satnogs-client[11448]: satnogsclient.scheduler.tasks - ERROR - 401 Client Error: Unauthorized for url: https://network.satnogs.org/api/jobs/?ground_station=2237&lat=45.379&lon=4.823&alt=230.

If I put the address in my web browser I access the page. The problem is with the pi.
How to change the missing authorization?
best regard

https://docs.satnogs.org/projects/satnogs-client/en/stable/userguide.html#log-level

1 Like

thank you for your reply

1 Like