iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.18k stars 1.79k forks source link

Invidious-Updater (And Installer) #357

Closed tmiland closed 5 years ago

tmiland commented 5 years ago

Hi,

have spent the weekend created the Invidious-Updater (And Installer)

Enjoy! 😎

omarroth commented 5 years ago

Added to the README under installation and added to the list of extensions :heart: .

tmiland commented 5 years ago

Added to the README under installation and added to the list of extensions heart .

Excellent! Thank you! 😃

Currently reworking the installation. Less questions, more streamlined.

Options to set custom database user & password, database name, domain and https only true/false.

Config will be updated with new values.

User will be prompted before installation.

Here's the current install log on fresh Debian 9:

Click to expand > tommy@debian9-univ:~/Downloads$ su Password: root@debian9-univ:/home/tommy/Downloads# ls invidious_update.sh root@debian9-univ:/home/tommy/Downloads# ./invidious_update.sh ###################################################################### #### Invidious Update.sh #### #### Automatic update script for Invidio.us #### #### Maintained by @tmiland #### #### version: 1.1.1 #### ###################################################################### Welcome to the Invidious Update.sh script. What do you want to do? 1) Install Invidious 2) Update Invidious 3) Update Script 4) Install Invidious service for systemd 5) Run Database Maintenance 6) Run Database Migration 7) Exit Documentation for this script is available here: https://github.com/tmiland/Invidious-Updater Select an option [1-7]: 1 Let's go through some configuration options. Enter the desired user of your Invidious PostgreSQL database: test Enter the desired password of your Invidious PostgreSQL database: test Enter the desired database name of your Invidious PostgreSQL database: test You entered: user: test password: test name: test Is that correct? Enter y or n: y Enter the desired domain name of your Invidious instance: localhost Are you going to serve your Invidious instance on https only? Type true or false: true You entered: Domain: localhost https only: true Is that correct? Enter y or n: y Invidious is ready to be installed, press any key to continue... Ign:1 http://ftp.us.debian.org/debian stretch InRelease Hit:2 http://ftp.us.debian.org/debian stretch Release Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: git-man less libcurl3 liberror-perl patch 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 The following NEW packages will be installed: apt-transport-https curl git git-man less libcurl3 liberror-perl patch rsync sudo 0 upgraded, 10 newly installed, 0 to remove and 1 not upgraded. Need to get 8,002 kB of archives. After this operation, 36.7 MB of additional disk space will be used. Get:1 http://ftp.us.debian.org/debian stretch/main amd64 liberror-perl all 0.17024-1 [26.9 kB] Get:2 http://ftp.us.debian.org/debian stretch/main amd64 git-man all 1:2.11.0-3+deb9u4 [1,433 kB] Get:3 http://ftp.us.debian.org/debian stretch/main amd64 git amd64 1:2.11.0-3+deb9u4 [4,167 kB] Get:4 http://ftp.us.debian.org/debian stretch/main amd64 less amd64 481-2.1 [126 kB] Get:5 http://ftp.us.debian.org/debian stretch/main amd64 apt-transport-https amd64 1.4.9 [171 kB] Get:6 http://ftp.us.debian.org/debian stretch/main amd64 libcurl3 amd64 7.52.1-5+deb9u8 [292 kB] Get:7 http://ftp.us.debian.org/debian stretch/main amd64 curl amd64 7.52.1-5+deb9u8 [228 kB] Get:8 http://ftp.us.debian.org/debian stretch/main amd64 patch amd64 2.7.5-1+deb9u1 [112 kB] Get:9 http://ftp.us.debian.org/debian stretch/main amd64 rsync amd64 3.1.2-1+deb9u1 [393 kB] Get:10 http://ftp.us.debian.org/debian stretch/main amd64 sudo amd64 1.8.19p1-2.1 [1,055 kB] Fetched 8,002 kB in 13s (583 kB/s) Selecting previously unselected package liberror-perl. (Reading database ... 124001 files and directories currently installed.) Preparing to unpack .../0-liberror-perl_0.17024-1_all.deb ... Unpacking liberror-perl (0.17024-1) ... Selecting previously unselected package git-man. Preparing to unpack .../1-git-man_1%3a2.11.0-3+deb9u4_all.deb ... Unpacking git-man (1:2.11.0-3+deb9u4) ... Selecting previously unselected package git. Preparing to unpack .../2-git_1%3a2.11.0-3+deb9u4_amd64.deb ... Unpacking git (1:2.11.0-3+deb9u4) ... Selecting previously unselected package less. Preparing to unpack .../3-less_481-2.1_amd64.deb ... Unpacking less (481-2.1) ... Selecting previously unselected package apt-transport-https. Preparing to unpack .../4-apt-transport-https_1.4.9_amd64.deb ... Unpacking apt-transport-https (1.4.9) ... Selecting previously unselected package libcurl3:amd64. Preparing to unpack .../5-libcurl3_7.52.1-5+deb9u8_amd64.deb ... Unpacking libcurl3:amd64 (7.52.1-5+deb9u8) ... Selecting previously unselected package curl. Preparing to unpack .../6-curl_7.52.1-5+deb9u8_amd64.deb ... Unpacking curl (7.52.1-5+deb9u8) ... Selecting previously unselected package patch. Preparing to unpack .../7-patch_2.7.5-1+deb9u1_amd64.deb ... Unpacking patch (2.7.5-1+deb9u1) ... Selecting previously unselected package rsync. Preparing to unpack .../8-rsync_3.1.2-1+deb9u1_amd64.deb ... Unpacking rsync (3.1.2-1+deb9u1) ... Selecting previously unselected package sudo. Preparing to unpack .../9-sudo_1.8.19p1-2.1_amd64.deb ... Unpacking sudo (1.8.19p1-2.1) ... Setting up git-man (1:2.11.0-3+deb9u4) ... Setting up less (481-2.1) ... Setting up apt-transport-https (1.4.9) ... Processing triggers for mime-support (3.60) ... Setting up sudo (1.8.19p1-2.1) ... Setting up liberror-perl (0.17024-1) ... Setting up libcurl3:amd64 (7.52.1-5+deb9u8) ... 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 patch (2.7.5-1+deb9u1) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u6) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up git (1:2.11.0-3+deb9u4) ... Setting up curl (7.52.1-5+deb9u8) ... OK deb https://dist.crystal-lang.org/apt crystal main Ign:1 http://ftp.us.debian.org/debian stretch InRelease Hit:2 http://ftp.us.debian.org/debian stretch Release Get:4 https://dist.crystal-lang.org/apt crystal InRelease [2,496 B] Get:5 https://dist.crystal-lang.org/apt crystal/main amd64 Packages [447 B] Fetched 2,943 B in 1s (2,078 B/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done imagemagick is already the newest version (8:6.9.7.4+dfsg-11+deb9u6). imagemagick set to manually installed. The following additional packages will be installed: binutils gcc gcc-6 gir1.2-rsvg-2.0 icu-devtools libasan3 libc-dev-bin libc6-dev libcairo-script-interpreter2 libcairo2-dev libcc1-0 libcilkrts5 libdpkg-perl libevent-core-2.0-5 libevent-dev libevent-extra-2.0-5 libevent-openssl-2.0-5 libevent-pthreads-2.0-5 libexpat1-dev libfile-fcntllock-perl libfontconfig1-dev libfreetype6-dev libgcc-6-dev libgdk-pixbuf2.0-dev libglib2.0-dev libgmpxx4ldbl libice-dev libicu-dev libitm1 liblsan0 libmpx2 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpixman-1-dev libpng-dev libpng-tools libpthread-stubs0-dev libsm-dev libssl-doc libstdc++-6-dev libtinfo-dev libtsan0 libubsan0 libx11-dev libx11-doc libxau-dev libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxdmcp-dev libxext-dev libxrender-dev linux-libc-dev manpages manpages-dev pkg-config postgresql-9.6 postgresql-client-9.6 postgresql-client-common postgresql-common postgresql-contrib-9.6 ssl-cert sysstat x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-render-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev zlib1g-dev Suggested packages: binutils-doc gcc-multilib make autoconf automake libtool flex bison gdb gcc-doc gcc-6-multilib gcc-6-doc gcc-6-locales libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc libcairo2-doc debian-keyring libglib2.0-doc gmp-doc libgmp10-doc libmpfr-dev libice-doc icu-doc readline-doc librsvg2-doc libsm-doc sqlite3-doc libstdc++-6-doc libxcb-doc libxext-doc libyaml-doc postgresql-doc locales-all postgresql-doc-9.6 libdbd-pg-perl openssl-blacklist isag The following NEW packages will be installed: binutils crystal gcc gcc-6 gir1.2-rsvg-2.0 icu-devtools libasan3 libc-dev-bin libc6-dev libcairo-script-interpreter2 libcairo2-dev libcc1-0 libcilkrts5 libdpkg-perl libevent-core-2.0-5 libevent-dev libevent-extra-2.0-5 libevent-openssl-2.0-5 libevent-pthreads-2.0-5 libexpat1-dev libfile-fcntllock-perl libfontconfig1-dev libfreetype6-dev libgcc-6-dev libgdk-pixbuf2.0-dev libglib2.0-dev libgmp-dev libgmpxx4ldbl libice-dev libicu-dev libitm1 liblsan0 libmpx2 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpixman-1-dev libpng-dev libpng-tools libpthread-stubs0-dev libreadline-dev librsvg2-dev libsm-dev libsqlite3-dev libssl-dev libssl-doc libstdc++-6-dev libtinfo-dev libtsan0 libubsan0 libx11-dev libx11-doc libxau-dev libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxdmcp-dev libxext-dev libxml2-dev libxrender-dev libyaml-dev linux-libc-dev manpages manpages-dev pkg-config postgresql postgresql-9.6 postgresql-client-9.6 postgresql-client-common postgresql-common postgresql-contrib-9.6 ssl-cert sysstat x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-render-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev zlib1g-dev 0 upgraded, 82 newly installed, 0 to remove and 1 not upgraded. Need to get 113 MB of archives. After this operation, 495 MB of additional disk space will be used. Get:1 http://ftp.us.debian.org/debian stretch/main amd64 libpcrecpp0v5 amd64 2:8.39-3 [151 kB] Get:2 http://ftp.us.debian.org/debian stretch/main amd64 manpages all 4.10-2 [1,222 kB] Get:3 https://dist.crystal-lang.org/apt crystal/main amd64 crystal amd64 0.27.2-1 [39.8 MB] Get:4 http://ftp.us.debian.org/debian stretch/main amd64 binutils amd64 2.28-5 [3,770 kB] Get:5 http://ftp.us.debian.org/debian stretch/main amd64 libcc1-0 amd64 6.3.0-18+deb9u1 [30.6 kB] Get:6 http://ftp.us.debian.org/debian stretch/main amd64 libitm1 amd64 6.3.0-18+deb9u1 [27.3 kB] Get:7 http://ftp.us.debian.org/debian stretch/main amd64 libasan3 amd64 6.3.0-18+deb9u1 [311 kB] Get:8 http://ftp.us.debian.org/debian stretch/main amd64 liblsan0 amd64 6.3.0-18+deb9u1 [115 kB] Get:9 http://ftp.us.debian.org/debian stretch/main amd64 libtsan0 amd64 6.3.0-18+deb9u1 [257 kB] Get:10 http://ftp.us.debian.org/debian stretch/main amd64 libubsan0 amd64 6.3.0-18+deb9u1 [107 kB] Get:11 http://ftp.us.debian.org/debian stretch/main amd64 libcilkrts5 amd64 6.3.0-18+deb9u1 [40.5 kB] Get:12 http://ftp.us.debian.org/debian stretch/main amd64 libmpx2 amd64 6.3.0-18+deb9u1 [11.2 kB] Get:13 http://ftp.us.debian.org/debian stretch/main amd64 libgcc-6-dev amd64 6.3.0-18+deb9u1 [2,296 kB] Get:14 http://ftp.us.debian.org/debian stretch/main amd64 gcc-6 amd64 6.3.0-18+deb9u1 [6,900 kB] Get:15 http://ftp.us.debian.org/debian stretch/main amd64 gcc amd64 4:6.3.0-4 [5,196 B] Get:16 http://ftp.us.debian.org/debian stretch/main amd64 gir1.2-rsvg-2.0 amd64 2.40.16-1+b1 [192 kB] Get:17 http://ftp.us.debian.org/debian stretch/main amd64 icu-devtools amd64 57.1-6+deb9u2 [178 kB] Get:18 http://ftp.us.debian.org/debian stretch/main amd64 libc-dev-bin amd64 2.24-11+deb9u3 [258 kB] Get:19 http://ftp.us.debian.org/debian stretch/main amd64 linux-libc-dev amd64 4.9.130-2 [1,373 kB] Get:20 http://ftp.us.debian.org/debian stretch/main amd64 libc6-dev amd64 2.24-11+deb9u3 [2,361 kB] Get:21 http://ftp.us.debian.org/debian stretch/main amd64 libcairo-script-interpreter2 amd64 1.14.8-1 [373 kB] Get:22 http://ftp.us.debian.org/debian stretch/main amd64 libexpat1-dev amd64 2.2.0-2+deb9u1 [134 kB] Get:23 http://ftp.us.debian.org/debian stretch/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-5 [205 kB] Get:24 http://ftp.us.debian.org/debian stretch/main amd64 libpng-dev amd64 1.6.28-1 [250 kB] Get:25 http://ftp.us.debian.org/debian stretch/main amd64 libfreetype6-dev amd64 2.6.3-3.2 [5,815 kB] Get:26 http://ftp.us.debian.org/debian stretch/main amd64 libdpkg-perl all 1.18.25 [1,287 kB] Get:27 http://ftp.us.debian.org/debian stretch/main amd64 pkg-config amd64 0.29-4+b1 [63.3 kB] Get:28 http://ftp.us.debian.org/debian stretch/main amd64 libfontconfig1-dev amd64 2.11.0-6.7+b1 [897 kB] Get:29 http://ftp.us.debian.org/debian stretch/main amd64 xorg-sgml-doctools all 1:1.11-1 [21.9 kB] Get:30 http://ftp.us.debian.org/debian stretch/main amd64 x11proto-core-dev all 7.0.31-1 [728 kB] Get:31 http://ftp.us.debian.org/debian stretch/main amd64 libxau-dev amd64 1:1.0.8-1 [23.6 kB] Get:32 http://ftp.us.debian.org/debian stretch/main amd64 libxdmcp-dev amd64 1:1.1.2-3 [42.2 kB] Get:33 http://ftp.us.debian.org/debian stretch/main amd64 x11proto-input-dev all 2.3.2-1 [158 kB] Get:34 http://ftp.us.debian.org/debian stretch/main amd64 x11proto-kb-dev all 1.0.7-1 [233 kB] Get:35 http://ftp.us.debian.org/debian stretch/main amd64 xtrans-dev all 1.3.5-1 [100 kB] Get:36 http://ftp.us.debian.org/debian stretch/main amd64 libpthread-stubs0-dev amd64 0.3-4 [3,866 B] Get:37 http://ftp.us.debian.org/debian stretch/main amd64 libxcb1-dev amd64 1.12-1 [169 kB] Get:38 http://ftp.us.debian.org/debian stretch/main amd64 libx11-dev amd64 2:1.6.4-3+deb9u1 [815 kB] Get:39 http://ftp.us.debian.org/debian stretch/main amd64 x11proto-render-dev all 2:0.11.1-2 [20.8 kB] Get:40 http://ftp.us.debian.org/debian stretch/main amd64 libxrender-dev amd64 1:0.9.10-1 [40.8 kB] Get:41 http://ftp.us.debian.org/debian stretch/main amd64 x11proto-xext-dev all 7.3.0-1 [212 kB] Get:42 http://ftp.us.debian.org/debian stretch/main amd64 libxext-dev amd64 2:1.3.3-1+b2 [107 kB] Get:43 http://ftp.us.debian.org/debian stretch/main amd64 libice-dev amd64 2:1.0.9-2 [66.8 kB] Get:44 http://ftp.us.debian.org/debian stretch/main amd64 libsm-dev amd64 2:1.2.2-1+b3 [35.8 kB] Get:45 http://ftp.us.debian.org/debian stretch/main amd64 libpixman-1-dev amd64 0.34.0-1 [547 kB] Get:46 http://ftp.us.debian.org/debian stretch/main amd64 libxcb-render0-dev amd64 1.12-1 [109 kB] Get:47 http://ftp.us.debian.org/debian stretch/main amd64 libxcb-shm0-dev amd64 1.12-1 [96.9 kB] Get:48 http://ftp.us.debian.org/debian stretch/main amd64 libpcre16-3 amd64 2:8.39-3 [258 kB] Get:49 http://ftp.us.debian.org/debian stretch/main amd64 libpcre32-3 amd64 2:8.39-3 [248 kB] Get:50 http://ftp.us.debian.org/debian stretch/main amd64 libpcre3-dev amd64 2:8.39-3 [647 kB] Get:51 http://ftp.us.debian.org/debian stretch/main amd64 libglib2.0-dev amd64 2.50.3-2 [2,984 kB] Get:52 http://ftp.us.debian.org/debian stretch/main amd64 libcairo2-dev amd64 1.14.8-1 [919 kB] Get:53 http://ftp.us.debian.org/debian stretch/main amd64 libevent-core-2.0-5 amd64 2.0.21-stable-3 [109 kB] Get:54 http://ftp.us.debian.org/debian stretch/main amd64 libevent-extra-2.0-5 amd64 2.0.21-stable-3 [90.2 kB] Get:55 http://ftp.us.debian.org/debian stretch/main amd64 libevent-pthreads-2.0-5 amd64 2.0.21-stable-3 [43.8 kB] Get:56 http://ftp.us.debian.org/debian stretch/main amd64 libevent-openssl-2.0-5 amd64 2.0.21-stable-3 [49.8 kB] Get:57 http://ftp.us.debian.org/debian stretch/main amd64 libevent-dev amd64 2.0.21-stable-3 [249 kB] Get:58 http://ftp.us.debian.org/debian stretch/main amd64 libfile-fcntllock-perl amd64 0.22-3+b2 [35.3 kB] Get:59 http://ftp.us.debian.org/debian stretch/main amd64 libgdk-pixbuf2.0-dev amd64 2.36.5-2+deb9u2 [54.3 kB] Get:60 http://ftp.us.debian.org/debian stretch/main amd64 libgmpxx4ldbl amd64 2:6.1.2+dfsg-1 [22.2 kB] Get:61 http://ftp.us.debian.org/debian stretch/main amd64 libgmp-dev amd64 2:6.1.2+dfsg-1 [631 kB] Get:62 http://ftp.us.debian.org/debian stretch/main amd64 libstdc++-6-dev amd64 6.3.0-18+deb9u1 [1,420 kB] Get:63 http://ftp.us.debian.org/debian stretch/main amd64 libicu-dev amd64 57.1-6+deb9u2 [16.5 MB] Get:64 http://ftp.us.debian.org/debian stretch/main amd64 libpng-tools amd64 1.6.28-1 [133 kB] Get:65 http://ftp.us.debian.org/debian stretch/main amd64 libtinfo-dev amd64 6.0+20161126-1+deb9u2 [79.2 kB] Get:66 http://ftp.us.debian.org/debian stretch/main amd64 libreadline-dev amd64 7.0-3 [132 kB] Get:67 http://ftp.us.debian.org/debian stretch/main amd64 librsvg2-dev amd64 2.40.16-1+b1 [293 kB] Get:68 http://ftp.us.debian.org/debian stretch/main amd64 libsqlite3-dev amd64 3.16.2-5+deb9u1 [704 kB] Get:69 http://ftp.us.debian.org/debian stretch/main amd64 libssl-dev amd64 1.1.0f-3+deb9u2 [1,575 kB] Get:70 http://ftp.us.debian.org/debian stretch/main amd64 libssl-doc all 1.1.0f-3+deb9u2 [1,459 kB] Get:71 http://ftp.us.debian.org/debian stretch/main amd64 libx11-doc all 2:1.6.4-3+deb9u1 [2,201 kB] Get:72 http://ftp.us.debian.org/debian stretch/main amd64 libxml2-dev amd64 2.9.4+dfsg1-2.2+deb9u2 [812 kB] Get:73 http://ftp.us.debian.org/debian stretch/main amd64 libyaml-dev amd64 0.1.7-2 [56.7 kB] Get:74 http://ftp.us.debian.org/debian stretch/main amd64 manpages-dev all 4.10-2 [2,145 kB] Get:75 http://ftp.us.debian.org/debian stretch/main amd64 postgresql-client-common all 181+deb9u2 [79.2 kB] Get:76 http://ftp.us.debian.org/debian stretch/main amd64 postgresql-client-9.6 amd64 9.6.10-0+deb9u1 [1,279 kB] Get:77 http://ftp.us.debian.org/debian stretch/main amd64 ssl-cert all 1.0.39 [20.8 kB] Get:78 http://ftp.us.debian.org/debian stretch/main amd64 postgresql-common all 181+deb9u2 [217 kB] Get:79 http://ftp.us.debian.org/debian stretch/main amd64 postgresql-9.6 amd64 9.6.10-0+deb9u1 [4,348 kB] Get:80 http://ftp.us.debian.org/debian stretch/main amd64 postgresql all 9.6+181+deb9u2 [55.8 kB] Get:81 http://ftp.us.debian.org/debian stretch/main amd64 postgresql-contrib-9.6 amd64 9.6.10-0+deb9u1 [499 kB] Get:82 http://ftp.us.debian.org/debian stretch/main amd64 sysstat amd64 11.4.3-2 [360 kB] 100% [82 sysstat 19.9 kB/360 kB 6%] Fetched 113 MB in 42s (2,681 kB/s) Extracting templates from packages: 100% Preconfiguring packages ... Selecting previously unselected package libpcrecpp0v5:amd64. (Reading database ... 125065 files and directories currently installed.) Preparing to unpack .../00-libpcrecpp0v5_2%3a8.39-3_amd64.deb ... Unpacking libpcrecpp0v5:amd64 (2:8.39-3) ... Selecting previously unselected package manpages. Preparing to unpack .../01-manpages_4.10-2_all.deb ... Unpacking manpages (4.10-2) ... Selecting previously unselected package binutils. Preparing to unpack .../02-binutils_2.28-5_amd64.deb ... Unpacking binutils (2.28-5) ... Selecting previously unselected package libcc1-0:amd64. Preparing to unpack .../03-libcc1-0_6.3.0-18+deb9u1_amd64.deb ... Unpacking libcc1-0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../04-libitm1_6.3.0-18+deb9u1_amd64.deb ... Unpacking libitm1:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libasan3:amd64. Preparing to unpack .../05-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 .../06-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 .../07-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 .../08-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 .../09-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 .../10-libmpx2_6.3.0-18+deb9u1_amd64.deb ... Unpacking libmpx2:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libgcc-6-dev:amd64. Preparing to unpack .../11-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 .../12-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 .../13-gcc_4%3a6.3.0-4_amd64.deb ... Unpacking gcc (4:6.3.0-4) ... Selecting previously unselected package gir1.2-rsvg-2.0:amd64. Preparing to unpack .../14-gir1.2-rsvg-2.0_2.40.16-1+b1_amd64.deb ... Unpacking gir1.2-rsvg-2.0:amd64 (2.40.16-1+b1) ... Selecting previously unselected package icu-devtools. Preparing to unpack .../15-icu-devtools_57.1-6+deb9u2_amd64.deb ... Unpacking icu-devtools (57.1-6+deb9u2) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../16-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 .../17-linux-libc-dev_4.9.130-2_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.9.130-2) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../18-libc6-dev_2.24-11+deb9u3_amd64.deb ... Unpacking libc6-dev:amd64 (2.24-11+deb9u3) ... Selecting previously unselected package libcairo-script-interpreter2:amd64. Preparing to unpack .../19-libcairo-script-interpreter2_1.14.8-1_amd64.deb ... Unpacking libcairo-script-interpreter2:amd64 (1.14.8-1) ... Selecting previously unselected package libexpat1-dev:amd64. Preparing to unpack .../20-libexpat1-dev_2.2.0-2+deb9u1_amd64.deb ... Unpacking libexpat1-dev:amd64 (2.2.0-2+deb9u1) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../21-zlib1g-dev_1%3a1.2.8.dfsg-5_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ... Selecting previously unselected package libpng-dev:amd64. Preparing to unpack .../22-libpng-dev_1.6.28-1_amd64.deb ... Unpacking libpng-dev:amd64 (1.6.28-1) ... Selecting previously unselected package libfreetype6-dev. Preparing to unpack .../23-libfreetype6-dev_2.6.3-3.2_amd64.deb ... Unpacking libfreetype6-dev (2.6.3-3.2) ... Selecting previously unselected package libdpkg-perl. Preparing to unpack .../24-libdpkg-perl_1.18.25_all.deb ... Unpacking libdpkg-perl (1.18.25) ... Selecting previously unselected package pkg-config. Preparing to unpack .../25-pkg-config_0.29-4+b1_amd64.deb ... Unpacking pkg-config (0.29-4+b1) ... Selecting previously unselected package libfontconfig1-dev:amd64. Preparing to unpack .../26-libfontconfig1-dev_2.11.0-6.7+b1_amd64.deb ... Unpacking libfontconfig1-dev:amd64 (2.11.0-6.7+b1) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../27-xorg-sgml-doctools_1%3a1.11-1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1) ... Selecting previously unselected package x11proto-core-dev. Preparing to unpack .../28-x11proto-core-dev_7.0.31-1_all.deb ... Unpacking x11proto-core-dev (7.0.31-1) ... Selecting previously unselected package libxau-dev:amd64. Preparing to unpack .../29-libxau-dev_1%3a1.0.8-1_amd64.deb ... Unpacking libxau-dev:amd64 (1:1.0.8-1) ... Selecting previously unselected package libxdmcp-dev:amd64. Preparing to unpack .../30-libxdmcp-dev_1%3a1.1.2-3_amd64.deb ... Unpacking libxdmcp-dev:amd64 (1:1.1.2-3) ... Selecting previously unselected package x11proto-input-dev. Preparing to unpack .../31-x11proto-input-dev_2.3.2-1_all.deb ... Unpacking x11proto-input-dev (2.3.2-1) ... Selecting previously unselected package x11proto-kb-dev. Preparing to unpack .../32-x11proto-kb-dev_1.0.7-1_all.deb ... Unpacking x11proto-kb-dev (1.0.7-1) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../33-xtrans-dev_1.3.5-1_all.deb ... Unpacking xtrans-dev (1.3.5-1) ... Selecting previously unselected package libpthread-stubs0-dev:amd64. Preparing to unpack .../34-libpthread-stubs0-dev_0.3-4_amd64.deb ... Unpacking libpthread-stubs0-dev:amd64 (0.3-4) ... Selecting previously unselected package libxcb1-dev:amd64. Preparing to unpack .../35-libxcb1-dev_1.12-1_amd64.deb ... Unpacking libxcb1-dev:amd64 (1.12-1) ... Selecting previously unselected package libx11-dev:amd64. Preparing to unpack .../36-libx11-dev_2%3a1.6.4-3+deb9u1_amd64.deb ... Unpacking libx11-dev:amd64 (2:1.6.4-3+deb9u1) ... Selecting previously unselected package x11proto-render-dev. Preparing to unpack .../37-x11proto-render-dev_2%3a0.11.1-2_all.deb ... Unpacking x11proto-render-dev (2:0.11.1-2) ... Selecting previously unselected package libxrender-dev:amd64. Preparing to unpack .../38-libxrender-dev_1%3a0.9.10-1_amd64.deb ... Unpacking libxrender-dev:amd64 (1:0.9.10-1) ... Selecting previously unselected package x11proto-xext-dev. Preparing to unpack .../39-x11proto-xext-dev_7.3.0-1_all.deb ... Unpacking x11proto-xext-dev (7.3.0-1) ... Selecting previously unselected package libxext-dev:amd64. Preparing to unpack .../40-libxext-dev_2%3a1.3.3-1+b2_amd64.deb ... Unpacking libxext-dev:amd64 (2:1.3.3-1+b2) ... Selecting previously unselected package libice-dev:amd64. Preparing to unpack .../41-libice-dev_2%3a1.0.9-2_amd64.deb ... Unpacking libice-dev:amd64 (2:1.0.9-2) ... Selecting previously unselected package libsm-dev:amd64. Preparing to unpack .../42-libsm-dev_2%3a1.2.2-1+b3_amd64.deb ... Unpacking libsm-dev:amd64 (2:1.2.2-1+b3) ... Selecting previously unselected package libpixman-1-dev. Preparing to unpack .../43-libpixman-1-dev_0.34.0-1_amd64.deb ... Unpacking libpixman-1-dev (0.34.0-1) ... Selecting previously unselected package libxcb-render0-dev:amd64. Preparing to unpack .../44-libxcb-render0-dev_1.12-1_amd64.deb ... Unpacking libxcb-render0-dev:amd64 (1.12-1) ... Selecting previously unselected package libxcb-shm0-dev:amd64. Preparing to unpack .../45-libxcb-shm0-dev_1.12-1_amd64.deb ... Unpacking libxcb-shm0-dev:amd64 (1.12-1) ... Selecting previously unselected package libpcre16-3:amd64. Preparing to unpack .../46-libpcre16-3_2%3a8.39-3_amd64.deb ... Unpacking libpcre16-3:amd64 (2:8.39-3) ... Selecting previously unselected package libpcre32-3:amd64. Preparing to unpack .../47-libpcre32-3_2%3a8.39-3_amd64.deb ... Unpacking libpcre32-3:amd64 (2:8.39-3) ... Selecting previously unselected package libpcre3-dev:amd64. Preparing to unpack .../48-libpcre3-dev_2%3a8.39-3_amd64.deb ... Unpacking libpcre3-dev:amd64 (2:8.39-3) ... Selecting previously unselected package libglib2.0-dev. Preparing to unpack .../49-libglib2.0-dev_2.50.3-2_amd64.deb ... Unpacking libglib2.0-dev (2.50.3-2) ... Selecting previously unselected package libcairo2-dev. Preparing to unpack .../50-libcairo2-dev_1.14.8-1_amd64.deb ... Unpacking libcairo2-dev (1.14.8-1) ... Selecting previously unselected package libevent-core-2.0-5:amd64. Preparing to unpack .../51-libevent-core-2.0-5_2.0.21-stable-3_amd64.deb ... Unpacking libevent-core-2.0-5:amd64 (2.0.21-stable-3) ... Selecting previously unselected package libevent-extra-2.0-5:amd64. Preparing to unpack .../52-libevent-extra-2.0-5_2.0.21-stable-3_amd64.deb ... Unpacking libevent-extra-2.0-5:amd64 (2.0.21-stable-3) ... Selecting previously unselected package libevent-pthreads-2.0-5:amd64. Preparing to unpack .../53-libevent-pthreads-2.0-5_2.0.21-stable-3_amd64.deb ... Unpacking libevent-pthreads-2.0-5:amd64 (2.0.21-stable-3) ... Selecting previously unselected package libevent-openssl-2.0-5:amd64. Preparing to unpack .../54-libevent-openssl-2.0-5_2.0.21-stable-3_amd64.deb ... Unpacking libevent-openssl-2.0-5:amd64 (2.0.21-stable-3) ... Selecting previously unselected package libevent-dev. Preparing to unpack .../55-libevent-dev_2.0.21-stable-3_amd64.deb ... Unpacking libevent-dev (2.0.21-stable-3) ... Selecting previously unselected package libfile-fcntllock-perl. Preparing to unpack .../56-libfile-fcntllock-perl_0.22-3+b2_amd64.deb ... Unpacking libfile-fcntllock-perl (0.22-3+b2) ... Selecting previously unselected package libgdk-pixbuf2.0-dev. Preparing to unpack .../57-libgdk-pixbuf2.0-dev_2.36.5-2+deb9u2_amd64.deb ... Unpacking libgdk-pixbuf2.0-dev (2.36.5-2+deb9u2) ... Selecting previously unselected package libgmpxx4ldbl:amd64. Preparing to unpack .../58-libgmpxx4ldbl_2%3a6.1.2+dfsg-1_amd64.deb ... Unpacking libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-1) ... Selecting previously unselected package libgmp-dev:amd64. Preparing to unpack .../59-libgmp-dev_2%3a6.1.2+dfsg-1_amd64.deb ... Unpacking libgmp-dev:amd64 (2:6.1.2+dfsg-1) ... Selecting previously unselected package libstdc++-6-dev:amd64. Preparing to unpack .../60-libstdc++-6-dev_6.3.0-18+deb9u1_amd64.deb ... Unpacking libstdc++-6-dev:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libicu-dev. Preparing to unpack .../61-libicu-dev_57.1-6+deb9u2_amd64.deb ... Unpacking libicu-dev (57.1-6+deb9u2) ... Selecting previously unselected package libpng-tools. Preparing to unpack .../62-libpng-tools_1.6.28-1_amd64.deb ... Unpacking libpng-tools (1.6.28-1) ... Selecting previously unselected package libtinfo-dev:amd64. Preparing to unpack .../63-libtinfo-dev_6.0+20161126-1+deb9u2_amd64.deb ... Unpacking libtinfo-dev:amd64 (6.0+20161126-1+deb9u2) ... Selecting previously unselected package libreadline-dev:amd64. Preparing to unpack .../64-libreadline-dev_7.0-3_amd64.deb ... Unpacking libreadline-dev:amd64 (7.0-3) ... Selecting previously unselected package librsvg2-dev:amd64. Preparing to unpack .../65-librsvg2-dev_2.40.16-1+b1_amd64.deb ... Unpacking librsvg2-dev:amd64 (2.40.16-1+b1) ... Selecting previously unselected package libsqlite3-dev:amd64. Preparing to unpack .../66-libsqlite3-dev_3.16.2-5+deb9u1_amd64.deb ... Unpacking libsqlite3-dev:amd64 (3.16.2-5+deb9u1) ... Selecting previously unselected package libssl-dev:amd64. Preparing to unpack .../67-libssl-dev_1.1.0f-3+deb9u2_amd64.deb ... Unpacking libssl-dev:amd64 (1.1.0f-3+deb9u2) ... Selecting previously unselected package libssl-doc. Preparing to unpack .../68-libssl-doc_1.1.0f-3+deb9u2_all.deb ... Unpacking libssl-doc (1.1.0f-3+deb9u2) ... Selecting previously unselected package libx11-doc. Preparing to unpack .../69-libx11-doc_2%3a1.6.4-3+deb9u1_all.deb ... Unpacking libx11-doc (2:1.6.4-3+deb9u1) ... Selecting previously unselected package libxml2-dev:amd64. Preparing to unpack .../70-libxml2-dev_2.9.4+dfsg1-2.2+deb9u2_amd64.deb ... Unpacking libxml2-dev:amd64 (2.9.4+dfsg1-2.2+deb9u2) ... Selecting previously unselected package libyaml-dev:amd64. Preparing to unpack .../71-libyaml-dev_0.1.7-2_amd64.deb ... Unpacking libyaml-dev:amd64 (0.1.7-2) ... Selecting previously unselected package manpages-dev. Preparing to unpack .../72-manpages-dev_4.10-2_all.deb ... Unpacking manpages-dev (4.10-2) ... Selecting previously unselected package postgresql-client-common. Preparing to unpack .../73-postgresql-client-common_181+deb9u2_all.deb ... Unpacking postgresql-client-common (181+deb9u2) ... Selecting previously unselected package postgresql-client-9.6. Preparing to unpack .../74-postgresql-client-9.6_9.6.10-0+deb9u1_amd64.deb ... Unpacking postgresql-client-9.6 (9.6.10-0+deb9u1) ... Selecting previously unselected package ssl-cert. Preparing to unpack .../75-ssl-cert_1.0.39_all.deb ... Unpacking ssl-cert (1.0.39) ... Selecting previously unselected package postgresql-common. Preparing to unpack .../76-postgresql-common_181+deb9u2_all.deb ... Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' Unpacking postgresql-common (181+deb9u2) ... Selecting previously unselected package postgresql-9.6. Preparing to unpack .../77-postgresql-9.6_9.6.10-0+deb9u1_amd64.deb ... Unpacking postgresql-9.6 (9.6.10-0+deb9u1) ... Selecting previously unselected package postgresql. Preparing to unpack .../78-postgresql_9.6+181+deb9u2_all.deb ... Unpacking postgresql (9.6+181+deb9u2) ... Selecting previously unselected package postgresql-contrib-9.6. Preparing to unpack .../79-postgresql-contrib-9.6_9.6.10-0+deb9u1_amd64.deb ... Unpacking postgresql-contrib-9.6 (9.6.10-0+deb9u1) ... Selecting previously unselected package sysstat. Preparing to unpack .../80-sysstat_11.4.3-2_amd64.deb ... Unpacking sysstat (11.4.3-2) ... Selecting previously unselected package crystal. Preparing to unpack .../81-crystal_0.27.2-1_amd64.deb ... Unpacking crystal (0.27.2-1) ... Setting up manpages (4.10-2) ... Setting up libcc1-0:amd64 (6.3.0-18+deb9u1) ... Setting up libasan3:amd64 (6.3.0-18+deb9u1) ... Setting up sysstat (11.4.3-2) ... Creating config file /etc/default/sysstat with new version update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode Setting up libcairo-script-interpreter2:amd64 (1.14.8-1) ... Setting up libpthread-stubs0-dev:amd64 (0.3-4) ... Setting up libcilkrts5:amd64 (6.3.0-18+deb9u1) ... Setting up libpng-tools (1.6.28-1) ... Setting up libubsan0:amd64 (6.3.0-18+deb9u1) ... Setting up libtsan0:amd64 (6.3.0-18+deb9u1) ... Setting up libssl-dev:amd64 (1.1.0f-3+deb9u2) ... Processing triggers for libglib2.0-0:amd64 (2.50.3-2) ... Setting up xorg-sgml-doctools (1:1.11-1) ... Setting up linux-libc-dev:amd64 (4.9.130-2) ... Setting up libdpkg-perl (1.18.25) ... Setting up libtinfo-dev:amd64 (6.0+20161126-1+deb9u2) ... Setting up ssl-cert (1.0.39) ... Setting up libyaml-dev:amd64 (0.1.7-2) ... Setting up x11proto-kb-dev (1.0.7-1) ... Processing triggers for sgml-base (1.29) ... Setting up liblsan0:amd64 (6.3.0-18+deb9u1) ... Setting up libfile-fcntllock-perl (0.22-3+b2) ... Setting up pkg-config (0.29-4+b1) ... Setting up libmpx2:amd64 (6.3.0-18+deb9u1) ... Setting up xtrans-dev (1.3.5-1) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Setting up libpixman-1-dev (0.34.0-1) ... Setting up gir1.2-rsvg-2.0:amd64 (2.40.16-1+b1) ... Setting up postgresql-client-common (181+deb9u2) ... Setting up libevent-core-2.0-5:amd64 (2.0.21-stable-3) ... Processing triggers for systemd (232-25+deb9u6) ... Setting up postgresql-common (181+deb9u2) ... Adding user postgres to group ssl-cert Creating config file /etc/postgresql-common/createcluster.conf with new version Creating config file /etc/logrotate.d/postgresql-common with new version Building PostgreSQL dictionaries from installed myspell/hunspell packages... en_us Removing obsolete dictionary files: Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service → /lib/systemd/system/postgresql.service. Setting up libreadline-dev:amd64 (7.0-3) ... Setting up libx11-doc (2:1.6.4-3+deb9u1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libpcrecpp0v5:amd64 (2:8.39-3) ... Setting up libpcre32-3:amd64 (2:8.39-3) ... Setting up binutils (2.28-5) ... Setting up icu-devtools (57.1-6+deb9u2) ... Setting up libssl-doc (1.1.0f-3+deb9u2) ... Setting up libc-dev-bin (2.24-11+deb9u3) ... Setting up libpcre16-3:amd64 (2:8.39-3) ... Setting up libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-1) ... Setting up manpages-dev (4.10-2) ... Setting up libc6-dev:amd64 (2.24-11+deb9u3) ... Setting up libitm1:amd64 (6.3.0-18+deb9u1) ... Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ... Setting up libgmp-dev:amd64 (2:6.1.2+dfsg-1) ... Setting up libpcre3-dev:amd64 (2:8.39-3) ... Setting up libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ... Setting up libstdc++-6-dev:amd64 (6.3.0-18+deb9u1) ... Setting up x11proto-core-dev (7.0.31-1) ... Setting up libsqlite3-dev:amd64 (3.16.2-5+deb9u1) ... Setting up libevent-pthreads-2.0-5:amd64 (2.0.21-stable-3) ... Setting up libevent-extra-2.0-5:amd64 (2.0.21-stable-3) ... Setting up libxau-dev:amd64 (1:1.0.8-1) ... Setting up postgresql-client-9.6 (9.6.10-0+deb9u1) ... update-alternatives: using /usr/share/postgresql/9.6/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode Setting up libicu-dev (57.1-6+deb9u2) ... Setting up libglib2.0-dev (2.50.3-2) ... Setting up gcc-6 (6.3.0-18+deb9u1) ... Setting up libxml2-dev:amd64 (2.9.4+dfsg1-2.2+deb9u2) ... Setting up libevent-openssl-2.0-5:amd64 (2.0.21-stable-3) ... Setting up libevent-dev (2.0.21-stable-3) ... Setting up libxdmcp-dev:amd64 (1:1.1.2-3) ... Setting up postgresql-9.6 (9.6.10-0+deb9u1) ... Creating new cluster 9.6/main ... config /etc/postgresql/9.6/main data /var/lib/postgresql/9.6/main locale en_US.UTF-8 socket /var/run/postgresql port 5432 update-alternatives: using /usr/share/postgresql/9.6/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode Setting up libice-dev:amd64 (2:1.0.9-2) ... Setting up postgresql (9.6+181+deb9u2) ... Setting up libexpat1-dev:amd64 (2.2.0-2+deb9u1) ... Setting up libxcb1-dev:amd64 (1.12-1) ... Setting up libpng-dev:amd64 (1.6.28-1) ... Setting up x11proto-render-dev (2:0.11.1-2) ... Setting up x11proto-input-dev (2.3.2-1) ... Setting up libsm-dev:amd64 (2:1.2.2-1+b3) ... Setting up libxcb-shm0-dev:amd64 (1.12-1) ... Setting up gcc (4:6.3.0-4) ... Setting up libxcb-render0-dev:amd64 (1.12-1) ... Setting up x11proto-xext-dev (7.3.0-1) ... Setting up postgresql-contrib-9.6 (9.6.10-0+deb9u1) ... Setting up libfreetype6-dev (2.6.3-3.2) ... Setting up libx11-dev:amd64 (2:1.6.4-3+deb9u1) ... Setting up libfontconfig1-dev:amd64 (2.11.0-6.7+b1) ... Setting up crystal (0.27.2-1) ... Setting up libxrender-dev:amd64 (1:0.9.10-1) ... Setting up libgdk-pixbuf2.0-dev (2.36.5-2+deb9u2) ... Setting up libxext-dev:amd64 (2:1.3.3-1+b2) ... Setting up libcairo2-dev (1.14.8-1) ... Setting up librsvg2-dev:amd64 (2.40.16-1+b1) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u6) ... User Not Found, adding user Adding user `invidious' to group `sudo' ... Adding user invidious to group sudo Done. Downloading Invidious from GitHub Cloning into 'invidious'... remote: Enumerating objects: 27, done. remote: Counting objects: 100% (27/27), done. remote: Compressing objects: 100% (20/20), done. remote: Total 6703 (delta 9), reused 19 (delta 7), pack-reused 6676 Receiving objects: 100% (6703/6703), 3.60 MiB | 2.07 MiB/s, done. Resolving deltas: 100% (4026/4026), done. Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable postgresql Creating user kemal with password test CREATE ROLE Creating user test with password test CREATE ROLE Creating user invidious with password test CREATE ROLE Creating database test with owner kemal CREATE DATABASE Grant all on database test to user test GRANT Grant all on database test to user invidious GRANT Running channels.sql CREATE TABLE GRANT CREATE INDEX Running videos.sql CREATE TABLE GRANT CREATE INDEX Running channel_videos.sql CREATE TABLE GRANT CREATE INDEX CREATE INDEX Running users.sql CREATE TABLE GRANT CREATE INDEX Running session_ids.sql CREATE TABLE GRANT CREATE INDEX Running nonces.sql CREATE TABLE GRANT CREATE INDEX Finished Database section Updating config.yml with new info... Done updating config.yml with new info! Fetching https://github.com/detectlanguage/detectlanguage-crystal.git Fetching https://github.com/kemalcr/kemal.git Fetching https://github.com/luislavena/radix.git Fetching https://github.com/jeromegn/kilt.git Fetching https://github.com/crystal-loot/exception_page.git Fetching https://github.com/will/crystal-pg.git Fetching https://github.com/crystal-lang/crystal-db.git Fetching https://github.com/crystal-lang/crystal-sqlite3.git Installing detect_language (0.1.0 at 0.2.0) Installing kemal (0.24.0 at afd17fc) Installing radix (0.3.9) Installing kilt (0.4.0) Installing exception_page (0.1.2) Installing pg (0.15.0) Installing db (0.5.1) Installing sqlite3 (0.10.0) Created symlink /etc/systemd/system/multi-user.target.wants/invidious.service → /lib/systemd/system/invidious.service. Invidious service has been successfully installed! ● invidious.service - Invidious (An alternative YouTube front-end) Loaded: loaded (/lib/systemd/system/invidious.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2019-02-11 21:48:04 CET; 53ms ago Main PID: 16678 (invidious) Tasks: 8 (limit: 4915) CGroup: /system.slice/invidious.service └─16678 /home/invidious/invidious/invidious -o invidious.log Feb 11 21:48:04 debian9-univ systemd[1]: Started Invidious (An alternative YouTube front-end). ###################################################################### #### Invidious Update.sh #### #### Automatic update script for Invidio.us #### #### Maintained by @tmiland #### #### version: 1.1.1 #### ###################################################################### Thank you for using the Invidious Update.sh script. Invidious install done. Now visit http://localhost:3000 Documentation for this script is available here: https://github.com/tmiland/Invidious-Updater root@debian9-univ:/home/tommy/Downloads#

Config file looks like this:

Click to expand > video_threads: 0 > crawl_threads: 0 > channel_threads: 1 > feed_threads: 1 > db: > user: test > password: test > host: localhost > port: 5432 > dbname: test > full_refresh: false > https_only: true > domain: localhost
omarroth commented 5 years ago

Fantastic! I'm going to close this, but If there's any changes that need to be made to the README feel free to open a PR or a new issue.

tmiland commented 5 years ago

Will do sir!

Just pushed new version with uninstall option. 🤓 👍