Coder Social home page Coder Social logo

Comments (2)

Hachann avatar Hachann commented on June 13, 2024 2

Hello !

I added memory to the server (4 GB), and it succeeded !

Thank you.

from invidious-updater.

tmiland avatar tmiland commented on June 13, 2024

Hi,

tested on Debian 10 today:

*truncated* **click to view**

 ╔═══════════════════════════════════════════════════════════════════╗
 ║                        Invidious Update.sh                        ║
 ║               Automatic update script for Invidious               ║
 ║                      Maintained by @tmiland                       ║
 ║                          version: 1.5.9                           ║
 ╚═══════════════════════════════════════════════════════════════════╝

Thank you for using the Invidious Update.sh script.



Documentation for this script is available here: 
 ➜ https://github.com/tmiland/Invidious-Updater


Let's go through some configuration options.

Advice: Free memory: 1608 MB is less than recommended to build Invidious
Do you want to add swap space? [y/n]: n
Do you want to enter advanced options? [y/n]: n


You entered: 

 ✔ branch        : master
 ✔ domain        : invidious.tube
 ✔ ip address    : localhost
 ✔ port          : 3000
 ✔ dbname        : invidious
 ✔ dbpass        : UvUCSMWF0pfbjzaUQ0tr69T2OPMB6jI0
 ✔ https only    : false
 


Invidious is ready to be installed, press any key to continue...

➜ Downloading Invidious from GitHub
Cloning into 'invidious'...
remote: Enumerating objects: 16947, done.
remote: Counting objects: 100% (3465/3465), done.
remote: Compressing objects: 100% (522/522), done.
remote: Total 16947 (delta 3231), reused 2958 (delta 2943), pack-reused 13482
Receiving objects: 100% (16947/16947), 20.22 MiB | 11.25 MiB/s, done.
Resolving deltas: 100% (10995/10995), done.
channel_threads: 1
feed_threads: 1
db:
  user: kemal
  password: kemal
  host: localhost
  port: 5432
  dbname: invidious
full_refresh: false
https_only: false
domain:
Branch 'master' set up to track remote branch 'master' from 'origin'.
Reset branch 'master'
Your branch is up to date with 'origin/master'.
➜ Done
/home/invidious
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 UvUCSMWF0pfbjzaUQ0tr69T2OPMB6jI0 
CREATE ROLE
➜ Creating database invidious with owner kemal
CREATE DATABASE
➜ Grant all on database invidious to user kemal
GRANT
➜ Running /home/invidious/invidious/config/sql/annotations.sql 
CREATE TABLE
GRANT
➜ Running /home/invidious/invidious/config/sql/channels.sql 
CREATE TABLE
GRANT
CREATE INDEX
➜ Running /home/invidious/invidious/config/sql/channel_videos.sql 
CREATE TABLE
GRANT
CREATE INDEX
➜ Running /home/invidious/invidious/config/sql/nonces.sql 
CREATE TABLE
GRANT
CREATE INDEX
➜ Running /home/invidious/invidious/config/sql/playlists.sql 
CREATE TYPE
CREATE TABLE
GRANT
➜ Running /home/invidious/invidious/config/sql/playlist_videos.sql 
CREATE TABLE
GRANT
➜ Running /home/invidious/invidious/config/sql/session_ids.sql 
CREATE TABLE
GRANT
CREATE INDEX
➜ Running /home/invidious/invidious/config/sql/users.sql 
CREATE TABLE
GRANT
CREATE INDEX
➜ Running /home/invidious/invidious/config/sql/videos.sql 
CREATE TABLE
GRANT
CREATE INDEX
✔ Finished Database section
➜ Updating config.yml with new info...
✔ Done.
Resolving dependencies
Fetching https://github.com/will/crystal-pg.git
Fetching https://github.com/crystal-lang/crystal-sqlite3.git
Fetching https://github.com/kemalcr/kemal.git
Fetching https://github.com/iv-org/protodec.git
Fetching https://github.com/iv-org/lsquic.cr.git
Fetching https://github.com/crystal-lang/crystal-db.git
Fetching https://github.com/luislavena/radix.git
Fetching https://github.com/jeromegn/kilt.git
Fetching https://github.com/crystal-loot/exception_page.git
Installing db (0.10.1)
Installing pg (0.23.2)
Installing sqlite3 (0.18.0)
Installing radix (0.4.1)
Installing kilt (0.4.1)
Installing exception_page (0.1.5)
Installing kemal (1.0.0)
Installing protodec (0.1.4)
Installing lsquic (2.18.1-2)
Writing shard.lock
Resolving dependencies
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
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/iv-org/protodec.git
Fetching https://github.com/iv-org/lsquic.cr.git
Using db (0.10.1)
Using pg (0.23.2)
Using sqlite3 (0.18.0)
Using radix (0.4.1)
Using kilt (0.4.1)
Using exception_page (0.1.5)
Using kemal (1.0.0)
Using protodec (0.1.4)
Using lsquic (2.18.1-2)

✔ Success

✔ 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 2021-08-16 10:18:21 CEST; 44ms ago
 Main PID: 4428 (invidious)
    Tasks: 1 (limit: 2398)
   Memory: 632.0K
   CGroup: /system.slice/invidious.service
           └─4428 /home/invidious/invidious/invidious -o invidious.log

Aug 16 10:18:21 debian10-uni systemd[1]: Started Invidious (An alternative …nd).
Hint: Some lines were ellipsized, use -l to show in full.
Adding logrotate configuration...
/home/invidious/invidious/invidious.log {
    rotate 4
    weekly
    notifempty
    missingok
    compress
    minsize 1048576
}
 (done)


 ╔═══════════════════════════════════════════════════════════════════╗
 ║                        Invidious Update.sh                        ║
 ║               Automatic update script for Invidious               ║
 ║                      Maintained by @tmiland                       ║
 ║                          version: 1.5.9                           ║
 ╚═══════════════════════════════════════════════════════════════════╝




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



 ╔═══════════════════════════════════════════════════════════════════╗
 ║                        Invidious Update.sh                        ║
 ║               Automatic update script for Invidious               ║
 ║                      Maintained by @tmiland                       ║
 ║                          version: 1.5.9                           ║
 ╚═══════════════════════════════════════════════════════════════════╝

Welcome to the Invidious Update.sh script.

What do you want to do?

  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) Exit                     

Services running:
Invidious: ● active PostgreSQL: ● active  

Documentation for this script is available here: 
 ➜ https://github.com/tmiland/Invidious-Updater

Select an option [1-10]: 

Make sure you have enough memory on the VPS.

from invidious-updater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.