4 Jan 2022 |
TheFrenchGhosty | In reply to @samantazfox:pussthecat.org invidious exited with code 159 so what is code 159? | 14:31:41 |
TheFrenchGhosty | (in invidious) | 14:31:49 |
Samantaz Fox | idk, probably something due to Crystal | 14:32:01 |
wanion20 | In reply to @samantazfox:pussthecat.org
wanion20 what's your invidious log level? How can I check that? I dont have any environment variables specifying log level | 14:32:57 |
wanion20 | Do we have any environment-variable to set these? | 14:33:08 |
wanion20 | In reply to @samantazfox:pussthecat.org idk, probably something due to Crystal Do i need crystal installed locally? | 14:33:23 |
TheFrenchGhosty | In reply to @wanion20:matrix.org How can I check that? I dont have any environment variables specifying log level then it's the default | 14:33:26 |
TheFrenchGhosty | In reply to @wanion20:matrix.org Do i need crystal installed locally? nope | 14:33:30 |
Samantaz Fox | it's all in the compose file | 14:33:38 |
TheFrenchGhosty | wanion20: can you sent your compose file please | 14:33:44 |
TheFrenchGhosty | (upload it on privatebin) | 14:33:53 |
wanion20 | In reply to @thefrenchghosty:pussthecat.org wanion20: can you sent your compose file please Yes sir. brb | 14:33:59 |
TheFrenchGhosty | * (upload it to privatebin or whatever bin site you want) | 14:34:05 |
Samantaz Fox | add log_level: trace after domain | 14:34:15 |
TheFrenchGhosty | * wanion20: can you send your compose file please | 14:34:17 |
TheFrenchGhosty | Samantaz Fox: I'll take care of it | 14:34:23 |
TheFrenchGhosty | Samantaz Fox: Trace not debug or All? | 14:34:53 |
wanion20 | In reply to @thefrenchghosty:pussthecat.org wanion20: can you send your compose file please version: "2.4"
services:
postgres:
image: postgres:10
restart: always
networks:
- invidious
volumes:
- postgresdata:/var/lib/postgresql/data
- ./config/sql:/config/sql
- ./docker/init-invidious-db.sh:/docker-entrypoint-initdb.d/init-invidious-db.sh
environment:
POSTGRES_DB: invidious
POSTGRES_USER: kemal
POSTGRES_PASSWORD: kemal
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
invidious:
image: quay.io/invidious/invidious:latest-arm64
restart: always
networks:
- invidious
mem_limit: 1024M
cpus: 0.5
ports:
- "127.0.0.1:3000:3000"
environment:
INVIDIOUS_CONFIG: |
channel_threads: 1
check_tables: true
feed_threads: 1
db:
dbname: invidious
user: kemal
password: kemal
host: postgres
port: 5432
full_refresh: false
https_only: false
domain:
# external_port:
healthcheck:
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1
interval: 30s
timeout: 5s
retries: 2
depends_on:
- postgres
# autoheal:
# restart: always
# image: willfarrell/autoheal
# environment:
# - AUTOHEAL_CONTAINER_LABEL=all
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
volumes:
postgresdata:
networks:
invidious:
| 14:34:57 |
TheFrenchGhosty | wanion20: compose down and delete the postgres volume please | 14:35:25 |
TheFrenchGhosty | How many cores does your PI have wanion20 ? | 14:35:49 |
TheFrenchGhosty | (and how much ram) | 14:35:56 |
TheFrenchGhosty | You know what, just try that: https://bin.disroot.org/?7695b5506bd8ad6e#5chEkhWkVEPLj7aEcN3RwTzQmBgsxdZxC5SLg8PPNsBU | 14:38:23 |
TheFrenchGhosty | (compose down and delete the postgres volume before) | 14:38:40 |
wanion20 | No further information is being given by increasing the log level to trace
pi@senpi:~/Docker-Services/invidious $ docker-compose down
Removing invidious_invidious_1 ... done
Removing invidious_postgres_1 ... done
Removing network invidious_invidious
pi@senpi:~/Docker-Services/invidious $ docker volume rm invidious_postgres
Error: No such volume: invidious_postgres
pi@senpi:~/Docker-Services/invidious $ docker volume rm invidious_postgresdata
invidious_postgresdata
pi@senpi:~/Docker-Services/invidious $ docker-compose up
Creating network "invidious_invidious" with the default driver
Creating volume "invidious_postgresdata" with default driver
Creating invidious_postgres_1 ... done
Creating invidious_invidious_1 ... done
Attaching to invidious_postgres_1, invidious_invidious_1
postgres_1 | The files belonging to this database system will be owned by user "postgres".
postgres_1 | This user must also own the server process.
postgres_1 |
postgres_1 | The database cluster will be initialized with locale "en_US.utf8".
postgres_1 | The default database encoding has accordingly been set to "UTF8".
postgres_1 | The default text search configuration will be set to "english".
postgres_1 |
postgres_1 | Data page checksums are disabled.
postgres_1 |
postgres_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgres_1 | creating subdirectories ... ok
postgres_1 | selecting default max_connections ... 100
postgres_1 | selecting default shared_buffers ... 128MB
postgres_1 | selecting default timezone ... Etc/UTC
postgres_1 | selecting dynamic shared memory implementation ... posix
postgres_1 | creating configuration files ... ok
postgres_1 | running bootstrap script ... ok
postgres_1 | performing post-bootstrap initialization ... ok
postgres_1 | syncing data to disk ... ok
postgres_1 |
postgres_1 | Success. You can now start the database server using:
postgres_1 |
postgres_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres_1 |
postgres_1 |
postgres_1 | WARNING: enabling "trust" authentication for local connections
postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1 | --auth-local and --auth-host, the next time you run initdb.
postgres_1 | waiting for server to start....2022-01-04 14:37:42.613 UTC [49] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2022-01-04 14:37:42.790 UTC [50] LOG: database system was shut down at 2022-01-04 14:37:39 UTC
postgres_1 | 2022-01-04 14:37:42.840 UTC [49] LOG: database system is ready to accept connections
postgres_1 | done
postgres_1 | server started
postgres_1 | CREATE DATABASE
postgres_1 |
postgres_1 |
postgres_1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init-invidious-db.sh
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE INDEX
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE INDEX
invidious_invidious_1 exited with code 159
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE INDEX
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE INDEX
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE INDEX
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE INDEX
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE TYPE
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 |
postgres_1 | 2022-01-04 14:37:48.964 UTC [49] LOG: received fast shutdown request
postgres_1 | waiting for server to shut down....2022-01-04 14:37:49.250 UTC [49] LOG: aborting any active transactions
postgres_1 | 2022-01-04 14:37:49.257 UTC [49] LOG: worker process: logical replication launcher (PID 56) exited with exit code 1
postgres_1 | 2022-01-04 14:37:49.258 UTC [51] LOG: shutting down
postgres_1 | .2022-01-04 14:37:50.311 UTC [49] LOG: database system is shut down
postgres_1 | done
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | 2022-01-04 14:37:50.542 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2022-01-04 14:37:50.542 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2022-01-04 14:37:50.661 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2022-01-04 14:37:50.796 UTC [159] LOG: database system was shut down at 2022-01-04 14:37:50 UTC
postgres_1 | 2022-01-04 14:37:50.840 UTC [1] LOG: database system is ready to accept connections
invidious_invidious_1 exited with code 159
invidious_invidious_1 exited with code 159
invidious_invidious_1 exited with code 159
invidious_invidious_1 exited with code 159
^CGracefully stopping... (press Ctrl+C again to force)
Stopping invidious_invidious_1 ... done
Stopping invidious_postgres_1 ... done
pi@senpi:~/Docker-Services/invidious $
| 14:38:45 |
TheFrenchGhosty | In reply to @wanion20:matrix.org
No further information is being given by increasing the log level to trace
pi@senpi:~/Docker-Services/invidious $ docker-compose down
Removing invidious_invidious_1 ... done
Removing invidious_postgres_1 ... done
Removing network invidious_invidious
pi@senpi:~/Docker-Services/invidious $ docker volume rm invidious_postgres
Error: No such volume: invidious_postgres
pi@senpi:~/Docker-Services/invidious $ docker volume rm invidious_postgresdata
invidious_postgresdata
pi@senpi:~/Docker-Services/invidious $ docker-compose up
Creating network "invidious_invidious" with the default driver
Creating volume "invidious_postgresdata" with default driver
Creating invidious_postgres_1 ... done
Creating invidious_invidious_1 ... done
Attaching to invidious_postgres_1, invidious_invidious_1
postgres_1 | The files belonging to this database system will be owned by user "postgres".
postgres_1 | This user must also own the server process.
postgres_1 |
postgres_1 | The database cluster will be initialized with locale "en_US.utf8".
postgres_1 | The default database encoding has accordingly been set to "UTF8".
postgres_1 | The default text search configuration will be set to "english".
postgres_1 |
postgres_1 | Data page checksums are disabled.
postgres_1 |
postgres_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgres_1 | creating subdirectories ... ok
postgres_1 | selecting default max_connections ... 100
postgres_1 | selecting default shared_buffers ... 128MB
postgres_1 | selecting default timezone ... Etc/UTC
postgres_1 | selecting dynamic shared memory implementation ... posix
postgres_1 | creating configuration files ... ok
postgres_1 | running bootstrap script ... ok
postgres_1 | performing post-bootstrap initialization ... ok
postgres_1 | syncing data to disk ... ok
postgres_1 |
postgres_1 | Success. You can now start the database server using:
postgres_1 |
postgres_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres_1 |
postgres_1 |
postgres_1 | WARNING: enabling "trust" authentication for local connections
postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1 | --auth-local and --auth-host, the next time you run initdb.
postgres_1 | waiting for server to start....2022-01-04 14:37:42.613 UTC [49] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2022-01-04 14:37:42.790 UTC [50] LOG: database system was shut down at 2022-01-04 14:37:39 UTC
postgres_1 | 2022-01-04 14:37:42.840 UTC [49] LOG: database system is ready to accept connections
postgres_1 | done
postgres_1 | server started
postgres_1 | CREATE DATABASE
postgres_1 |
postgres_1 |
postgres_1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init-invidious-db.sh
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE INDEX
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE INDEX
invidious_invidious_1 exited with code 159
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE INDEX
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE INDEX
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE INDEX
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE INDEX
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE TYPE
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 | CREATE TABLE
postgres_1 | GRANT
postgres_1 |
postgres_1 | 2022-01-04 14:37:48.964 UTC [49] LOG: received fast shutdown request
postgres_1 | waiting for server to shut down....2022-01-04 14:37:49.250 UTC [49] LOG: aborting any active transactions
postgres_1 | 2022-01-04 14:37:49.257 UTC [49] LOG: worker process: logical replication launcher (PID 56) exited with exit code 1
postgres_1 | 2022-01-04 14:37:49.258 UTC [51] LOG: shutting down
postgres_1 | .2022-01-04 14:37:50.311 UTC [49] LOG: database system is shut down
postgres_1 | done
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | 2022-01-04 14:37:50.542 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2022-01-04 14:37:50.542 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2022-01-04 14:37:50.661 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2022-01-04 14:37:50.796 UTC [159] LOG: database system was shut down at 2022-01-04 14:37:50 UTC
postgres_1 | 2022-01-04 14:37:50.840 UTC [1] LOG: database system is ready to accept connections
invidious_invidious_1 exited with code 159
invidious_invidious_1 exited with code 159
invidious_invidious_1 exited with code 159
invidious_invidious_1 exited with code 159
^CGracefully stopping... (press Ctrl+C again to force)
Stopping invidious_invidious_1 ... done
Stopping invidious_postgres_1 ... done
pi@senpi:~/Docker-Services/invidious $
it's not here | 14:39:04 |
wanion20 |  Download image.png | 14:39:13 |
TheFrenchGhosty | Also use a bin service please :3 | 14:39:14 |
wanion20 | In reply to @thefrenchghosty:pussthecat.org (and how much ram) 4 Cores, 8gb ram | 14:39:24 |
TheFrenchGhosty | You know what, just try that: https://bin.disroot.org/?7695b5506bd8ad6e#5chEkhWkVEPLj7aEcN3RwTzQmBgsxdZxC5SLg8PPNsBU
(compose down and delete the postgres volume before) | 14:39:30 |
wanion20 | In reply to @thefrenchghosty:pussthecat.org Also use a bin service please :3 Noted will use pastebin | 14:39:32 |