╔═══════════════════════════════════════════════════════════════════╗
║ Invidious Update.sh ║
║ Automatic update script for Invidio.us ║
║ Maintained by @tmiland ║
║ version: 1.2.9 ║
╚═══════════════════════════════════════════════════════════════════╝
Script to install and update Invidious
- Install Invidious
- Update Invidious
- Deploy Invidious with Docker
- Install Invidious service
- Run database maintenance
- Run database migration
- Uninstall Invidious
Debian | Ubuntu |
---|---|
![]() |
![]() |
CentOS | Fedora |
---|---|
![]() |
![]() |
$ wget https://github.com/tmiland/Invidious-Updater/raw/master/invidious_update.sh
$ chmod +x invidious_update.sh
$ ./invidious_update.sh
$ cd /home/invidious
$ git clone https://github.com/tmiland/Invidious-Updater.git
$ cd Invidious-Updater
$ chmod +x invidious_update.sh
$ ./invidious_update.sh
$ ln -s /home/invidious/Invidious-Updater/invidious_update.sh /usr/bin/invidious-updater
$ invidious-updater
Note: you will be prompted to enter root password
If root password is not set, type:
sudo passwd root
- Install invidious
-
Update Invidious
-
Let's go through some configuration options.
-
Do you want to checkout Invidious release or master?
-
- release
-
- master
-
-
Select an option [1-2]: 1
-
You entered:
- branch: release
-
Invidious is ready to be updated, press any key to continue...
-
-
Deploy Invidious with Docker
-
- Build and start cluster
-
- Start, Stop or Restart cluster
-
- Rebuild cluster
-
- Delete data and rebuild
-
- Install Docker CE
-
-
Install Invidious service
- Setup Systemd Service
-
Run database maintenance
- Database maintenance option Database Information and Maintenance
-
Run database migration
- Database migration option migrate-scripts
-
Uninstall Invidious
Tested and working on:
Debian | Ubuntu | CentOS | Fedora |
---|---|---|---|
-
Tested extensively on Debian 9
- Docker option tested and working
-
Tested on Ubuntu 16.04
- Docker option tested, not working
-
Tested on Ubuntu 18.10
- Docker option tested and working
-
Tested on CentOS 7
- Docker option tested and working
-
Tested on Fedora 29
- Docker option tested and working
-
On Bash on Debian on Windows (in Gnome-Boxes)
- Systemd not working
- Docker option not working
If you get permission issues, set selinux to permissive. See how to here: Disable SELinux or Set it to Permissive mode in Fedora 28 / 29, RHEL or CentOS
On the todo list:
- Add Imagemagick (source) to Uninstall options
What's done:
- Add Uninstallation option
- Added in version 1.1.4
- Rework the install prompts
- Done in version 1.1.5
- Add database migration option migrate-scripts
- Add database maintenance option Database Information and Maintenance
- Add option to compile imagemagick from source Issues with Captcha on Debian and Ubuntu
- Added in version 1.1.6
- Added support for Imagemagick 6 and 7, or keep current version.
- The captcha clock is working with 6 and 7, not with default pkg.
- Add Deb Packages
- Support for auto-update check
- For Script
- Added in 1.1.7
- For Script
- Rewrite the update procedure
- Done in 1.2.2
- Add support to deploy in Docker
- Added in 1.2.3
- Added support for CentOS 7
- Added in 1.2.4 (Docker option not supported yet)
- Add option for custom IP and Port
- Added in 1.2.5
- Add Docker support for CentOS
- Added in 1.2.5
- Add support for Fedora
- Added in 1.2.6
- Added prompt to install redhat-lsb/lsb-release if not installed.
- Added support for Ubuntu 18.10
- Added in 1.2.7
- Changed script update function
- Changed in 1.2.8
- Added service and docker status indicators
- Added in 1.2.9
Ideas:
- Support for auto-update check
- For Invidious
- Support for database backup
- Debian 8 and later
- Ubuntu 16.04 and later
- CentOS 7
- Fedora 29
- Docker support
- Code is mixed and and customized from these sources:
- PayPal me
- [BTC] : 3MV69DmhzCqwUnbryeHrKDQxBaM724iJC2
- [BCH] : qznnyvpxym7a8he2ps9m6l44s373fecfnv86h2vwq2
*** Use at own risk ***