.github/ISSUE_TEMPLATE | ||
img | ||
log | ||
_config.yml | ||
.gitattributes | ||
.gitignore | ||
CHANGELOG.md | ||
invidious_update.sh | ||
invidious-updater_amd64.deb | ||
invidious-updater_i386.deb | ||
LICENSE | ||
README.md |
0tube-Updater (And Installer)
- CURRENTLY NOT WORKING AND WIP
╔═══════════════════════════════════════════════════════════════════╗
║ Invidious Update.sh ║
║ Automatic update script for Invidio.us ║
║ Maintained by @tmiland ║
║ version: 1.4.8 ║
╚═══════════════════════════════════════════════════════════════════╝
Script to install and update Invidious
- Install Invidious
- Update Invidious
- Deploy Invidious with Docker
- Add Swap Space
- Run database maintenance
- Start, Stop or Restart Invidious
- Uninstall Invidious
Screenshots
Debian | Ubuntu |
---|---|
CentOS | Fedora |
---|---|
Arch |
---|
Recommendation
It is recommended to use this script on a fresh installation to avoid unwanted complications.
- I recommend a Debian 10 Droplet on DigitalOcean
Installation
Download and execute the script:
For latest release
curl -s https://api.github.com/repos/tmiland/Invidious-Updater/releases/latest \
| grep "browser_download_url.*sh" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -qi -
$ chmod +x invidious_update.sh
$ ./invidious_update.sh
For master branch
$ wget https://github.com/tmiland/Invidious-Updater/raw/master/invidious_update.sh
$ chmod +x invidious_update.sh
$ ./invidious_update.sh
Check for script update (Default "no")
$ ./invidious_update.sh -u
Note: you will be prompted to enter root password
If root password is not set, type:
sudo passwd root
Usage
- 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
-
-
Add Swap Space
- Easy option to add Swap Space from external script Credit: swap-add
-
Run database maintenance
- Database maintenance option Database Information and Maintenance
-
Start, Stop or Restart Invidious
-
Uninstall Invidious
-
Set up PostgreSQL Backup
-
Exit
- Exits the script
Testing
Tested and working on:
Debian | Ubuntu | CentOS | Fedora | Arch |
---|---|---|---|---|
-
Tested extensively on Debian 9/10
- 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
-
Tested on Linux Mint.
- 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 ?
Postgresql 11 will be installed by default in both Fedora and CentOS. (If not already installed)
Latest install log - version: 1.4.4
Todo
On the todo list:
- Nothing to do.
Changelog
See Changelog
Possible options
Ideas:
- Support for auto-update check
- For Invidious
Compatibility and Requirements
- Debian 8 and later
- Ubuntu 16.04 and later
- CentOS 7
- Fedora 29
- Docker support
- Arch Linux
Credits
- Code is mixed and and customized from these sources:
Feature request and bug reports
Donations
- PayPal me
- [BTC] : 3MV69DmhzCqwUnbryeHrKDQxBaM724iJC2
- [BCH] : qznnyvpxym7a8he2ps9m6l44s373fecfnv86h2vwq2
Web Hosting
Sign up for web hosting using this link, and receive $100 in credit over 60 days.
Disclaimer
*** Use at own risk ***