Skip to content

Latest commit

 

History

History
171 lines (130 loc) · 8.42 KB

README.md

File metadata and controls

171 lines (130 loc) · 8.42 KB

Invidious-Updater (And Installer)

GitHub release licence Bash

Script to install and update Invidious

1) Install Invidious           7) Uninstall Invidious
2) Update Invidious            8) Set up PostgreSQL Backup
3) Deploy with Docker          9) Install Nginx 
4) Add Swap Space             10) Install Inv sig helper
5) Run Database Maintenance   11) Install YouTube tsg.
6) Start, Stop or Restart     12) Exit

Usage

Usage:  invidious_update.sh [options]

  If called without arguments, installs Invidious.

  --help                   |-h      Display this help and exit
  --install-invidious      |-i      Install Invidious
  --cron-update            |-c      Update Invidious with cron
  --database-maintenance   |-m      Database Maintenance
  --install-log            |-l      Activate logging
  --install-inv-sig-helper |-iish   Install Inv-sig-helper
  --install-ytsg           |-iytsg  Install YouTube trusted session generator
  --ytsg-docker            |-uytsgd Update YouTube ts tokens for Docker

Installation

To install Invidious: Note: you will be prompted to enter root password

If root password is not set, type:

sudo passwd root

Log in as root

su root
  • Latest release
    curl -sSL https://github.com/tmiland/Invidious-Updater/releases/latest/download/invidious_update.sh > invidious_update.sh && \
    chmod +x invidious_update.sh && \
    ./invidious_update.sh -i
  • Master
    curl -sSL https://tmiland.github.io/invidious-updater/invidious_update.sh > invidious_update.sh && \
    chmod +x invidious_update.sh && \
    ./invidious_update.sh -i

Invidious-Installer is sourced in the install option.

To install this script: See Install.md

invidious_update

Tested on

Debian Ubuntu
CentOS Fedora
Arch PureOS
Linux Mint

Recommendation

It is recommended to use this script on a fresh installation to avoid unwanted complications.

Testing

Tested and working on:

Debian Ubuntu CentOS Fedora Arch PureOS
  • Tested extensively on Debian 9/10/11/12

    • Docker option tested and working
  • Tested on Ubuntu 16.04/18.10/24

    • Docker option tested, not working
  • Tested on CentOS 8

    • Docker option tested and working
  • Tested on Fedora 40

    • Docker option tested and working
  • On Bash on Debian on Windows (in Gnome-Boxes)

    • Systemd not working
    • Docker option not working
  • Tested on Linux Mint 22

    • Docker option tested and working
    • See #15
  • Tested on Arch Linux

    • Docker option tested and working

    If you get permission issues, set selinux to permissive. See how to here: How do I enable or disable SELinux ?

    SELinux will be set to permissive on Fedora and CentOS

    Postgresql 11 will be installed by default in both Fedora and CentOS. (If not already installed) Postgresql will be default from repo on Fedora and CentOS

Latest install log - version: 1.4.4

install log Debian 10

Changelog

See Changelog

Compatibility and Requirements

  • Debian 8 and later
  • Ubuntu 16.04 and later
  • Linux Mint 22
  • PureOS (Not tested)
  • CentOS 8
  • Fedora 40
  • Arch Linux

Credits

Feature request and bug reports

Donations

Coindrop.to me

Web Hosting

Sign up for web hosting using this link, and receive $200 in credit over 60 days.

DigitalOcean Referral Badge

Disclaimer

*** Use at own risk ***

License

MIT License Image

MIT License