Hi zusammen,
auch ich kriege es einfach nicht gebacken Paperless über’s Terminal zum Laufen zu bringen. Hierzu gibt es einige Beiträge mit unterschiedlichen Lösungen nur leider kriege ich es einfach nicht hin. Ich hoffe, ihr könnt mir helfen.
Vorab, ich habe mich strikt an die Vorgaben aus der Masterclass gehalten. Mehrfach den Container Manager komplett deinstalliert und erneut installiert inkl. Löschung der Inhalte, ID im Terminal angepasst, Freigaben entsprechend Kursinhalt ALLE eingehalten… bin einfach mit meinem laienhaften IT- Latein am Ende.
Folgend sieht es im Terminal aus:
Last login: Fri Aug 2 12:13:35 on ttys000
xxxxxxx ~ % ssh xxxx@xxxxx
xxxx@xxxxx's password:
Using terminal commands to modify system configs, execute external binary
files, add files, or install unauthorized third-party apps may lead to system
damages or unexpected behavior, or cause data loss. Make sure you are aware of
the consequences of each command and proceed at your own risk.
Warning: Data should only be stored in shared folders. Data stored elsewhere
may be deleted when the system is updated/restarted.
xxxx@xxxxx:~$ cd /volume1/docker
xxxx@xxxxx:/volume1/docker$ ls
@eaDir __MACOSX paperless-ngx
xxxx@xxxxx:/volume1/docker$ cd paperless-ngx
xxxx@xxxxx:/volume1/docker/paperless-ngx$ ls
config data export media pgdata
xxxx@xxxxx:/volume1/docker/paperless-ngx$ cd config
xxxx@xxxxx:/volume1/docker/paperless-ngx/config$ id
uid=1027(Eugen) gid=100(users) groups=100(users),101(administrators),65536(Familie)
xxxx@xxxxxk:/volume1/docker/paperless-ngx/config$ vi docker-compose.env
xxxx@xxxxx:/volume1/docker/paperless-ngx/config$ sudo docker-compose pull
Password:
[+] Running 39/39
⠿ webserver Pulled 73.2s
⠿ efc2b5ad9eec Pull complete 3.8s
⠿ 60462faabbc2 Pull complete 5.5s
⠿ 11f0c4afa075 Pull complete 7.9s
⠿ d8393bf961f1 Pull complete 9.8s
⠿ e1558965ee47 Pull complete 12.1s
⠿ 31f90b56cd88 Pull complete 30.1s
⠿ ee1c97103c21 Pull complete 31.6s
⠿ 4526cbf0f5ea Pull complete 32.3s
⠿ 5fa26787a0e3 Pull complete 33.3s
⠿ 11b00bbdea08 Pull complete 34.0s
⠿ 20f2646124ff Pull complete 36.0s
⠿ 4f4fb700ef54 Pull complete 36.7s
⠿ 577aa828c9a2 Pull complete 39.6s
⠿ 6ee62717e673 Pull complete 57.3s
⠿ 1df148727421 Pull complete 59.1s
⠿ 9a6e32be8750 Pull complete 63.3s
⠿ 9c5f1e54b433 Pull complete 66.0s
⠿ broker Pulled 30.0s
⠿ 61dfa7843895 Pull complete 8.5s
⠿ 7a49cd187523 Pull complete 9.7s
⠿ 3dc3dc181121 Pull complete 11.2s
⠿ cff4e1e461a4 Pull complete 13.2s
⠿ be30164d435c Pull complete 16.5s
⠿ 629afd997f2e Pull complete 20.4s
⠿ db Pulled 53.2s
⠿ 8e8135c28017 Pull complete 11.3s
⠿ 3be82923cb81 Pull complete 15.4s
⠿ d8bb69bfc610 Pull complete 18.0s
⠿ f341c31be036 Pull complete 21.2s
⠿ 92c033323052 Pull complete 23.3s
⠿ 9904701bc6d5 Pull complete 24.4s
⠿ df2e91128297 Pull complete 25.6s
⠿ 914341ba37e9 Pull complete 36.4s
⠿ 8b880ee990a9 Pull complete 39.5s
⠿ cb2de3069d69 Pull complete 40.2s
⠿ 5bd78d233082 Pull complete 41.2s
⠿ eae53aac4f7d Pull complete 42.8s
⠿ a19fa965e15f Pull complete 44.1s
xxxx@xxxxx:/volume1/docker/paperless-ngx/config$ sudo docker-compose up
[+] Running 5/5
⠿ Network paperless_default Created 1.5s
⠿ Volume "paperless_redisdata" Created 0.4s
⠿ Container paperless-broker-1 Created 1.9s
⠿ Container paperless-db-1 Created 1.9s
⠿ Container paperless-webserver-1 Created 1.3s
Attaching to paperless-broker-1, paperless-db-1, paperless-webserver-1
paperless-broker-1 | 1:C 02 Aug 2024 10:37:43.694 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
paperless-broker-1 | 1:C 02 Aug 2024 10:37:43.694 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=1, just started
paperless-broker-1 | 1:C 02 Aug 2024 10:37:43.694 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
paperless-broker-1 | 1:M 02 Aug 2024 10:37:43.694 * monotonic clock: POSIX clock_gettime
paperless-broker-1 | 1:M 02 Aug 2024 10:37:43.695 * Running mode=standalone, port=6379.
paperless-broker-1 | 1:M 02 Aug 2024 10:37:43.695 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
paperless-broker-1 | 1:M 02 Aug 2024 10:37:43.695 # Server initialized
paperless-broker-1 | 1:M 02 Aug 2024 10:37:43.695 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
paperless-broker-1 | 1:M 02 Aug 2024 10:37:43.695 * Ready to accept connections
paperless-db-1 | The files belonging to this database system will be owned by user "postgres".
paperless-db-1 | This user must also own the server process.
paperless-db-1 |
paperless-db-1 | The database cluster will be initialized with locale "en_US.utf8".
paperless-db-1 | The default database encoding has accordingly been set to "UTF8".
paperless-db-1 | The default text search configuration will be set to "english".
paperless-db-1 |
paperless-db-1 | Data page checksums are disabled.
paperless-db-1 |
paperless-db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
paperless-db-1 | creating subdirectories ... ok
paperless-db-1 | selecting dynamic shared memory implementation ... posix
paperless-db-1 | selecting default max_connections ... 100
paperless-db-1 | selecting default shared_buffers ... 128MB
paperless-db-1 | selecting default time zone ... Etc/UTC
paperless-db-1 | creating configuration files ... ok
paperless-db-1 | running bootstrap script ... ok
paperless-db-1 | performing post-bootstrap initialization ... ok
paperless-db-1 | initdb: warning: enabling "trust" authentication for local connections
paperless-db-1 | You can change this by editing pg_hba.conf or using the option -A, or
paperless-db-1 | --auth-local and --auth-host, the next time you run initdb.
paperless-db-1 | syncing data to disk ... ok
paperless-db-1 |
paperless-db-1 |
paperless-db-1 | Success. You can now start the database server using:
paperless-db-1 |
paperless-db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
paperless-db-1 |
paperless-db-1 | waiting for server to start....2024-08-02 10:37:48.529 UTC [49] LOG: starting PostgreSQL 13.15 (Debian 13.15-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
paperless-db-1 | 2024-08-02 10:37:48.599 UTC [49] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
paperless-db-1 | .2024-08-02 10:37:49.311 UTC [50] LOG: database system was shut down at 2024-08-02 10:37:46 UTC
paperless-db-1 | 2024-08-02 10:37:49.464 UTC [49] LOG: database system is ready to accept connections
paperless-db-1 | done
paperless-db-1 | server started
paperless-webserver-1 | Paperless-ngx docker container starting...
paperless-webserver-1 | Mapping UID and GID for paperless:paperless to 1027:100
paperless-db-1 | CREATE DATABASE
paperless-db-1 |
paperless-db-1 |
paperless-db-1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
paperless-db-1 |
paperless-db-1 | waiting for server to shut down...2024-08-02 10:37:54.985 UTC [49] LOG: received fast shutdown request
paperless-db-1 | .2024-08-02 10:37:55.025 UTC [49] LOG: aborting any active transactions
paperless-db-1 | 2024-08-02 10:37:55.028 UTC [49] LOG: background worker "logical replication launcher" (PID 56) exited with exit code 1
paperless-db-1 | 2024-08-02 10:37:55.030 UTC [51] LOG: shutting down
paperless-db-1 | 2024-08-02 10:37:55.836 UTC [49] LOG: database system is shut down
paperless-db-1 | done
paperless-db-1 | server stopped
paperless-db-1 |
paperless-db-1 | PostgreSQL init process complete; ready for start up.
paperless-db-1 |
paperless-db-1 | 2024-08-02 10:37:56.597 UTC [1] LOG: starting PostgreSQL 13.15 (Debian 13.15-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
paperless-db-1 | 2024-08-02 10:37:56.597 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
paperless-db-1 | 2024-08-02 10:37:56.597 UTC [1] LOG: listening on IPv6 address "::", port 5432
paperless-webserver-1 | Creating directory /usr/src/paperless/data/index
paperless-webserver-1 | mkdir: created directory '/usr/src/paperless/data/index'
paperless-webserver-1 | Creating directory /usr/src/paperless/media/documents
paperless-webserver-1 | mkdir: created directory '/usr/src/paperless/media/documents'
paperless-webserver-1 | Creating directory /usr/src/paperless/media/documents/originals
paperless-webserver-1 | mkdir: created directory '/usr/src/paperless/media/documents/originals'
paperless-webserver-1 | Creating directory /usr/src/paperless/media/documents/thumbnails
paperless-webserver-1 | mkdir: created directory '/usr/src/paperless/media/documents/thumbnails'
paperless-webserver-1 | Creating directory scratch directory /tmp/paperless
paperless-webserver-1 | mkdir: created directory '/tmp/paperless'
paperless-webserver-1 | Adjusting permissions of paperless files. This may take a while.
paperless-webserver-1 | changed ownership of '/usr/src/paperless/data/index' from root:root to paperless:paperless
paperless-webserver-1 | changed ownership of '/usr/src/paperless/media/documents' from root:root to paperless:paperless
paperless-webserver-1 | changed ownership of '/usr/src/paperless/media/documents/originals' from root:root to paperless:paperless
paperless-webserver-1 | changed ownership of '/usr/src/paperless/media/documents/thumbnails' from root:root to paperless:paperless
paperless-webserver-1 | Waiting for PostgreSQL to start...
paperless-db-1 | 2024-08-02 10:37:57.024 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
paperless-db-1 | 2024-08-02 10:37:57.136 UTC [64] LOG: database system was shut down at 2024-08-02 10:37:55 UTC
paperless-db-1 | 2024-08-02 10:37:57.213 UTC [1] LOG: database system is ready to accept connections
paperless-webserver-1 | Connected to PostgreSQL
paperless-webserver-1 | Waiting for Redis...
paperless-webserver-1 | Redis ping #0 failed.
paperless-webserver-1 | Error: Timeout connecting to server.
paperless-webserver-1 | Waiting 5s