This is the output from rebuilding after compressing js:
I, [2017-08-03T08:00:24.170845 #13] INFO -- : File > /usr/local/bin/discourse chmod: +x
I, [2017-08-03T08:00:24.174861 #13] INFO -- : File > /usr/local/bin/rails chmod: +x
I, [2017-08-03T08:00:24.178919 #13] INFO -- : File > /usr/local/bin/rake chmod: +x
I, [2017-08-03T08:00:24.189588 #13] INFO -- : File > /etc/update-motd.d/10-web chmod: +x
I, [2017-08-03T08:00:24.192880 #13] INFO -- : File > /etc/logrotate.d/rails chmod:
I, [2017-08-03T08:00:24.194993 #13] INFO -- : File > /etc/logrotate.d/nginx chmod:
I, [2017-08-03T08:00:24.205514 #13] INFO -- : File > /etc/runit/1.d/00-ensure-links chmod: +x
I, [2017-08-03T08:00:24.209356 #13] INFO -- : File > /root/.bash_profile chmod: 644
I, [2017-08-03T08:00:24.212819 #13] INFO -- : Replacing (?-mix:server.+{) with limit_req_zone $binary_remote_addr zone=flood:10m rate=$reqs_per_secondr/s;
limit_req_zone $binary_remote_addr zone=bot:10m rate=$reqs_per_minuter/m;
limit_req_status 429;
limit_conn_zone $binary_remote_addr zone=connperip:10m;
limit_conn_status 429;
server {
in /etc/nginx/conf.d/discourse.conf
I, [2017-08-03T08:00:24.214330 #13] INFO -- : Replacing (?-mix:location @discourse {) with location @discourse {
limit_conn connperip $conn_per_ip;
limit_req zone=flood burst=$burst_per_second nodelay;
limit_req zone=bot burst=$burst_per_minute nodelay; in /etc/nginx/conf.d/discourse.conf
I, [2017-08-03T08:00:24.223811 #13] INFO -- : > mkdir -p /shared/ssl/
I, [2017-08-03T08:00:24.226421 #13] INFO -- :
I, [2017-08-03T08:00:24.227093 #13] INFO -- : Replacing (?-mix:server.+{) with server {
listen 80;
return 301 https://$$ENV_DISCOURSE_HOSTNAME$request_uri;
}
server {
in /etc/nginx/conf.d/discourse.conf
I, [2017-08-03T08:00:24.227989 #13] INFO -- : Replacing (?m-ix:listen 80;\s+gzip on;) with listen 443 ssl http2;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA;
ssl_prefer_server_ciphers on;
ssl_ecdh_curve secp384r1;
ssl_certificate /shared/ssl/ssl.crt;
ssl_certificate_key /shared/ssl/ssl.key;
ssl_session_tickets off;
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:1m;
gzip on;
add_header Strict-Transport-Security 'max-age=31536000'; # remember the certificate for a year and automatically connect to HTTPS for this domain
if ($http_host != $$ENV_DISCOURSE_HOSTNAME) {
rewrite (.*) https://$$ENV_DISCOURSE_HOSTNAME$1 permanent;
}
in /etc/nginx/conf.d/discourse.conf
I, [2017-08-03T08:00:24.237532 #13] INFO -- : > if [ -z "$LETSENCRYPT_ACCOUNT_EMAIL" ]; then echo "LETSENCRYPT_ACCOUNT_EMAIL ENV variable is required and has not been set."; exit 1; fi
I, [2017-08-03T08:00:24.246883 #13] INFO -- :
I, [2017-08-03T08:00:24.247389 #13] INFO -- : > /bin/bash -c "if [[ ! \"$LETSENCRYPT_ACCOUNT_EMAIL\" =~ ([^@]+)@([^\.]+) ]]; then echo \"LETSENCRYPT_ACCOUNT_EMAIL is not a valid email address\"; exit 1; fi"
I, [2017-08-03T08:00:24.260839 #13] INFO -- :
I, [2017-08-03T08:00:24.261971 #13] INFO -- : > cd /root && git clone https://github.com/Neilpang/acme.sh.git && cd /root/acme.sh && git reset --hard e5244cf3c04a5cad274d5a0be31ce80c336be388
Cloning into 'acme.sh'...
I, [2017-08-03T08:00:26.199630 #13] INFO -- : HEAD is now at e5244cf Merge pull request #941 from Neilpang/dev
I, [2017-08-03T08:00:26.200280 #13] INFO -- : > touch /var/spool/cron/crontabs/root
I, [2017-08-03T08:00:26.212850 #13] INFO -- :
I, [2017-08-03T08:00:26.213674 #13] INFO -- : > install -d -m 0755 -g root -o root $LETSENCRYPT_DIR
I, [2017-08-03T08:00:26.223667 #13] INFO -- :
I, [2017-08-03T08:00:26.224307 #13] INFO -- : > cd /root/acme.sh && LE_WORKING_DIR="${LETSENCRYPT_DIR}" ./acme.sh --install --log "${LETSENCRYPT_DIR}/acme.sh.log"
[Thu Aug 3 08:00:26 UTC 2017] It is recommended to install nc first, try to install 'nc' or 'netcat'.
[Thu Aug 3 08:00:26 UTC 2017] We use nc for standalone server if you use standalone mode.
[Thu Aug 3 08:00:26 UTC 2017] If you don't use standalone mode, just ignore this warning.
I, [2017-08-03T08:00:26.490394 #13] INFO -- : [Thu Aug 3 08:00:26 UTC 2017] Installing to /shared/letsencrypt
[Thu Aug 3 08:00:26 UTC 2017] Installed to /shared/letsencrypt/acme.sh
[Thu Aug 3 08:00:26 UTC 2017] Installing alias to '/root/.profile'
[Thu Aug 3 08:00:26 UTC 2017] OK, Close and reopen your terminal to start using acme.sh
[Thu Aug 3 08:00:26 UTC 2017] Installing cron job
[Thu Aug 3 08:00:26 UTC 2017] Good, bash is found, so change the shebang to use bash as preferred.
[Thu Aug 3 08:00:26 UTC 2017] OK
I, [2017-08-03T08:00:26.491153 #13] INFO -- : > cd /root/acme.sh && LE_WORKING_DIR="${LETSENCRYPT_DIR}" ./acme.sh --upgrade --auto-upgrade
[Thu Aug 3 08:00:28 UTC 2017] It is recommended to install nc first, try to install 'nc' or 'netcat'.
[Thu Aug 3 08:00:28 UTC 2017] We use nc for standalone server if you use standalone mode.
[Thu Aug 3 08:00:28 UTC 2017] If you don't use standalone mode, just ignore this warning.
I, [2017-08-03T08:00:28.306935 #13] INFO -- : [Thu Aug 3 08:00:26 UTC 2017] Installing from online archive.
[Thu Aug 3 08:00:26 UTC 2017] Downloading https://github.com/Neilpang/acme.sh/archive/master.tar.gz
[Thu Aug 3 08:00:28 UTC 2017] Extracting master.tar.gz
[Thu Aug 3 08:00:28 UTC 2017] Installing to /shared/letsencrypt
[Thu Aug 3 08:00:28 UTC 2017] Installed to /shared/letsencrypt/acme.sh
[Thu Aug 3 08:00:28 UTC 2017] Installing alias to '/root/.profile'
[Thu Aug 3 08:00:28 UTC 2017] OK, Close and reopen your terminal to start using acme.sh
[Thu Aug 3 08:00:28 UTC 2017] Good, bash is found, so change the shebang to use bash as preferred.
[Thu Aug 3 08:00:28 UTC 2017] OK
[Thu Aug 3 08:00:28 UTC 2017] Install success!
[Thu Aug 3 08:00:28 UTC 2017] Upgrade success!
I, [2017-08-03T08:00:28.309898 #13] INFO -- : File > /etc/nginx/letsencrypt.conf chmod:
I, [2017-08-03T08:00:28.313627 #13] INFO -- : File > /etc/runit/1.d/letsencrypt chmod: +x
I, [2017-08-03T08:00:28.314561 #13] INFO -- : Replacing (?-mix:ssl_certificate.+) with ssl_certificate /shared/ssl/$$ENV_DISCOURSE_HOSTNAME.cer;
in /etc/nginx/conf.d/discourse.conf
I, [2017-08-03T08:00:28.315451 #13] INFO -- : Replacing (?-mix:#?ACCOUNT_EMAIL=.+) with ACCOUNT_EMAIL=$$ENV_LETSENCRYPT_ACCOUNT_EMAIL
in /shared/letsencrypt/account.conf
I, [2017-08-03T08:00:28.316079 #13] INFO -- : Replacing (?-mix:ssl_certificate_key.+) with ssl_certificate_key /shared/ssl/$$ENV_DISCOURSE_HOSTNAME.key;
in /etc/nginx/conf.d/discourse.conf
I, [2017-08-03T08:00:28.325646 #13] INFO -- : Replacing (?-mix:add_header.+) with add_header Strict-Transport-Security 'max-age=63072000'; in /etc/nginx/conf.d/discourse.conf
I, [2017-08-03T08:00:28.326892 #13] INFO -- : Replacing (?m-ix:add_header Referrer-Policy 'no-referrer-when-downgrade';) with add_header Referrer-Policy 'no-referrer-when-downgrade';
add_header Strict-Transport-Security 'max-age=31536000'; # remember the certificate for a year and automatically connect to HTTPS for this domain in /etc/nginx/conf.d/discourse.conf
I, [2017-08-03T08:00:28.335859 #13] INFO -- : > echo "Beginning of custom commands"
I, [2017-08-03T08:00:28.338375 #13] INFO -- : Beginning of custom commands
I, [2017-08-03T08:00:28.339136 #13] INFO -- : > echo "End of custom commands"
I, [2017-08-03T08:00:28.340810 #13] INFO -- : End of custom commands
I, [2017-08-03T08:00:28.342105 #13] INFO -- : Terminating async processes
I, [2017-08-03T08:00:28.342847 #13] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main pid: 42
I, [2017-08-03T08:00:28.343668 #13] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 155
155:signal-handler (1501747228) Received SIGTERM scheduling shutdown...
2017-08-03 08:00:28.354 UTC [42] LOG: received fast shutdown request
2017-08-03 08:00:28.355 UTC [42] LOG: aborting any active transactions
2017-08-03 08:00:28.375 UTC [49] LOG: autovacuum launcher shutting down
2017-08-03 08:00:28.381 UTC [46] LOG: shutting down
2017-08-03 08:00:28.390 UTC [46] LOG: database system is shut down
155:M 03 Aug 08:00:28.395 # User requested shutdown...
155:M 03 Aug 08:00:28.395 * Saving the final RDB snapshot before exiting.
155:M 03 Aug 08:00:28.748 * DB saved on disk
155:M 03 Aug 08:00:28.748 # Redis is now ready to exit, bye bye...
sha256:8611ebd87e64130667d8fa4277a30e8a9797c8690fc0b1a7c5473d6afaa40a7f
f5d3534badbe4f4474e5dd3dfa9b6a341eafed019fde000b92e97c1d77df282e
Removing old container
+ /usr/bin/docker rm app
app
+ /usr/bin/docker run -d --restart=always -e LANG=de_DE.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=2 -e UNICORN_SIDEKIQS=1 -e RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 -e RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 -e RUBY_GC_HEAP_INIT_SLOTS=400000 -e RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e LETSENCRYPT_DIR=/shared/letsencrypt -e DISCOURSE_HOSTNAME=forum.solawi-dortmund.org -e DISCOURSE_DEVELOPER_EMAILS=webmaster@forum.solawi-dortmund.de -e DISCOURSE_SMTP_ADDRESS=smtp.sparkpostmail.com -e DISCOURSE_SMTP_PORT=587 -e DISCOURSE_SMTP_USER_NAME=SMTP_Injection -e DISCOURSE_SMTP_PASSWORD=4db38f16bc4794fa6578f3a6e3a6437879451c1c -e LETSENCRYPT_ACCOUNT_EMAIL=crispin.mueller@posteo.de -h solawiforum-app -e DOCKER_HOST_IP=172.17.0.1 --name app -t -p 80:80 -p 443:443 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log --mac-address 02:54:b8:04:dc:67 local_discourse/app /sbin/boot
What about that netcat-warning? I use standalone mode.