No internet connection
  1. Home
  2. Technical Support

Trouble installing TIny Pilot

By Pi Hole @pihole
    2021-08-23 01:47:05.434Z

    I have a raspberry pi 4 with raspbian 10 installed. I tried downloading and installing tiny pilot on it from the instructions here: https://tinypilotkvm.com/blog/build-a-kvm-over-ip-under-100#how-to-build-your-own-tinypilot
    It appears to download and install, but after reboot, there is no tiny pilot. Browsing to http://raspberrypi just results in err_connection_refused. Here is the log from the installation. Am I missing something?

    pi@raspberrypi:~ $ curl -sS https://raw.githubusercontent.com/tiny-pilot/tinypilot/master/quick-install \

    | bash -

    • readonly DEFAULT_TINYPILOT_SETTINGS_FILE=/home/tinypilot/settings.yml
    • DEFAULT_TINYPILOT_SETTINGS_FILE=/home/tinypilot/settings.yml
    • [[ -n '' ]]
    • set -u
      ++ mktemp --tmpdir=/var/tmp --suffix .yml
    • readonly TINYPILOT_SETTINGS_FILE=/var/tmp/tmp.RayvxS3JVu.yml
    • TINYPILOT_SETTINGS_FILE=/var/tmp/tmp.RayvxS3JVu.yml
    • [[ -f /home/tinypilot/settings.yml ]]
    • echo 'No pre-existing settings file found at: /home/tinypilot/settings.yml'
      No pre-existing settings file found at: /home/tinypilot/settings.yml
    • readonly EXTRA_VARS_PATH=@/var/tmp/tmp.RayvxS3JVu.yml
    • EXTRA_VARS_PATH=@/var/tmp/tmp.RayvxS3JVu.yml
    • add_setting_if_undefined ustreamer_port 8001
    • local key=ustreamer_port
    • local value=8001
    • grep --silent '^ustreamer_port:' /var/tmp/tmp.RayvxS3JVu.yml
    • echo 'ustreamer_port: 8001'
    • tee --append /var/tmp/tmp.RayvxS3JVu.yml
      ustreamer_port: 8001
    • add_setting_if_undefined ustreamer_persistent true
    • local key=ustreamer_persistent
    • local value=true
    • grep --silent '^ustreamer_persistent:' /var/tmp/tmp.RayvxS3JVu.yml
    • tee --append /var/tmp/tmp.RayvxS3JVu.yml
    • echo 'ustreamer_persistent: true'
      ustreamer_persistent: true
    • USE_TC358743_DEFAULTS=
    • grep --silent '^ustreamer_capture_device:' /var/tmp/tmp.RayvxS3JVu.yml
    • '[' -f /home/ustreamer/config.yml ']'
    • [[ '' == \y ]]
    • add_setting_if_undefined ustreamer_encoder hw
    • local key=ustreamer_encoder
    • local value=hw
    • grep --silent '^ustreamer_encoder:' /var/tmp/tmp.RayvxS3JVu.yml
    • echo 'ustreamer_encoder: hw'
    • tee --append /var/tmp/tmp.RayvxS3JVu.yml
      ustreamer_encoder: hw
    • add_setting_if_undefined ustreamer_format jpeg
    • local key=ustreamer_format
    • local value=jpeg
    • grep --silent '^ustreamer_format:' /var/tmp/tmp.RayvxS3JVu.yml
    • echo 'ustreamer_format: jpeg'
    • tee --append /var/tmp/tmp.RayvxS3JVu.yml
      ustreamer_format: jpeg
    • add_setting_if_undefined ustreamer_resolution 1920x1080
    • local key=ustreamer_resolution
    • local value=1920x1080
    • grep --silent '^ustreamer_resolution:' /var/tmp/tmp.RayvxS3JVu.yml
    • echo 'ustreamer_resolution: 1920x1080'
    • tee --append /var/tmp/tmp.RayvxS3JVu.yml
      ustreamer_resolution: 1920x1080
    • echo 'Final install settings:'
      Final install settings:
    • cat /var/tmp/tmp.RayvxS3JVu.yml
      ustreamer_port: 8001
      ustreamer_persistent: true
      ustreamer_encoder: hw
      ustreamer_format: jpeg
      ustreamer_resolution: 1920x1080
    • HAS_PRO_INSTALLED=0
      ++ dirname bash
    • SCRIPT_DIR=.
    • '[' . = . ']'
    • SCRIPT_DIR=/opt/tinypilot
    • TINYPILOT_README=/opt/tinypilot/README.md
    • '[' -f /opt/tinypilot/README.md ']'
    • '[' 0 = 1 ']'
    • sudo apt-get update
      Hit:1 http://archive.raspberrypi.org/debian buster InRelease
      Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
      Reading package lists... Done
      E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
      N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
    • 6 replies
    1. Sorry about that. The install wasn't actually completing successfully. It failed at the end:

      E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
      N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
      

      This is issue #764, which is now fixed. Can you try running the install again?

      1. P
        In reply topihole:
        Pi Hole @pihole
          2021-08-26 02:21:02.262Z

          Tried the install again, but no change and the log looks the same:

          pi@raspberrypi:~ $ curl -sS https://raw.githubusercontent.com/tiny-pilot/tinypilot/master/quick-install \

          | bash -

          • readonly DEFAULT_TINYPILOT_SETTINGS_FILE=/home/tinypilot/settings.yml
          • DEFAULT_TINYPILOT_SETTINGS_FILE=/home/tinypilot/settings.yml
          • [[ -n '' ]]
          • set -u
            ++ mktemp --tmpdir=/var/tmp --suffix .yml
          • readonly TINYPILOT_SETTINGS_FILE=/var/tmp/tmp.cXq3XsFSFJ.yml
          • TINYPILOT_SETTINGS_FILE=/var/tmp/tmp.cXq3XsFSFJ.yml
          • [[ -f /home/tinypilot/settings.yml ]]
          • echo 'No pre-existing settings file found at: /home/tinypilot/settings.yml'
            No pre-existing settings file found at: /home/tinypilot/settings.yml
          • readonly EXTRA_VARS_PATH=@/var/tmp/tmp.cXq3XsFSFJ.yml
          • EXTRA_VARS_PATH=@/var/tmp/tmp.cXq3XsFSFJ.yml
          • add_setting_if_undefined ustreamer_port 8001
          • local key=ustreamer_port
          • local value=8001
          • grep --silent '^ustreamer_port:' /var/tmp/tmp.cXq3XsFSFJ.yml
          • echo 'ustreamer_port: 8001'
          • tee --append /var/tmp/tmp.cXq3XsFSFJ.yml
            ustreamer_port: 8001
          • add_setting_if_undefined ustreamer_persistent true
          • local key=ustreamer_persistent
          • local value=true
          • grep --silent '^ustreamer_persistent:' /var/tmp/tmp.cXq3XsFSFJ.yml
          • echo 'ustreamer_persistent: true'
          • tee --append /var/tmp/tmp.cXq3XsFSFJ.yml
            ustreamer_persistent: true
          • USE_TC358743_DEFAULTS=
          • grep --silent '^ustreamer_capture_device:' /var/tmp/tmp.cXq3XsFSFJ.yml
          • '[' -f /home/ustreamer/config.yml ']'
          • [[ '' == \y ]]
          • add_setting_if_undefined ustreamer_encoder hw
          • local key=ustreamer_encoder
          • local value=hw
          • grep --silent '^ustreamer_encoder:' /var/tmp/tmp.cXq3XsFSFJ.yml
          • echo 'ustreamer_encoder: hw'
          • tee --append /var/tmp/tmp.cXq3XsFSFJ.yml
            ustreamer_encoder: hw
          • add_setting_if_undefined ustreamer_format jpeg
          • local key=ustreamer_format
          • local value=jpeg
          • grep --silent '^ustreamer_format:' /var/tmp/tmp.cXq3XsFSFJ.yml
          • tee --append /var/tmp/tmp.cXq3XsFSFJ.yml
          • echo 'ustreamer_format: jpeg'
            ustreamer_format: jpeg
          • add_setting_if_undefined ustreamer_resolution 1920x1080
          • local key=ustreamer_resolution
          • local value=1920x1080
          • grep --silent '^ustreamer_resolution:' /var/tmp/tmp.cXq3XsFSFJ.yml
          • tee --append /var/tmp/tmp.cXq3XsFSFJ.yml
          • echo 'ustreamer_resolution: 1920x1080'
            ustreamer_resolution: 1920x1080
          • echo 'Final install settings:'
            Final install settings:
          • cat /var/tmp/tmp.cXq3XsFSFJ.yml
            ustreamer_port: 8001
            ustreamer_persistent: true
            ustreamer_encoder: hw
            ustreamer_format: jpeg
            ustreamer_resolution: 1920x1080
          • HAS_PRO_INSTALLED=0
            ++ dirname bash
          • SCRIPT_DIR=.
          • '[' . = . ']'
          • SCRIPT_DIR=/opt/tinypilot
          • TINYPILOT_README=/opt/tinypilot/README.md
          • '[' -f /opt/tinypilot/README.md ']'
          • '[' 0 = 1 ']'
          • readonly DEBIAN_RELEASE=buster
          • DEBIAN_RELEASE=buster
          • sudo apt-get update --target-release buster
            Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
            Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
            Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [378 kB]
            Reading package lists... Done
            E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
            N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
          1. I'm unable to reproduce this. I just tried the same command on a fresh installation of Raspberry Pi OS Lite (2021-05-07-raspios-buster-armhf-lite), and the installation succeeds.

            + readonly DEBIAN_RELEASE=buster
            + DEBIAN_RELEASE=buster
            + sudo apt-get update --target-release buster
            
            Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
            Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
            Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
            Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [378 kB]
            Get:5 http://raspbian.raspberrypi.org/raspbian buster/contrib armhf Packages [58.7 kB]
            Fetched 13.5 MB in 7s (2,068 kB/s)
            Reading package lists... Done
            N: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
            + sudo apt-get install -y git libffi-dev libssl-dev python3-dev python3-venv
            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            The following additional packages will be installed:
            ...
            
          2. P
            In reply topihole:
            Pi Hole @pihole
              2021-08-26 21:27:55.785Z

              Hmmm...and just to verify, this is the correct link to download the install file from?
              https://raw.githubusercontent.com/tiny-pilot/tinypilot/master/quick-install

              1. That's the correct address.

                We just pushed an update this morning that should resolve this. Can you try the command one more time? Sorry for the hassle.

              2. P
                In reply topihole:
                Pi Hole @pihole
                  2021-08-30 00:10:15.371Z

                  Hey, that worked! Thanks for sticking with it.