Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying Lemmy latest version using ansible gives a 502 bad gateway error in browser and not able to access the forum #1804

Closed
ghost opened this issue Sep 30, 2021 · 5 comments 路 Fixed by #1805
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Sep 30, 2021

Found a bug? Please fill out the sections below. 馃憤

For front end issues, use lemmy-ui

Issue Summary

502 Bad Gateway message from nginx when deploying lemmy with ansible latest version on a fully up-to date debian 11 machine

Steps to Reproduce

  1. Deploy vps debian 11 server
  2. install certbot on server (otherwise it doesn't automatically install with ansible and gives an erorr) sudo apt install python3-certbot-nginx
  3. git clone https://github.com/LemmyNet/lemmy.git
  4. Input details in inventory
  5. ansible-playbook lemmy.yml --become
  6. Gives iptables error as shown in https://lemmy.ml/post/83553
  7. restart docker in vps server sudo service docker restart
  8. re-run the command ansible-playbook lemmy.yml --become
  9. Go to the domain of the site and it gives 502 Bad Gateway

Technical details

  • Please post your log: sudo docker-compose logs > lemmy_log.out.
root@lemmy:/srv/lemmy# cat lemmy_log.out
Attaching to lemmy_lemmy-ui_1, lemmy_lemmy_1, lemmy_postfix_1, lemmy_pictrs_1, lemmy_postgres_1
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
pictrs_1    | Sep 30 16:28:06.140 ERROR sled::config: cache capacity is limited to the cgroup memory limit: 1023819776 bytes
pictrs_1    | Sep 30 16:28:06.233  INFO actix_server::builder: Starting 1 workers
pictrs_1    | Sep 30 16:28:06.233  INFO actix_server::builder: Starting "actix-web-service-0.0.0.0:8080" service on 0.0.0.0:8080
pictrs_1    | Sep 30 16:33:37.188  INFO actix_server::builder: SIGTERM received, stopping
pictrs_1    | Sep 30 16:33:37.189  INFO actix_server::worker: Shutting down worker, 0 connections
pictrs_1    | Sep 30 16:33:39.694 ERROR sled::config: cache capacity is limited to the cgroup memory limit: 1023819776 bytes
pictrs_1    | Sep 30 16:33:39.738 ERROR sled::config: cache capacity is limited to the cgroup memory limit: 1023819776 bytes
pictrs_1    | Sep 30 16:33:39.753  INFO actix_server::builder: Starting 1 workers
pictrs_1    | Sep 30 16:33:39.754  INFO actix_server::builder: Starting "actix-web-service-0.0.0.0:8080" service on 0.0.0.0:8080
pictrs_1    | Sep 30 16:40:22.266  INFO actix_server::builder: SIGTERM received, stopping
pictrs_1    | Sep 30 16:40:22.266  INFO actix_server::worker: Shutting down worker, 0 connections
pictrs_1    | Sep 30 16:40:24.979 ERROR sled::config: cache capacity is limited to the cgroup memory limit: 1023819776 bytes
pictrs_1    | Sep 30 16:40:25.015 ERROR sled::config: cache capacity is limited to the cgroup memory limit: 1023819776 bytes
pictrs_1    | Sep 30 16:40:25.021  INFO actix_server::builder: Starting 1 workers
pictrs_1    | Sep 30 16:40:25.021  INFO actix_server::builder: Starting "actix-web-service-0.0.0.0:8080" service on 0.0.0.0:8080
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
postfix_1   | Starting Postfix Mail Transport Agent: postfix.
postfix_1   | rsyslogd:  [origin software="rsyslogd" swVersion="8.1901.0" x-pid="129" x-info="https://www.rsyslog.com"] start
postfix_1   | postfix/master[128]: daemon started -- version 3.4.14, configuration /etc/postfix
postfix_1   | Stopping Postfix Mail Transport Agent: postfixpostfix/master[128]: terminating on signal 15
postfix_1   | .
postfix_1   | Stopping OpenDKIM: No /usr/sbin/opendkim found running; none killed.
postfix_1   | opendkim.
postfix_1   | Starting Postfix Mail Transport Agent: postfix.
postfix_1   | rsyslogd:  [origin software="rsyslogd" swVersion="8.1901.0" x-pid="121" x-info="https://www.rsyslog.com"] start
postfix_1   | Stopping Postfix Mail Transport Agent: postfixpostfix/master[120]: terminating on signal 15
postfix_1   | .
postfix_1   | Stopping OpenDKIM: No /usr/sbin/opendkim found running; none killed.
postfix_1   | opendkim.
postfix_1   | Starting Postfix Mail Transport Agent: postfix.
postfix_1   | rsyslogd:  [origin software="rsyslogd" swVersion="8.1901.0" x-pid="121" x-info="https://www.rsyslog.com"] start
postfix_1   | postfix/master[120]: daemon started -- version 3.4.14, configuration /etc/postfix
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:dxAMwCEXDFAjGFWG6PQ4@localhost:5432/lemmy', src/main.rs:45:25
lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
lemmy_1     | warning: invalid logging spec 'info"', ignoring it
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
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 dynamic shared memory implementation ... posix
postgres_1  | selecting default max_connections ... 100
postgres_1  | selecting default shared_buffers ... 128MB
postgres_1  | selecting default time zone ... UTC
postgres_1  | creating configuration files ... ok
postgres_1  | running bootstrap script ... ok
postgres_1  | sh: locale: not found
postgres_1  | 2021-09-30 16:28:09.010 UTC [31] WARNING:  no usable system locales were found
postgres_1  | performing post-bootstrap initialization ... ok
postgres_1  | syncing data to disk ... ok
postgres_1  |
postgres_1  | initdb: 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  |
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  | waiting for server to start....2021-09-30 16:28:12.535 UTC [36] LOG:  starting PostgreSQL 12.8 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20210424) 10.3.1 20210424, 64-bit
postgres_1  | 2021-09-30 16:28:12.536 UTC [36] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1  | 2021-09-30 16:28:12.575 UTC [37] LOG:  database system was shut down at 2021-09-30 16:28:12 UTC
postgres_1  | 2021-09-30 16:28:12.582 UTC [36] 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: ignoring /docker-entrypoint-initdb.d/*
postgres_1  |
postgres_1  | 2021-09-30 16:28:12.949 UTC [36] LOG:  received fast shutdown request
postgres_1  | waiting for server to shut down....2021-09-30 16:28:12.951 UTC [36] LOG:  aborting any active transactions
postgres_1  | 2021-09-30 16:28:12.957 UTC [36] LOG:  background worker "logical replication launcher" (PID 43) exited with exit code 1
postgres_1  | 2021-09-30 16:28:12.957 UTC [38] LOG:  shutting down
postgres_1  | 2021-09-30 16:28:12.973 UTC [36] 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  | 2021-09-30 16:28:13.079 UTC [1] LOG:  starting PostgreSQL 12.8 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20210424) 10.3.1 20210424, 64-bit
postgres_1  | 2021-09-30 16:28:13.079 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
postgres_1  | 2021-09-30 16:28:13.079 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres_1  | 2021-09-30 16:28:13.081 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1  | 2021-09-30 16:28:13.124 UTC [50] LOG:  database system was shut down at 2021-09-30 16:28:12 UTC
postgres_1  | 2021-09-30 16:28:13.129 UTC [1] LOG:  database system is ready to accept connections
postgres_1  | 2021-09-30 16:33:37.222 UTC [1] LOG:  received fast shutdown request
postgres_1  | 2021-09-30 16:33:37.223 UTC [1] LOG:  aborting any active transactions
postgres_1  | 2021-09-30 16:33:37.225 UTC [1] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
postgres_1  | 2021-09-30 16:33:37.226 UTC [51] LOG:  shutting down
postgres_1  | 2021-09-30 16:33:37.244 UTC [1] LOG:  database system is shut down
postgres_1  |
postgres_1  | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1  |
postgres_1  | 2021-09-30 16:33:39.061 UTC [1] LOG:  starting PostgreSQL 12.8 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20210424) 10.3.1 20210424, 64-bit
postgres_1  | 2021-09-30 16:33:39.062 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
postgres_1  | 2021-09-30 16:33:39.062 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres_1  | 2021-09-30 16:33:39.063 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1  | 2021-09-30 16:33:39.088 UTC [21] LOG:  database system was shut down at 2021-09-30 16:33:37 UTC
postgres_1  | 2021-09-30 16:33:39.092 UTC [1] LOG:  database system is ready to accept connections
postgres_1  | 2021-09-30 16:40:22.293 UTC [1] LOG:  received fast shutdown request
postgres_1  | 2021-09-30 16:40:22.294 UTC [1] LOG:  aborting any active transactions
postgres_1  | 2021-09-30 16:40:22.296 UTC [1] LOG:  background worker "logical replication launcher" (PID 27) exited with exit code 1
postgres_1  | 2021-09-30 16:40:22.297 UTC [22] LOG:  shutting down
postgres_1  | 2021-09-30 16:40:22.312 UTC [1] LOG:  database system is shut down
postgres_1  |
postgres_1  | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1  |
postgres_1  | 2021-09-30 16:40:24.291 UTC [1] LOG:  starting PostgreSQL 12.8 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20210424) 10.3.1 20210424, 64-bit
postgres_1  | 2021-09-30 16:40:24.291 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
postgres_1  | 2021-09-30 16:40:24.291 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres_1  | 2021-09-30 16:40:24.294 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1  | 2021-09-30 16:40:24.321 UTC [21] LOG:  database system was shut down at 2021-09-30 16:40:22 UTC
postgres_1  | 2021-09-30 16:40:24.327 UTC [1] LOG:  database system is ready to accept connections
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
lemmy-ui_1  |
lemmy-ui_1  | /app/node_modules/node-fetch/lib/index.js:1461
lemmy-ui_1  |                   reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
lemmy-ui_1  |                          ^
lemmy-ui_1  | FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: connect ECONNREFUSED 172.18.0.5:8536
lemmy-ui_1  |     at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1461:11)
lemmy-ui_1  |     at ClientRequest.emit (node:events:390:28)
lemmy-ui_1  |     at Socket.socketErrorListener (node:_http_client:447:9)
lemmy-ui_1  |     at Socket.emit (node:events:390:28)
lemmy-ui_1  |     at emitErrorNT (node:internal/streams/destroy:157:8)
lemmy-ui_1  |     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
lemmy-ui_1  |     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
lemmy-ui_1  |   type: 'system',
lemmy-ui_1  |   errno: 'ECONNREFUSED',
lemmy-ui_1  |   code: 'ECONNREFUSED'
lemmy-ui_1  | }
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | Inferno is in development mode.
lemmy-ui_1  | httpbase: https://lemmy:8536
lemmy-ui_1  | wsUri: wss://lemmy:8536/api/v3/ws
lemmy-ui_1  | isHttps: true
lemmy-ui_1  | No JWT cookie found.
lemmy-ui_1  | http://0.0.0.0:1234
root@lemmy:/srv/lemmy# cat lemmy.hjson
{
  # for more info about the config, check out the documentation
  # https://join-lemmy.org/docs/en/administration/configuration.html

  database: {
    password: "dxAMwCEXDFAjGFWG6PQ4"
  }
  hostname: "forum.purplerabbit.xyz"
  pictrs_url: "http://pictrs:8080"
  email: {
    smtp_server: "postfix:25"
    smtp_from_address: "noreply@forum.purplerabbit.xyz"
    use_tls: false
  }
}
  • What OS are you trying to install lemmy on?

Debian 11 latest version

  • Any browser console errors?

Not that I can see

@ghost ghost added the bug Something isn't working label Sep 30, 2021
@dessalines
Copy link
Member

Couple things going on here. Your database isn't connecting, which tells me there might be something wrong with the way postgres is set up with that generated password. @Nutomic did your ansible changes affect this?

hostname: "forum.purplerabbit.xyz"

Another is that I'm fairly certain we don't support subdomains, as federation doesn't work with them anyway. Federation needs a top level domain.

@ghost
Copy link
Author

ghost commented Sep 30, 2021

So just to confirm there isn't anyway for me to setup a lemmy instance using a subdomain due to the federation?

@dessalines
Copy link
Member

Yep, ActivityPub/Fediverse services need a dedicated root domain because otherwise, you could have multiple ActivityPub services on the same domain trying to capture and interpret the same incoming messages.

@Nutomic
Copy link
Member

Nutomic commented Sep 30, 2021

@Nutomic did your ansible changes affect this?

Damn, I removed one value too much from the config. @ThePurpleRabbit, you need to add host: postgres into your config, in the database section.

Another is that I'm fairly certain we don't support subdomains, as federation doesn't work with them anyway. Federation needs a top level domain.

Subdomains are fine, the only thing is that it cant run under a path like example.com/lemmy.

@ghost
Copy link
Author

ghost commented Sep 30, 2021

Doing as @Nutomic has suggested has fixed this issue.

@ghost ghost closed this as completed Sep 30, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants