Hi Dan,
One more time, as per what I can visually see everything went fine till last, but still no luck!
The whole log file is huge, I am putting selected lines from it, especially one with errors mentioned there:
(I have edited some credentials, in order to maintain privacy on a public platform, i.e IP, emailid, passwords, keys, etc.
This is also for kind consideration of @pfaffman
root@ExampleBeta:~# sudo -s
root@ExampleBeta:~# git clone https://github.com/discourse/discourse_docker.git /var/discourse
Cloning into '/var/discourse'...
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 4545 (delta 7), reused 9 (delta 0), pack-reused 4523
Receiving objects: 100% (4545/4545), 981.86 KiB | 896.00 KiB/s, done.
Resolving deltas: 100% (2902/2902), done.
root@ExampleBeta:~# cd /var/discourse
root@ExampleBeta:/var/discourse# ./discourse-setup
Docker not installed. Enter to install from https://get.docker.com/ or Ctrl+C to exit
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13185 100 13185 0 0 60760 0 --:--:-- --:--:-- --:--:-- 61041
# Executing docker install script, commit: 6bf300318ebaab958c4adc341a8c7bb9f3a54a1a
+ sh -c apt-get update -qq >/dev/null
+ sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - >/dev/null
Warning: apt-key output should not be parsed (stdout is not a terminal)
+ sh -c echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable" > /etc/apt/sources.list.d/docker.list
+ sh -c apt-get update -qq >/dev/null
+ [ -n ]
+ sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
+ sh -c docker version
Client: Docker Engine - Community
Version: 19.03.2
API version: 1.40
Go version: go1.12.8
Git commit: 6a30dfca03
Built: Thu Aug 29 05:29:17 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.2
API version: 1.40 (minimum version 1.12)
Go version: go1.12.8
Git commit: 6a30dfca03
Built: Thu Aug 29 05:27:52 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.6
GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc:
Version: 1.0.0-rc8
GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
docker-init:
Version: 0.18.0
GitCommit: fec3683
If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:
sudo usermod -aG docker your-user
Remember that you will have to log out and back in for this to take effect!
WARNING: Adding a user to the "docker" group will grant the ability to run
containers which can be used to obtain root privileges on the
docker host.
Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
for more information.
WARNING: Discourse requires at least 2GB of swap when running with 2GB of RAM
or less. This system does not appear to have sufficient swap space.
Without sufficient swap space, your site may not work properly, and future
upgrades of Discourse may not complete successfully.
Ctrl+C to exit or wait 5 seconds to have a 2GB swapfile created.
Setting up swapspace version 1, size = 2 GiB (2147479552 bytes)
no label, UUID=07661ca9-c844-4212-a99e-4b1f601a97d3
/swapfile swap swap auto 0 0
vm.swappiness = 10
Ports 80 and 443 are free for use
'samples/standalone.yml' -> 'containers/app.yml'
Found 2GB of memory and 1 physical CPU cores
setting db_shared_buffers = 256MB
setting UNICORN_WORKERS = 4
containers/app.yml memory parameters updated.
Hostname for your Discourse? [discourse.example.com]: beta.example.com
Email address for admin account(s)? [me@example.com,you@example.com]: earlieid@gmail.com
SMTP server address? [smtp.example.com]: smtp.mailgun.org
SMTP port? [587]: 587
SMTP user name? [postmaster@beta.example.com]: postmaster@beta.example.com
SMTP password? [pa$$word]: 3475b78b3d6947510bad6895ca3475b78b-3475b78b-3475b78b
Optional email address for setting up Let's Encrypt? (ENTER to skip) [me@example.com]: earlieid@gmail.com
Checking your domain name . . .
Connection to beta.example.com succeeded.
Does this look right?
Hostname : beta.example.com
Email : earlieid@gmail.com
SMTP address : smtp.mailgun.org
SMTP port : 587
SMTP username : postmaster@beta.example.com
SMTP password : 3475b78b3d6947510bad6895ca3475b78b-3475b78b-3475b78b
Let's Encrypt : earlieid@gmail.com
ENTER to continue, 'n' to try again, Ctrl+C to exit:
Let's Encrypt will be enabled for earlieid@gmail.com
web.ssl.template.yml enabled
letsencrypt.ssl.template.yml enabled
Configuration file at updated successfully!
Updates successful. Rebuilding in 5 seconds.
Building app
WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed
Please be patient
Unable to find image 'discourse/base:2.0.20190906-0522' locally
2.0.20190906-0522: Pulling from discourse/base
1ab2bdfe9778: Pulling fs layer
a313ca07f056: Pulling fs layer
1ab2bdfe9778: Verifying Checksum
1ab2bdfe9778: Download complete
1ab2bdfe9778: Pull complete
a313ca07f056: Verifying Checksum
a313ca07f056: Download complete
a313ca07f056: Pull complete
Digest: sha256:8c58bd323c80b464b2634d2aa8c322772d0c7bff3e08eff06cf2b66d37fe623d
Status: Downloaded newer image for discourse/base:2.0.20190906-0522
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
cd /pups && git pull && /pups/bin/pups --stdin
Already up to date.
I, [2019-09-17T20:28:10.378799 #1] INFO -- : Loading --stdin
I, [2019-09-17T20:28:10.383859 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2019-09-17T20:28:10.430937 #1] INFO -- : Generating locales (this might take a while)...
Generation complete.
Error Logs:
I, [2019-09-17T20:28:37.168409 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2019-09-17T20:28:37.173532 #1] INFO -- :
I, [2019-09-17T20:28:37.174038 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log /var/www/discourse/log"
HTTP 429 Too Many Requests https://index.rubygems.org/info/memory_profiler
Bundler::HTTPError: Net::HTTPTooManyRequests: <html>
<head><title>429 Too Many Requests</title></head>
-- add_index(:incoming_emails, :error)
-> 0.0019s
== 20170419193714 AddErrorToThemeFields: migrating ============================
-- add_column(:theme_fields, :error, :string, {})
-> 0.0003s
== 20170419193714 AddErrorToThemeFields: migrated (0.0013s) ===================
== 20170425172415 AddErrorToSchedulerStats: migrating =========================
-- add_column(:scheduler_stats, :error, :text, {})
-> 0.0003s
== 20170425172415 AddErrorToSchedulerStats: migrated (0.0016s) ================
== 20180907075713 AddLastErrorTextToRemoteThemes: migrating ===================
-- add_column(:remote_themes, :last_error_text, :text)
-> 0.0003s
== 20180907075713 AddLastErrorTextToRemoteThemes: migrated (0.0016s) ==========