Skip to content

tmiland/invidious-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Invidious-Updater (And Installer)

GitHub release licence Bash

Script to install and update Invidious

1) Install Invidious          6) Start, Stop or Restart
2) Update Invidious           7) Uninstall Invidious
3) Deploy with Docker         8) Set up PostgreSQL Backup
4) Add Swap Space             9) Install Nginx
5) Run Database Maintenance  10) Install Invidious Companion
                             11) 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-companion  |-iic    Install Invidious Companion

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

Disclaimer

*** Use at own risk ***

License

MIT License Image

MIT License