StreisandEffect / streisand

Streisand sets up a new server running your choice of WireGuard, OpenConnect, OpenSSH, OpenVPN, Shadowsocks, sslh, Stunnel, or a Tor bridge. It also generates custom instructions for all of these services. At the end of the run you are given an HTML file with instructions that can be shared with friends, family members, and fellow activists.
https://twitter.com/streisandvpn
Other
23.18k stars 1.99k forks source link

Installation errors #1429

Open Greeka67 opened 6 years ago

Greeka67 commented 6 years ago

Hello. I'm trying to install on a google server. Here such error has shown 2 times. What is the solution to the problem?

`login as: straisand-user Authenticating with public key "straisand-user" Passphrase for key "------": Linux instance-1 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. straisand-user@instance-1:~$ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/straisand-user/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/straisand-user/.ssh/id_rsa. Your public key has been saved in /home/straisand-user/.ssh/id_rsa.pub. The key fingerprint is: SHA256:-----straisand-user@instance-1 The key's randomart image is:

straisand-user@instance-1:~$ sudo apt-get install git Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: git-man less libcurl3-gnutls liberror-perl libperl5.24 patch perl perl-modules-5.24 rename rsync Suggested packages: git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn ed diffutils-doc perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make The following NEW packages will be installed: git git-man less libcurl3-gnutls liberror-perl libperl5.24 patch perl perl-modules-5.24 rename rsync 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Need to get 13.0 MB of archives. After this operation, 73.1 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://deb.debian.org/debian stretch/main amd64 perl-modules-5.24 all 5.24.1-3+deb9u4 [2,724 kB] Get:2 http://deb.debian.org/debian stretch/main amd64 libperl5.24 amd64 5.24.1-3+deb9u4 [3,522 kB] Get:3 http://deb.debian.org/debian stretch/main amd64 perl amd64 5.24.1-3+deb9u4 [218 kB] Get:4 http://deb.debian.org/debian stretch/main amd64 libcurl3-gnutls amd64 7.52.1-5+deb9u6 [290 kB] Get:5 http://deb.debian.org/debian stretch/main amd64 liberror-perl all 0.17024-1 [26.9 kB] Get:6 http://deb.debian.org/debian stretch/main amd64 git-man all 1:2.11.0-3+deb9u3 [1,433 kB] Get:7 http://deb.debian.org/debian stretch/main amd64 git amd64 1:2.11.0-3+deb9u3 [4,163 kB] Get:8 http://deb.debian.org/debian stretch/main amd64 less amd64 481-2.1 [126 kB] Get:9 http://deb.debian.org/debian stretch/main amd64 patch amd64 2.7.5-1+deb9u1 [112 kB] Get:10 http://deb.debian.org/debian stretch/main amd64 rename all 0.20-4 [12.5 kB] Get:11 http://deb.debian.org/debian stretch/main amd64 rsync amd64 3.1.2-1+deb9u1 [393 kB] Fetched 13.0 MB in 0s (48.3 MB/s) Selecting previously unselected package perl-modules-5.24. (Reading database ... 33394 files and directories currently installed.) Preparing to unpack .../00-perl-modules-5.24_5.24.1-3+deb9u4_all.deb ... Unpacking perl-modules-5.24 (5.24.1-3+deb9u4) ... Selecting previously unselected package libperl5.24:amd64. Preparing to unpack .../01-libperl5.24_5.24.1-3+deb9u4_amd64.deb ... Unpacking libperl5.24:amd64 (5.24.1-3+deb9u4) ... Selecting previously unselected package perl. Preparing to unpack .../02-perl_5.24.1-3+deb9u4_amd64.deb ... Unpacking perl (5.24.1-3+deb9u4) ... Selecting previously unselected package libcurl3-gnutls:amd64. Preparing to unpack .../03-libcurl3-gnutls_7.52.1-5+deb9u6_amd64.deb ... Unpacking libcurl3-gnutls:amd64 (7.52.1-5+deb9u6) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../04-liberror-perl_0.17024-1_all.deb ... Unpacking liberror-perl (0.17024-1) ... Selecting previously unselected package git-man. Preparing to unpack .../05-git-man_1%3a2.11.0-3+deb9u3_all.deb ... Unpacking git-man (1:2.11.0-3+deb9u3) ... Selecting previously unselected package git. Preparing to unpack .../06-git_1%3a2.11.0-3+deb9u3_amd64.deb ... Unpacking git (1:2.11.0-3+deb9u3) ... Selecting previously unselected package less. Preparing to unpack .../07-less_481-2.1_amd64.deb ... Unpacking less (481-2.1) ... Selecting previously unselected package patch. Preparing to unpack .../08-patch_2.7.5-1+deb9u1_amd64.deb ... Unpacking patch (2.7.5-1+deb9u1) ... Selecting previously unselected package rename. Preparing to unpack .../09-rename_0.20-4_all.deb ... Unpacking rename (0.20-4) ... Selecting previously unselected package rsync. Preparing to unpack .../10-rsync_3.1.2-1+deb9u1_amd64.deb ... Unpacking rsync (3.1.2-1+deb9u1) ... Setting up perl-modules-5.24 (5.24.1-3+deb9u4) ... Setting up libperl5.24:amd64 (5.24.1-3+deb9u4) ... Setting up git-man (1:2.11.0-3+deb9u3) ... Setting up less (481-2.1) ... Processing triggers for mime-support (3.60) ... Setting up libcurl3-gnutls:amd64 (7.52.1-5+deb9u6) ... Setting up rsync (3.1.2-1+deb9u1) ... Created symlink /etc/systemd/system/multi-user.target.wants/rsync.service → /lib/systemd/system/rsync.service. Setting up perl (5.24.1-3+deb9u4) ... update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode Setting up patch (2.7.5-1+deb9u1) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u4) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up liberror-perl (0.17024-1) ... Setting up rename (0.20-4) ... update-alternatives: using /usr/bin/file-rename to provide /usr/bin/rename (rename) in auto mode Setting up git (1:2.11.0-3+deb9u3) ... straisand-user@instance-1:~$ sudo apt-get install python-paramiko python-pip python-pycurl python-dev build-essential Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: binutils bzip2 cpp cpp-6 dbus dpkg-dev fakeroot g++ g++-6 gcc gcc-6 gir1.2-glib-2.0 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdbus-1-3 libdbus-glib-1-2 libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-6-dev libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libgomp1 libicu57 libisl15 libitm1 liblsan0 libmpc3 libmpfr4 libmpx2 libpython-all-dev libpython-dev libpython2.7 libpython2.7-dev libquadmath0 libstdc++-6-dev libtsan0 libubsan0 libxml2 linux-libc-dev make manpages manpages-dev python-all python-all-dev python-cffi-backend python-crypto python-cryptography python-dbus python-enum34 python-gi python-idna python-ipaddress python-keyring python-keyrings.alt python-pip-whl python-pyasn1 python-secretstorage python-setuptools python-wheel python-xdg python2.7-dev sgml-base shared-mime-info xdg-user-dirs xml-core Suggested packages: binutils-doc bzip2-doc cpp-doc gcc-6-locales default-dbus-session-bus | dbus-session-bus debian-keyring g++-multilib g++-6-multilib gcc-6-doc libstdc++6-6-dbg gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-6-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc libstdc++-6-doc make-doc python-crypto-dbg python-crypto-doc python-cryptography-doc python-cryptography-vectors python-dbus-dbg python-dbus-doc python-enum34-doc python-gi-cairo gnome-keyring libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-fs python-gdata python-kde4 python-keyczar python-gssapi doc-base libcurl4-gnutls-dev python-pycurl-dbg python-pycurl-doc python-secretstorage-doc python-setuptools-doc sgml-base-doc debhelper The following NEW packages will be installed: binutils build-essential bzip2 cpp cpp-6 dbus dpkg-dev fakeroot g++ g++-6 gcc gcc-6 gir1.2-glib-2.0 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdbus-1-3 libdbus-glib-1-2 libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-6-dev libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libgomp1 libicu57 libisl15 libitm1 liblsan0 libmpc3 libmpfr4 libmpx2 libpython-all-dev libpython-dev libpython2.7 libpython2.7-dev libquadmath0 libstdc++-6-dev libtsan0 libubsan0 libxml2 linux-libc-dev make manpages manpages-dev python-all python-all-dev python-cffi-backend python-crypto python-cryptography python-dbus python-dev python-enum34 python-gi python-idna python-ipaddress python-keyring python-keyrings.alt python-paramiko python-pip python-pip-whl python-pyasn1 python-pycurl python-secretstorage python-setuptools python-wheel python-xdg python2.7-dev sgml-base shared-mime-info xdg-user-dirs xml-core 0 upgraded, 80 newly installed, 0 to remove and 0 not upgraded. Need to get 90.0 MB of archives. After this operation, 277 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://deb.debian.org/debian stretch/main amd64 sgml-base all 1.29 [14.8 kB] Get:2 http://security.debian.org stretch/updates/main amd64 linux-libc-dev amd64 4.9.110-3+deb9u2 [1,347 kB] Get:3 http://deb.debian.org/debian stretch/main amd64 bzip2 amd64 1.0.6-8.1 [47.5 kB] Get:4 http://deb.debian.org/debian stretch/main amd64 libdbus-1-3 amd64 1.10.26-0+deb9u1 [194 kB] Get:5 http://deb.debian.org/debian stretch/main amd64 dbus amd64 1.10.26-0+deb9u1 [210 kB] Get:6 http://deb.debian.org/debian stretch/main amd64 libicu57 amd64 57.1-6+deb9u2 [7,700 kB] Get:7 http://deb.debian.org/debian stretch/main amd64 libxml2 amd64 2.9.4+dfsg1-2.2+deb9u2 [920 kB] Get:8 http://deb.debian.org/debian stretch/main amd64 manpages all 4.10-2 [1,222 kB] Get:9 http://deb.debian.org/debian stretch/main amd64 binutils amd64 2.28-5 [3,770 kB] Get:10 http://deb.debian.org/debian stretch/main amd64 libc-dev-bin amd64 2.24-11+deb9u3 [258 kB] Get:11 http://deb.debian.org/debian stretch/main amd64 libc6-dev amd64 2.24-11+deb9u3 [2,361 kB] Get:12 http://deb.debian.org/debian stretch/main amd64 libisl15 amd64 0.18-1 [564 kB] Get:13 http://deb.debian.org/debian stretch/main amd64 libmpfr4 amd64 3.1.5-1 [556 kB] Get:14 http://deb.debian.org/debian stretch/main amd64 libmpc3 amd64 1.0.3-1+b2 [39.9 kB] Get:15 http://deb.debian.org/debian stretch/main amd64 cpp-6 amd64 6.3.0-18+deb9u1 [6,584 kB] Get:16 http://deb.debian.org/debian stretch/main amd64 cpp amd64 4:6.3.0-4 [18.7 kB] Get:17 http://deb.debian.org/debian stretch/main amd64 libcc1-0 amd64 6.3.0-18+deb9u1 [30.6 kB] Get:18 http://deb.debian.org/debian stretch/main amd64 libgomp1 amd64 6.3.0-18+deb9u1 [73.3 kB] Get:19 http://deb.debian.org/debian stretch/main amd64 libitm1 amd64 6.3.0-18+deb9u1 [27.3 kB] Get:20 http://deb.debian.org/debian stretch/main amd64 libatomic1 amd64 6.3.0-18+deb9u1 [8,966 B] Get:21 http://deb.debian.org/debian stretch/main amd64 libasan3 amd64 6.3.0-18+deb9u1 [311 kB] Get:22 http://deb.debian.org/debian stretch/main amd64 liblsan0 amd64 6.3.0-18+deb9u1 [115 kB] Get:23 http://deb.debian.org/debian stretch/main amd64 libtsan0 amd64 6.3.0-18+deb9u1 [257 kB] Get:24 http://deb.debian.org/debian stretch/main amd64 libubsan0 amd64 6.3.0-18+deb9u1 [107 kB] Get:25 http://deb.debian.org/debian stretch/main amd64 libcilkrts5 amd64 6.3.0-18+deb9u1 [40.5 kB] Get:26 http://deb.debian.org/debian stretch/main amd64 libmpx2 amd64 6.3.0-18+deb9u1 [11.2 kB] Get:27 http://deb.debian.org/debian stretch/main amd64 libquadmath0 amd64 6.3.0-18+deb9u1 [131 kB] Get:28 http://deb.debian.org/debian stretch/main amd64 libgcc-6-dev amd64 6.3.0-18+deb9u1 [2,296 kB] Get:29 http://deb.debian.org/debian stretch/main amd64 gcc-6 amd64 6.3.0-18+deb9u1 [6,900 kB] Get:30 http://deb.debian.org/debian stretch/main amd64 gcc amd64 4:6.3.0-4 [5,196 B] Get:31 http://deb.debian.org/debian stretch/main amd64 libstdc++-6-dev amd64 6.3.0-18+deb9u1 [1,420 kB] Get:32 http://deb.debian.org/debian stretch/main amd64 g++-6 amd64 6.3.0-18+deb9u1 [7,094 kB] Get:33 http://deb.debian.org/debian stretch/main amd64 g++ amd64 4:6.3.0-4 [1,546 B] Get:34 http://deb.debian.org/debian stretch/main amd64 make amd64 4.1-9.1 [302 kB] Get:35 http://deb.debian.org/debian stretch/main amd64 libdpkg-perl all 1.18.25 [1,287 kB] Get:36 http://deb.debian.org/debian stretch/main amd64 dpkg-dev all 1.18.25 [1,595 kB] Get:37 http://deb.debian.org/debian stretch/main amd64 build-essential amd64 12.3 [7,346 B] Get:38 http://deb.debian.org/debian stretch/main amd64 libfakeroot amd64 1.21-3.1 [45.7 kB] Get:39 http://deb.debian.org/debian stretch/main amd64 fakeroot amd64 1.21-3.1 [85.6 kB] Get:40 http://deb.debian.org/debian stretch/main amd64 libglib2.0-0 amd64 2.50.3-2 [2,691 kB] Get:41 http://deb.debian.org/debian stretch/main amd64 libgirepository-1.0-1 amd64 1.50.0-1+b1 [89.0 kB] Get:42 http://deb.debian.org/debian stretch/main amd64 gir1.2-glib-2.0 amd64 1.50.0-1+b1 [139 kB] Get:43 http://deb.debian.org/debian stretch/main amd64 libalgorithm-diff-perl all 1.19.03-1 [48.7 kB] Get:44 http://deb.debian.org/debian stretch/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4+b2 [11.6 kB] Get:45 http://deb.debian.org/debian stretch/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB] Get:46 http://deb.debian.org/debian stretch/main amd64 libdbus-glib-1-2 amd64 0.108-2 [206 kB] Get:47 http://deb.debian.org/debian stretch/main amd64 libexpat1-dev amd64 2.2.0-2+deb9u1 [134 kB] Get:48 http://deb.debian.org/debian stretch/main amd64 libfile-fcntllock-perl amd64 0.22-3+b2 [35.3 kB] Get:49 http://deb.debian.org/debian stretch/main amd64 libglib2.0-data all 2.50.3-2 [2,517 kB] Get:50 http://deb.debian.org/debian stretch/main amd64 libpython2.7 amd64 2.7.13-2+deb9u2 [1,072 kB] Get:51 http://deb.debian.org/debian stretch/main amd64 libpython2.7-dev amd64 2.7.13-2+deb9u2 [28.2 MB] Get:52 http://deb.debian.org/debian stretch/main amd64 libpython-dev amd64 2.7.13-2 [20.1 kB] Get:53 http://deb.debian.org/debian stretch/main amd64 libpython-all-dev amd64 2.7.13-2 [960 B] Get:54 http://deb.debian.org/debian stretch/main amd64 manpages-dev all 4.10-2 [2,145 kB] Get:55 http://deb.debian.org/debian stretch/main amd64 python-all amd64 2.7.13-2 [942 B] Get:56 http://deb.debian.org/debian stretch/main amd64 python2.7-dev amd64 2.7.13-2+deb9u2 [290 kB] Get:57 http://deb.debian.org/debian stretch/main amd64 python-dev amd64 2.7.13-2 [1,126 B] Get:58 http://deb.debian.org/debian stretch/main amd64 python-all-dev amd64 2.7.13-2 [962 B] Get:59 http://deb.debian.org/debian stretch/main amd64 python-cffi-backend amd64 1.9.1-2 [69.0 kB] Get:60 http://deb.debian.org/debian stretch/main amd64 python-crypto amd64 2.6.1-7 [259 kB] Get:61 http://deb.debian.org/debian stretch/main amd64 python-enum34 all 1.1.6-1 [35.0 kB] Get:62 http://deb.debian.org/debian stretch/main amd64 python-idna all 2.2-1 [32.6 kB] Get:63 http://deb.debian.org/debian stretch/main amd64 python-ipaddress all 1.0.17-1 [18.1 kB] Get:64 http://deb.debian.org/debian stretch/main amd64 python-pyasn1 all 0.1.9-2 [51.8 kB] Get:65 http://deb.debian.org/debian stretch/main amd64 python-setuptools all 33.1.1-1 [297 kB] Get:66 http://deb.debian.org/debian stretch/main amd64 python-cryptography amd64 1.7.1-3 [211 kB] Get:67 http://deb.debian.org/debian stretch/main amd64 python-dbus amd64 1.2.4-1+b1 [185 kB] Get:68 http://deb.debian.org/debian stretch/main amd64 python-gi amd64 3.22.0-2 [515 kB] Get:69 http://deb.debian.org/debian stretch/main amd64 python-secretstorage all 2.3.1-2 [13.8 kB] Get:70 http://deb.debian.org/debian stretch/main amd64 python-keyring all 10.1-1 [40.7 kB] Get:71 http://deb.debian.org/debian stretch/main amd64 python-keyrings.alt all 1.3-1 [16.4 kB] Get:72 http://deb.debian.org/debian stretch/main amd64 python-paramiko all 2.0.0-1 [111 kB] Get:73 http://deb.debian.org/debian stretch/main amd64 python-pip-whl all 9.0.1-2 [1,406 kB] Get:74 http://deb.debian.org/debian stretch/main amd64 python-pip all 9.0.1-2 [179 kB] Get:75 http://deb.debian.org/debian stretch/main amd64 python-pycurl amd64 7.43.0-2 [61.6 kB] Get:76 http://deb.debian.org/debian stretch/main amd64 python-wheel all 0.29.0-2 [51.7 kB] Get:77 http://deb.debian.org/debian stretch/main amd64 python-xdg all 0.25-4 [35.8 kB] Get:78 http://deb.debian.org/debian stretch/main amd64 shared-mime-info amd64 1.8-1+deb9u1 [731 kB] Get:79 http://deb.debian.org/debian stretch/main amd64 xdg-user-dirs amd64 0.15-2+b1 [52.2 kB] Get:80 http://deb.debian.org/debian stretch/main amd64 xml-core all 0.17 [23.2 kB] Fetched 90.0 MB in 1s (51.4 MB/s) Extracting templates from packages: 100% Selecting previously unselected package sgml-base. (Reading database ... 36162 files and directories currently installed.) Preparing to unpack .../00-sgml-base_1.29_all.deb ... Unpacking sgml-base (1.29) ... Selecting previously unselected package bzip2. Preparing to unpack .../01-bzip2_1.0.6-8.1_amd64.deb ... Unpacking bzip2 (1.0.6-8.1) ... Selecting previously unselected package libdbus-1-3:amd64. Preparing to unpack .../02-libdbus-1-3_1.10.26-0+deb9u1_amd64.deb ... Unpacking libdbus-1-3:amd64 (1.10.26-0+deb9u1) ... Selecting previously unselected package dbus. Preparing to unpack .../03-dbus_1.10.26-0+deb9u1_amd64.deb ... Unpacking dbus (1.10.26-0+deb9u1) ... Selecting previously unselected package libicu57:amd64. Preparing to unpack .../04-libicu57_57.1-6+deb9u2_amd64.deb ... Unpacking libicu57:amd64 (57.1-6+deb9u2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../05-libxml2_2.9.4+dfsg1-2.2+deb9u2_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-2.2+deb9u2) ... Selecting previously unselected package manpages. Preparing to unpack .../06-manpages_4.10-2_all.deb ... Unpacking manpages (4.10-2) ... Selecting previously unselected package binutils. Preparing to unpack .../07-binutils_2.28-5_amd64.deb ... Unpacking binutils (2.28-5) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../08-libc-dev-bin_2.24-11+deb9u3_amd64.deb ... Unpacking libc-dev-bin (2.24-11+deb9u3) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../09-linux-libc-dev_4.9.110-3+deb9u2_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.9.110-3+deb9u2) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../10-libc6-dev_2.24-11+deb9u3_amd64.deb ... Unpacking libc6-dev:amd64 (2.24-11+deb9u3) ... Selecting previously unselected package libisl15:amd64. Preparing to unpack .../11-libisl15_0.18-1_amd64.deb ... Unpacking libisl15:amd64 (0.18-1) ... Selecting previously unselected package libmpfr4:amd64. Preparing to unpack .../12-libmpfr4_3.1.5-1_amd64.deb ... Unpacking libmpfr4:amd64 (3.1.5-1) ... Selecting previously unselected package libmpc3:amd64. Preparing to unpack .../13-libmpc3_1.0.3-1+b2_amd64.deb ... Unpacking libmpc3:amd64 (1.0.3-1+b2) ... Selecting previously unselected package cpp-6. Preparing to unpack .../14-cpp-6_6.3.0-18+deb9u1_amd64.deb ... Unpacking cpp-6 (6.3.0-18+deb9u1) ... Selecting previously unselected package cpp. Preparing to unpack .../15-cpp_4%3a6.3.0-4_amd64.deb ... Unpacking cpp (4:6.3.0-4) ... Selecting previously unselected package libcc1-0:amd64. Preparing to unpack .../16-libcc1-0_6.3.0-18+deb9u1_amd64.deb ... Unpacking libcc1-0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libgomp1:amd64. Preparing to unpack .../17-libgomp1_6.3.0-18+deb9u1_amd64.deb ... Unpacking libgomp1:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../18-libitm1_6.3.0-18+deb9u1_amd64.deb ... Unpacking libitm1:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libatomic1:amd64. Preparing to unpack .../19-libatomic1_6.3.0-18+deb9u1_amd64.deb ... Unpacking libatomic1:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libasan3:amd64. Preparing to unpack .../20-libasan3_6.3.0-18+deb9u1_amd64.deb ... Unpacking libasan3:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package liblsan0:amd64. Preparing to unpack .../21-liblsan0_6.3.0-18+deb9u1_amd64.deb ... Unpacking liblsan0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libtsan0:amd64. Preparing to unpack .../22-libtsan0_6.3.0-18+deb9u1_amd64.deb ... Unpacking libtsan0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libubsan0:amd64. Preparing to unpack .../23-libubsan0_6.3.0-18+deb9u1_amd64.deb ... Unpacking libubsan0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libcilkrts5:amd64. Preparing to unpack .../24-libcilkrts5_6.3.0-18+deb9u1_amd64.deb ... Unpacking libcilkrts5:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libmpx2:amd64. Preparing to unpack .../25-libmpx2_6.3.0-18+deb9u1_amd64.deb ... Unpacking libmpx2:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libquadmath0:amd64. Preparing to unpack .../26-libquadmath0_6.3.0-18+deb9u1_amd64.deb ... Unpacking libquadmath0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libgcc-6-dev:amd64. Preparing to unpack .../27-libgcc-6-dev_6.3.0-18+deb9u1_amd64.deb ... Unpacking libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package gcc-6. Preparing to unpack .../28-gcc-6_6.3.0-18+deb9u1_amd64.deb ... Unpacking gcc-6 (6.3.0-18+deb9u1) ... Selecting previously unselected package gcc. Preparing to unpack .../29-gcc_4%3a6.3.0-4_amd64.deb ... Unpacking gcc (4:6.3.0-4) ... Selecting previously unselected package libstdc++-6-dev:amd64. Preparing to unpack .../30-libstdc++-6-dev_6.3.0-18+deb9u1_amd64.deb ... Unpacking libstdc++-6-dev:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package g++-6. Preparing to unpack .../31-g++-6_6.3.0-18+deb9u1_amd64.deb ... Unpacking g++-6 (6.3.0-18+deb9u1) ... Selecting previously unselected package g++. Preparing to unpack .../32-g++_4%3a6.3.0-4_amd64.deb ... Unpacking g++ (4:6.3.0-4) ... Selecting previously unselected package make. Preparing to unpack .../33-make_4.1-9.1_amd64.deb ... Unpacking make (4.1-9.1) ... Selecting previously unselected package libdpkg-perl. Preparing to unpack .../34-libdpkg-perl_1.18.25_all.deb ... Unpacking libdpkg-perl (1.18.25) ... Selecting previously unselected package dpkg-dev. Preparing to unpack .../35-dpkg-dev_1.18.25_all.deb ... Unpacking dpkg-dev (1.18.25) ... Selecting previously unselected package build-essential. Preparing to unpack .../36-build-essential_12.3_amd64.deb ... Unpacking build-essential (12.3) ... Selecting previously unselected package libfakeroot:amd64. Preparing to unpack .../37-libfakeroot_1.21-3.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.21-3.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../38-fakeroot_1.21-3.1_amd64.deb ... Unpacking fakeroot (1.21-3.1) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../39-libglib2.0-0_2.50.3-2_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.50.3-2) ... Selecting previously unselected package libgirepository-1.0-1:amd64. Preparing to unpack .../40-libgirepository-1.0-1_1.50.0-1+b1_amd64.deb ... Unpacking libgirepository-1.0-1:amd64 (1.50.0-1+b1) ... Selecting previously unselected package gir1.2-glib-2.0:amd64. Preparing to unpack .../41-gir1.2-glib-2.0_1.50.0-1+b1_amd64.deb ... Unpacking gir1.2-glib-2.0:amd64 (1.50.0-1+b1) ... Selecting previously unselected package libalgorithm-diff-perl. Preparing to unpack .../42-libalgorithm-diff-perl_1.19.03-1_all.deb ... Unpacking libalgorithm-diff-perl (1.19.03-1) ... Selecting previously unselected package libalgorithm-diff-xs-perl. Preparing to unpack .../43-libalgorithm-diff-xs-perl_0.04-4+b2_amd64.deb ... Unpacking libalgorithm-diff-xs-perl (0.04-4+b2) ... Selecting previously unselected package libalgorithm-merge-perl. Preparing to unpack .../44-libalgorithm-merge-perl_0.08-3_all.deb ... Unpacking libalgorithm-merge-perl (0.08-3) ... Selecting previously unselected package libdbus-glib-1-2:amd64. Preparing to unpack .../45-libdbus-glib-1-2_0.108-2_amd64.deb ... Unpacking libdbus-glib-1-2:amd64 (0.108-2) ... Selecting previously unselected package libexpat1-dev:amd64. Preparing to unpack .../46-libexpat1-dev_2.2.0-2+deb9u1_amd64.deb ... Unpacking libexpat1-dev:amd64 (2.2.0-2+deb9u1) ... Selecting previously unselected package libfile-fcntllock-perl. Preparing to unpack .../47-libfile-fcntllock-perl_0.22-3+b2_amd64.deb ... Unpacking libfile-fcntllock-perl (0.22-3+b2) ... Selecting previously unselected package libglib2.0-data. Preparing to unpack .../48-libglib2.0-data_2.50.3-2_all.deb ... Unpacking libglib2.0-data (2.50.3-2) ... Selecting previously unselected package libpython2.7:amd64. Preparing to unpack .../49-libpython2.7_2.7.13-2+deb9u2_amd64.deb ... Unpacking libpython2.7:amd64 (2.7.13-2+deb9u2) ... Selecting previously unselected package libpython2.7-dev:amd64. Preparing to unpack .../50-libpython2.7-dev_2.7.13-2+deb9u2_amd64.deb ... Unpacking libpython2.7-dev:amd64 (2.7.13-2+deb9u2) ... Selecting previously unselected package libpython-dev:amd64. Preparing to unpack .../51-libpython-dev_2.7.13-2_amd64.deb ... Unpacking libpython-dev:amd64 (2.7.13-2) ... Selecting previously unselected package libpython-all-dev:amd64. Preparing to unpack .../52-libpython-all-dev_2.7.13-2_amd64.deb ... Unpacking libpython-all-dev:amd64 (2.7.13-2) ... Selecting previously unselected package manpages-dev. Preparing to unpack .../53-manpages-dev_4.10-2_all.deb ... Unpacking manpages-dev (4.10-2) ... Selecting previously unselected package python-all. Preparing to unpack .../54-python-all_2.7.13-2_amd64.deb ... Unpacking python-all (2.7.13-2) ... Selecting previously unselected package python2.7-dev. Preparing to unpack .../55-python2.7-dev_2.7.13-2+deb9u2_amd64.deb ... Unpacking python2.7-dev (2.7.13-2+deb9u2) ... Selecting previously unselected package python-dev. Preparing to unpack .../56-python-dev_2.7.13-2_amd64.deb ... Unpacking python-dev (2.7.13-2) ... Selecting previously unselected package python-all-dev. Preparing to unpack .../57-python-all-dev_2.7.13-2_amd64.deb ... Unpacking python-all-dev (2.7.13-2) ... Selecting previously unselected package python-cffi-backend. Preparing to unpack .../58-python-cffi-backend_1.9.1-2_amd64.deb ... Unpacking python-cffi-backend (1.9.1-2) ... Selecting previously unselected package python-crypto. Preparing to unpack .../59-python-crypto_2.6.1-7_amd64.deb ... Unpacking python-crypto (2.6.1-7) ... Selecting previously unselected package python-enum34. Preparing to unpack .../60-python-enum34_1.1.6-1_all.deb ... Unpacking python-enum34 (1.1.6-1) ... Selecting previously unselected package python-idna. Preparing to unpack .../61-python-idna_2.2-1_all.deb ... Unpacking python-idna (2.2-1) ... Selecting previously unselected package python-ipaddress. Preparing to unpack .../62-python-ipaddress_1.0.17-1_all.deb ... Unpacking python-ipaddress (1.0.17-1) ... Selecting previously unselected package python-pyasn1. Preparing to unpack .../63-python-pyasn1_0.1.9-2_all.deb ... Unpacking python-pyasn1 (0.1.9-2) ... Selecting previously unselected package python-setuptools. Preparing to unpack .../64-python-setuptools_33.1.1-1_all.deb ... Unpacking python-setuptools (33.1.1-1) ... Selecting previously unselected package python-cryptography. Preparing to unpack .../65-python-cryptography_1.7.1-3_amd64.deb ... Unpacking python-cryptography (1.7.1-3) ... Selecting previously unselected package python-dbus. Preparing to unpack .../66-python-dbus_1.2.4-1+b1_amd64.deb ... Unpacking python-dbus (1.2.4-1+b1) ... Selecting previously unselected package python-gi. Preparing to unpack .../67-python-gi_3.22.0-2_amd64.deb ... Unpacking python-gi (3.22.0-2) ... Selecting previously unselected package python-secretstorage. Preparing to unpack .../68-python-secretstorage_2.3.1-2_all.deb ... Unpacking python-secretstorage (2.3.1-2) ... Selecting previously unselected package python-keyring. Preparing to unpack .../69-python-keyring_10.1-1_all.deb ... Unpacking python-keyring (10.1-1) ... Selecting previously unselected package python-keyrings.alt. Preparing to unpack .../70-python-keyrings.alt_1.3-1_all.deb ... Unpacking python-keyrings.alt (1.3-1) ... Selecting previously unselected package python-paramiko. Preparing to unpack .../71-python-paramiko_2.0.0-1_all.deb ... Unpacking python-paramiko (2.0.0-1) ... Selecting previously unselected package python-pip-whl. Preparing to unpack .../72-python-pip-whl_9.0.1-2_all.deb ... Unpacking python-pip-whl (9.0.1-2) ... Selecting previously unselected package python-pip. Preparing to unpack .../73-python-pip_9.0.1-2_all.deb ... Unpacking python-pip (9.0.1-2) ... Selecting previously unselected package python-pycurl. Preparing to unpack .../74-python-pycurl_7.43.0-2_amd64.deb ... Unpacking python-pycurl (7.43.0-2) ... Selecting previously unselected package python-wheel. Preparing to unpack .../75-python-wheel_0.29.0-2_all.deb ... Unpacking python-wheel (0.29.0-2) ... Selecting previously unselected package python-xdg. Preparing to unpack .../76-python-xdg_0.25-4_all.deb ... Unpacking python-xdg (0.25-4) ... Selecting previously unselected package shared-mime-info. Preparing to unpack .../77-shared-mime-info_1.8-1+deb9u1_amd64.deb ... Unpacking shared-mime-info (1.8-1+deb9u1) ... Selecting previously unselected package xdg-user-dirs. Preparing to unpack .../78-xdg-user-dirs_0.15-2+b1_amd64.deb ... Unpacking xdg-user-dirs (0.15-2+b1) ... Selecting previously unselected package xml-core. Preparing to unpack .../79-xml-core_0.17_all.deb ... Unpacking xml-core (0.17) ... Setting up libquadmath0:amd64 (6.3.0-18+deb9u1) ... Setting up python-idna (2.2-1) ... Setting up libgomp1:amd64 (6.3.0-18+deb9u1) ... Setting up libatomic1:amd64 (6.3.0-18+deb9u1) ... Setting up python-pip-whl (9.0.1-2) ... Setting up manpages (4.10-2) ... Setting up python-setuptools (33.1.1-1) ... Setting up libcc1-0:amd64 (6.3.0-18+deb9u1) ... Setting up make (4.1-9.1) ... Setting up libasan3:amd64 (6.3.0-18+deb9u1) ... Setting up python-crypto (2.6.1-7) ... Setting up libcilkrts5:amd64 (6.3.0-18+deb9u1) ... Setting up python-pyasn1 (0.1.9-2) ... Setting up libubsan0:amd64 (6.3.0-18+deb9u1) ... Setting up libtsan0:amd64 (6.3.0-18+deb9u1) ... Setting up libglib2.0-0:amd64 (2.50.3-2) ... No schema files found: doing nothing. Setting up python-wheel (0.29.0-2) ... Setting up linux-libc-dev:amd64 (4.9.110-3+deb9u2) ... Setting up libdpkg-perl (1.18.25) ... Setting up python-pycurl (7.43.0-2) ... Setting up sgml-base (1.29) ... Setting up libicu57:amd64 (57.1-6+deb9u2) ... Setting up libgirepository-1.0-1:amd64 (1.50.0-1+b1) ... Setting up libxml2:amd64 (2.9.4+dfsg1-2.2+deb9u2) ... Setting up python-keyrings.alt (1.3-1) ... Setting up bzip2 (1.0.6-8.1) ... Setting up liblsan0:amd64 (6.3.0-18+deb9u1) ... Setting up libfile-fcntllock-perl (0.22-3+b2) ... Setting up python-cffi-backend (1.9.1-2) ... Setting up libmpx2:amd64 (6.3.0-18+deb9u1) ... Setting up libisl15:amd64 (0.18-1) ... Setting up gir1.2-glib-2.0:amd64 (1.50.0-1+b1) ... Setting up libglib2.0-data (2.50.3-2) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Setting up libfakeroot:amd64 (1.21-3.1) ... Setting up python-enum34 (1.1.6-1) ... Processing triggers for systemd (232-25+deb9u4) ... Setting up libpython2.7:amd64 (2.7.13-2+deb9u2) ... Setting up libalgorithm-diff-perl (1.19.03-1) ... Setting up libmpfr4:amd64 (3.1.5-1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up shared-mime-info (1.8-1+deb9u1) ... Setting up libmpc3:amd64 (1.0.3-1+b2) ... Setting up binutils (2.28-5) ... Setting up cpp-6 (6.3.0-18+deb9u1) ... Setting up libc-dev-bin (2.24-11+deb9u3) ... Setting up xml-core (0.17) ... Setting up python-ipaddress (1.0.17-1) ... Setting up manpages-dev (4.10-2) ... Setting up python-pip (9.0.1-2) ... Setting up libc6-dev:amd64 (2.24-11+deb9u3) ... Setting up python-all (2.7.13-2) ... Setting up xdg-user-dirs (0.15-2+b1) ... Setting up libitm1:amd64 (6.3.0-18+deb9u1) ... Setting up libdbus-1-3:amd64 (1.10.26-0+deb9u1) ... Setting up python-xdg (0.25-4) ... Setting up cpp (4:6.3.0-4) ... Setting up libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ... Setting up libstdc++-6-dev:amd64 (6.3.0-18+deb9u1) ... Setting up libdbus-glib-1-2:amd64 (0.108-2) ... Setting up fakeroot (1.21-3.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up gcc-6 (6.3.0-18+deb9u1) ... Setting up g++-6 (6.3.0-18+deb9u1) ... Setting up libalgorithm-merge-perl (0.08-3) ... Setting up python-gi (3.22.0-2) ... Setting up dpkg-dev (1.18.25) ... Setting up libalgorithm-diff-xs-perl (0.04-4+b2) ... Setting up python-cryptography (1.7.1-3) ... Setting up libexpat1-dev:amd64 (2.2.0-2+deb9u1) ... Setting up libpython2.7-dev:amd64 (2.7.13-2+deb9u2) ... Setting up dbus (1.10.26-0+deb9u1) ... Setting up python-dbus (1.2.4-1+b1) ... Remove stale byte-compiled files... Setting up python2.7-dev (2.7.13-2+deb9u2) ... Setting up python-secretstorage (2.3.1-2) ... Setting up libpython-dev:amd64 (2.7.13-2) ... Setting up python-keyring (10.1-1) ... Setting up python-dev (2.7.13-2) ... Setting up libpython-all-dev:amd64 (2.7.13-2) ... Setting up gcc (4:6.3.0-4) ... Setting up python-paramiko (2.0.0-1) ... Setting up python-all-dev (2.7.13-2) ... Setting up g++ (4:6.3.0-4) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode Setting up build-essential (12.3) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for sgml-base (1.29) ... Processing triggers for systemd (232-25+deb9u4) ... straisand-user@instance-1:~$ sudo pip install ansible markupsafe Collecting ansible Downloading https://files.pythonhosted.org/packages/27/b2/91e7300aaa387538c4fa843db981d254a8903d5d5e807771f348a1981941/ansible-2.6.2.tar.gz (10.7MB) 100% |████████████████████████████████| 10.7MB 106kB/s Collecting markupsafe Downloading https://files.pythonhosted.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz Collecting PyYAML (from ansible) Downloading https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz (270kB) 100% |████████████████████████████████| 276kB 4.0MB/s Requirement already satisfied: cryptography in /usr/lib/python2.7/dist-packages (from ansible) Collecting jinja2 (from ansible) Downloading https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl (126kB) 100% |████████████████████████████████| 133kB 7.7MB/s Requirement already satisfied: paramiko in /usr/lib/python2.7/dist-packages (from ansible) Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from ansible) Building wheels for collected packages: ansible, markupsafe, PyYAML Running setup.py bdist_wheel for ansible ... done Stored in directory: /root/.cache/pip/wheels/ee/bb/83/d2e5018bb8c0fd20fff2c831a64d4ef1e79650ed15bfb3f291 Running setup.py bdist_wheel for markupsafe ... done Stored in directory: /root/.cache/pip/wheels/33/56/20/ebe49a5c612fffe1c5a632146b16596f9e64676768661e4e46 Running setup.py bdist_wheel for PyYAML ... done Stored in directory: /root/.cache/pip/wheels/ad/da/0c/74eb680767247273e2cf2723482cb9c924fe70af57c334513f Successfully built ansible markupsafe PyYAML Installing collected packages: PyYAML, markupsafe, jinja2, ansible Successfully installed PyYAML-3.13 ansible-2.6.2 jinja2-2.10 markupsafe-1.0 straisand-user@instance-1:~$ sudo pip install "apache-libcloud>=1.17.0" Collecting apache-libcloud>=1.17.0 Downloading https://files.pythonhosted.org/packages/56/28/45a9d3bba612fc3f47ef085a14446a4f68f45ce10070562edff1e9291150/apache_libcloud-2.3.0-py2.py3-none-any.whl (4.9MB) 100% |████████████████████████████████| 4.9MB 245kB/s Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages (from apache-libcloud>=1.17.0) Installing collected packages: apache-libcloud Successfully installed apache-libcloud-2.3.0 straisand-user@instance-1:~$ git clone https://github.com/StreisandEffect/streisand.git && cd streisand Cloning into 'streisand'... remote: Counting objects: 10799, done. remote: Compressing objects: 100% (8/8), done. remote: Total 10799 (delta 0), reused 2 (delta 0), pack-reused 10791 Receiving objects: 100% (10799/10799), 3.27 MiB | 1.13 MiB/s, done. Resolving deltas: 100% (6477/6477), done. straisand-user@instance-1:~/streisand$ ./streisand

S T R E I S A N D

Created new Streisand home directory: /home/straisand-user/.streisand Created new Streisand site vars file: /home/straisand-user/.streisand/site.yml Which provider are you using?

  1. Amazon
  2. Azure
  3. DigitalOcean
  4. Google
  5. Linode
  6. Rackspace
  7. localhost (Advanced)
  8. Existing Server (Advanced) : 4

Do you wish to customize which services Streisand will install? By saying 'no' Streisand will use the settings configured in /home/straisand-user/.streisand/site.yml

Press enter to customize your installation:

Confirmed. Customizing Streisand services.

[WARNING]: Found both group and host with same name: localhost

Enter the path to your SSH private key, or press enter for default [~/.ssh/id_rsa]: How many VPN client profiles should be generated per-service (min: 1 max: 20)? Press enter for default [5]: 20 Enable OpenConnect? Press enter for default [yes]: Enable OpenVPN? Press enter for default [yes]: Enable stunnel service (only allowed for OpenVPN)? Press enter for default [yes]: Enable Shadowsocks? Press enter for default [yes]: Enable SSH Forward User? (Note: A SOCKS proxy only user will be added, no shell). Press enter for default [yes]: Enable sshuttle? (Note: A full shell access user will be added) Press enter for default [no]: Enable tinyproxy? Press enter for default [yes]: Enable Tor? Press enter for default [yes]: Enable WireGuard? Press enter for default [yes]:

PLAY [Customize enabled Streisand services] ****

TASK [lineinfile] ** changed: [localhost]

TASK [lineinfile] ** changed: [localhost]

TASK [lineinfile] ** ok: [localhost]

TASK [lineinfile] ** ok: [localhost]

TASK [lineinfile] ** ok: [localhost]

TASK [lineinfile] ** ok: [localhost]

TASK [lineinfile] ** ok: [localhost]

TASK [lineinfile] ** ok: [localhost]

TASK [lineinfile] ** ok: [localhost]

TASK [lineinfile] ** ok: [localhost]

TASK [lineinfile] ** ok: [localhost]

PLAY RECAP ***** localhost : ok=11 changed=2 unreachable=0 failed=0

[WARNING]: Found both group and host with same name: localhost

PLAY [Perform global variables validation] *****

TASK [validation : Stat the Streisand SSH private key] ***** ok: [localhost]

TASK [validation : Fail if the Streisand SSH private key file doesn't exist] *** skipping: [localhost]

TASK [validation : Stat the Streisand SSH public key] ** ok: [localhost]

TASK [validation : Fail if the Streisand SSH public key file doesn't exist] **** skipping: [localhost]

TASK [validation : Validate that OpenVPN optional variables are rational] ** skipping: [localhost]

TASK [validation : Validate that Tinyproxy optional variables are rational] **** skipping: [localhost]

TASK [validation : Validate that sshutle optional variables are rational] ** skipping: [localhost]

TASK [validation : Validate that the maximum number of clients is set to a reasonable amount] *** skipping: [localhost]

TASK [validation : Validate that at least one VPN is specified] **** skipping: [localhost]

PLAY RECAP ***** localhost : ok=2 changed=0 unreachable=0 failed=0

[WARNING]: Found both group and host with same name: localhost

What zone should the server be located in?

  1. Central US (Iowa A)
  2. Central US (Iowa B)
  3. Central US (Iowa C)
  4. Central US (Iowa F)
  5. Eastern US (Northern Virginia A)
  6. Eastern US (Northern Virginia B)
  7. Eastern US (Northern Virginia C)
  8. Eastern US (South Carolina B)
  9. Eastern US (South Carolina C)
  10. Eastern US (South Carolina D)
  11. Western US (Oregon A)
  12. Western US (Oregon B)
  13. Western US (Oregon C)
  14. Western Europe (Belgium B)
  15. Western Europe (Belgium C)
  16. Western Europe (Belgium D)
  17. Western Europe (London A)
  18. Western Europe (London B)
  19. Western Europe (London C)
  20. Western Europe (Frankfurt A)
  21. Western Europe (Frankfurt B)
  22. Western Europe (Frankfurt C)
  23. Western Europe (Netherlands A)
  24. Western Europe (Netherlands B)
  25. Western Europe (Netherlands C)
  26. East Asia (Taiwan A)
  27. East Asia (Taiwan B)
  28. East Asia (Taiwan C)
  29. Northeast Asia (Tokyo A)
  30. Northeast Asia (Tokyo B)
  31. Northeast Asia (Tokyo C)
  32. South Asia (Mumbai A)
  33. South Asia (Mumbai B)
  34. South Asia (Mumbai C)
  35. Southeast Asia (Singapore A)
  36. Southeast Asia (Singapore B)
  37. Southeast Australia (Sydney A)
  38. Southeast Australia (Sydney B)
  39. Southeast Australia (Sydney C)
  40. South America (São Paulo A)
  41. South America (São Paulo B)
  42. South America (São Paulo C) Please choose the number of your zone. Press enter for default (#3) zone.

What should the server be named? Press enter for default (streisand). [streisand]:

The full path of your unique service account credentials file. Details on generating this can be found at https://docs.ansible.com/ansible/guide_gce.html#credentials and https://support.google.com/cloud/answer/6158849?hl=en&ref_topic=6262490#serviceaccounts [/home/straisand-user/streisand.json]:

Streisand will now set up your server. This process usually takes around ten minutes. Press Enter to begin setup... :

PLAY [Provision the GCE Server] ****

TASK [Gathering Facts] ***** ok: [localhost]

TASK [Set the Google Compute Engine Zone interactive] ** ok: [localhost]

TASK [Register JSON file contents] ***** ok: [localhost]

TASK [Set JSON file contents fact] ***** ok: [localhost]

TASK [Set the Google Compute Engine Service Account Email] ***** ok: [localhost]

TASK [Set the Google Compute Engine Project ID] **** ok: [localhost]

TASK [gce-network : Create network] **** ok: [localhost]

TASK [gce-network : Open the SSH port in the GCE firewall] ***** ok: [localhost]

TASK [gce-network : Open the Nginx port in the GCE firewall] *** ok: [localhost]

TASK [gce-network : Open HTTP port for Let's Encrypt in the GCE firewall] ** ok: [localhost]

TASK [gce-network : Open necessary Tor ports in the GCE firewall] ** ok: [localhost]

TASK [gce-network : Open the OpenConnect (ocserv) port in the GCE firewall] **** ok: [localhost]

TASK [gce-network : Open the OpenVPN ports in the GCE firewall] **** ok: [localhost]

TASK [gce-network : Open the OpenVPN stunnel port in the GCE firewall] ***** ok: [localhost]

TASK [gce-network : Open the Shadowsocks ports in the GCE firewall] **** ok: [localhost]

TASK [gce-network : Open the WireGuard port in the GCE firewall] *** ok: [localhost]

TASK [genesis-google : set_fact] *** ok: [localhost]

TASK [genesis-google : Get the ~/.ssh/id_rsa.pub contents] ***** ok: [localhost]

TASK [genesis-google : Create the GCE instance] **** changed: [localhost]

TASK [genesis-google : Wait until the server has finished booting and OpenSSH is accepting connections] *** ok: [localhost]

TASK [genesis-google : Create the in-memory inventory group] *** changed: [localhost]

TASK [genesis-google : Set the streisand_ipv4_address variable] **** ok: [localhost]

TASK [genesis-google : Set the streisand_server_name variable] ***** ok: [localhost]

PLAY [Configure Ansible SSH] ***

TASK [set_fact] **** ok: [35.240.37.165]

PLAY [Checking instance status] ****

TASK [Wait for cloud-init to complete] ***** ok: [35.240.37.165]

PLAY [Prepare the new server for Ansible] **

TASK [Install Python using a raw SSH command to enable the execution of Ansible modules] *** changed: [35.240.37.165] Do you have a fully qualified domain pointed at your Streisand server?

This is an optional question. If you have a domain that points to your Streisand server, the installation scripts can request a Let's Encrypt HTTPS certificate for you automatically. If you do not provide one or the request fails, a self-signed certificate will be used instead.

If you have just created a new cloud server in previous steps now is a good time to point your fully qualified domain to your server's public address. Make sure the fully qualified domain resolves to the correct IP address before proceeding.

Please type your fully qualified domain below. Press enter to skip. : Which email address do you want to use as a contact for the Streisand server's Let's Encrypt certificate?

This is an optional question. If you supply an email address Let's Encrypt will send you important (but infrequent) notifications about your certificate. These messages include any upcoming certificate expirations, and important changes to the Let's Encrypt service. The email provided will not be used for anything else or shared with the Streisand developers.

Please type your contact email below. Press enter to skip. :

PLAY [Collect information about the Streisand domain] **

TASK [Set Streisand domain] **** skipping: [35.240.37.165]

TASK [Set Streisand admin email] *** ok: [35.240.37.165]

TASK [Enable Let's Encrypt role] *** skipping: [35.240.37.165]

TASK [Disable Let's Encrypt role] ** ok: [35.240.37.165]

PLAY [Collect diagnostics in case of error] ****

TASK [diagnostics : Determine the git revision of the current Streisand clone] *** ok: [localhost]

TASK [diagnostics : Determine if there are untracked changes in the Streisand clone] *** ok: [localhost]

TASK [diagnostics : Produce the diagnostics markdown file to share if there is an error] *** changed: [localhost]

PLAY [Configure the Server and install required software] **

TASK [Gathering Facts] ***** ok: [35.240.37.165]

TASK [common : Warn users if the server's Linux distribution is not Ubuntu 16.04] *** skipping: [35.240.37.165]

TASK [common : Set the streisand_ipv4_address variable to the value provided by a 'genesis' role if one is defined] *** ok: [35.240.37.165]

TASK [common : Set the streisand_ipv4_address variable to the default value if it doesn't already have one. The default is the value defined in the inventory file, which should be the IP address of the server that is being configured.] *** skipping: [35.240.37.165]

TASK [common : Set the streisand_server_name variable to the value provided by a 'genesis' role if one is defined] *** ok: [35.240.37.165]

TASK [common : Set the streisand_server_name variable to the default value if it doesn't already have one. The default is the value of the hostname retrieved from the server that is being configured.] *** skipping: [35.240.37.165]

TASK [common : Ensure the APT cache is up to date] ***** ok: [35.240.37.165]

TASK [common : Install Streisand common packages] ** changed: [35.240.37.165] => (item=[u'apparmor', u'apt-transport-https', u'aptitude', u'build-essential', u'curl', u'expect', u'gnupg', u'iptables', u'markdown', u'ntp', u'python-pexpect', u'python-software-properties', u'qrencode', u'unattended-upgrades', u'uuid'])

TASK [common : Purge unneeded services] **** changed: [35.240.37.165] => (item=[u'lxd', u'snapd'])

TASK [common : Perform a full system upgrade] ** ok: [35.240.37.165]

TASK [common : Copy the English BIP-0039 wordlist] ***** changed: [35.240.37.165]

TASK [common : Generate random VPN client names] *** changed: [35.240.37.165] => (item=1) changed: [35.240.37.165] => (item=2) changed: [35.240.37.165] => (item=3) changed: [35.240.37.165] => (item=4) changed: [35.240.37.165] => (item=5) changed: [35.240.37.165] => (item=6) changed: [35.240.37.165] => (item=7) changed: [35.240.37.165] => (item=8) changed: [35.240.37.165] => (item=9) changed: [35.240.37.165] => (item=10) changed: [35.240.37.165] => (item=11) changed: [35.240.37.165] => (item=12) changed: [35.240.37.165] => (item=13) changed: [35.240.37.165] => (item=14) changed: [35.240.37.165] => (item=15) changed: [35.240.37.165] => (item=16) changed: [35.240.37.165] => (item=17) changed: [35.240.37.165] => (item=18) changed: [35.240.37.165] => (item=19) changed: [35.240.37.165] => (item=20)

TASK [common : Ensure the Streisand gateway directory exists] ** changed: [35.240.37.165]

TASK [common : Output the random VPN client names to disk for integration tests] *** skipping: [35.240.37.165]

TASK [common : Copy the HTML header and footer templates that are used during documentation generation] *** changed: [35.240.37.165] => (item={u'dest': u'/tmp/header.html', u'src': u'header.html'}) changed: [35.240.37.165] => (item={u'dest': u'/tmp/footer.html', u'src': u'footer.html'})

TASK [common : Generate the unattended-upgrades templates to enable automatic security updates] *** ok: [35.240.37.165] => (item={u'dest': u'/etc/apt/apt.conf.d/20auto-upgrades', u'src': u'20auto-upgrades.j2'}) changed: [35.240.37.165] => (item={u'dest': u'/etc/apt/apt.conf.d/50unattended-upgrades', u'src': u'50unattended-upgrades.j2'})

TASK [include_role : sysctl] ***

TASK [sysctl : Apply custom sysctl values] ***** changed: [35.240.37.165] => (item={u'value': 0, u'key': u'kernel.sysrq'}) changed: [35.240.37.165] => (item={u'value': 1, u'key': u'kernel.core_uses_pid'}) changed: [35.240.37.165] => (item={u'value': 1, u'key': u'net.ipv4.tcp_syncookies'}) changed: [35.240.37.165] => (item={u'value': 65536, u'key': u'kernel.msgmnb'}) changed: [35.240.37.165] => (item={u'value': 65536, u'key': u'kernel.msgmax'}) changed: [35.240.37.165] => (item={u'value': 68719476736, u'key': u'kernel.shmmax'}) changed: [35.240.37.165] => (item={u'value': 4294967296, u'key': u'kernel.shmall'}) changed: [35.240.37.165] => (item={u'value': 0, u'key': u'net.ipv4.conf.all.accept_source_route'}) changed: [35.240.37.165] => (item={u'value': 0, u'key': u'net.ipv4.conf.default.accept_source_route'}) changed: [35.240.37.165] => (item={u'value': 1, u'key': u'net.ipv4.conf.all.log_martians'}) changed: [35.240.37.165] => (item={u'value': 1, u'key': u'net.ipv4.conf.default.log_martians'}) changed: [35.240.37.165] => (item={u'value': 0, u'key': u'net.ipv4.conf.all.accept_redirects'}) changed: [35.240.37.165] => (item={u'value': 0, u'key': u'net.ipv4.conf.default.accept_redirects'}) changed: [35.240.37.165] => (item={u'value': 0, u'key': u'net.ipv4.conf.all.send_redirects'}) changed: [35.240.37.165] => (item={u'value': 0, u'key': u'net.ipv4.conf.default.send_redirects'}) changed: [35.240.37.165] => (item={u'value': 0, u'key': u'net.ipv4.conf.all.rp_filter'}) changed: [35.240.37.165] => (item={u'value': 0, u'key': u'net.ipv4.conf.default.rp_filter'}) changed: [35.240.37.165] => (item={u'value': 1, u'key': u'net.ipv4.icmp_echo_ignore_broadcasts'}) changed: [35.240.37.165] => (item={u'value': 1, u'key': u'net.ipv4.icmp_ignore_bogus_error_responses'}) changed: [35.240.37.165] => (item={u'value': 0, u'key': u'net.ipv4.conf.all.secure_redirects'}) changed: [35.240.37.165] => (item={u'value': 0, u'key': u'net.ipv4.conf.default.secure_redirects'}) changed: [35.240.37.165] => (item={u'value': 1, u'key': u'kernel.randomize_va_space'}) changed: [35.240.37.165] => (item={u'value': 12582912, u'key': u'net.core.wmem_max'}) changed: [35.240.37.165] => (item={u'value': 12582912, u'key': u'net.core.rmem_max'}) changed: [35.240.37.165] => (item={u'value': 0, u'key': u'fs.suid_dumpable'}) changed: [35.240.37.165] => (item={u'value': 1, u'key': u'fs.protected_hardlinks'}) changed: [35.240.37.165] => (item={u'value': 1, u'key': u'fs.protected_symlinks'})

TASK [gpg : Install GnuPG 2, dirmngr and gpgv2] **** changed: [35.240.37.165] => (item=[u'gnupg2', u'dirmngr', u'gpgv2'])

TASK [gpg : Create the GPG directory] ** changed: [35.240.37.165]

TASK [gpg : Create the Streisand GPG directory] **** changed: [35.240.37.165]

TASK [gpg : Create the Streisand GPG keys directory] *** changed: [35.240.37.165]

TASK [gpg : Write the Streisand GPG dirmngr config] **** changed: [35.240.37.165]

TASK [gpg : Ensure a GPG agent is running] ***** fatal: [35.240.37.165]: FAILED! => {"changed": true, "cmd": ["gpgconf", "--launch", "gpg-agent"], "delta": "0:00:08.526378", "end": "2018-08-15 08:09:47.512725", "msg": "non-zero return code", "rc": 1, "start": "2018-08-15 08:09:38.986347", "stderr": "gpgconf: error running '/usr/bin/gpg-connect-agent': exit status 1\ngpgconf: error running '/usr/bin/gpg-connect-agent NOP': General error", "stderr_lines": ["gpgconf: error running '/usr/bin/gpg-connect-agent': exit status 1", "gpgconf: error running '/usr/bin/gpg-connect-agent NOP': General error"], "stdout": "", "stdout_lines": []} to retry, use: --limit @/home/straisand-user/streisand/playbooks/google.retry

PLAY RECAP ***** 35.240.37.165 : ok=23 changed=14 unreachable=0 failed=1 localhost : ok=26 changed=3 unreachable=0 failed=0

straisand-user@instance-1:~/streisand$ `

nopdotcom commented 6 years ago

This is an install where you spun up a clean Debian instance on GCE, then used it to deploy Streisand to GCE? That should be supported. I'll take a look.

cpu commented 5 years ago

@nopdotcom @Greeka67 Is this issue something ongoing or should it be closed? Thanks!

cyrus104 commented 5 years ago

I just started to get this error in the last day, not sure what's changed.

I'm using aws and the latest streisand.

`TASK [gpg : Write the Streisand GPG dirmngr config] **** changed: [34.195.222.96]

TASK [gpg : Ensure a GPG agent is running] ***** fatal: [34.195.222.96]: FAILED! => {"changed": true, "cmd": ["gpgconf", "--launch", "gpg-agent"], "delta": "0:00:08.007153", "end": "2018-10-21 15:50:46.959574", "msg": "non-zero return code", "rc": 1, "start": "2018-10-21 15:50:38.952421", "stderr": "gpgconf: error running '/usr/bin/gpg-connect-agent': exit status 1\ngpgconf: error running '/usr/bin/gpg-connect-agent NOP': General error", "stderr_lines": ["gpgconf: error running '/usr/bin/gpg-connect-agent': exit status 1", "gpgconf: error running '/usr/bin/gpg-connect-agent NOP': General error"], "stdout": "", "stdout_lines": []} to retry, use: --limit @/home/user/Projects/temp/streisand/playbooks/amazon.retry

PLAY RECAP ***** 34.195.222.96 : ok=24 changed=15 unreachable=0 failed=1
localhost : ok=21 changed=9 unreachable=0 failed=0
`