Seeking help for discourse installation

hello all… I’m new bee here
i chose digital ocean discourse image , i go throw to entire installation process which is mentioned in docs,
after completing process when i entered my site url , I’m unbale to access forum page , it showing welcome to nginx page
i’m mentioning screenshot here


please help in this issue…

Can you share which installation guide you followed? What OS you selected on DigitalOcean and the output of

netstat -tulpn  | grep 80

EDIT: removed hosted-support as this is a self-hosted installation

2 Likes

Just to note, the recommended way to install does not use the one-click discourse offering from the hosting provider. This thread suggests you’ll have less trouble and get more support if you follow the official standard way to install:
Install Discourse in production with the official, supported instructions

3 Likes

i’m uploading screenshots here …






after everything done … finally placed command given by you

It’s still recommended that you not use the one-click.

It looks like nginx is installed. You could try to

 apt-get purge nginx

and see what that does. Better would be to delete that droplet, create an ubuntu 22.04 one and follow the standard install instructions.

Out of curiousity, what does

 docker ps

show?

1 Like

i’ve destroyed old server and set new server
i’ve used these commands…

  1. sudo apt update -y

  2. sudo apt-get install apt-transport-https ca-certificates git curl gnupg -y

  3. sudo mkdir -p /etc/apt/keyrings

  4. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

  5. echo
    “deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] Index of linux/ubuntu/
    $(lsb_release -cs) stable” | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

  6. sudo apt update

  7. sudo apt-get install docker-ce docker-ce-cli containerd.io -y

  8. sudo mkdir /var/discourse

  9. sudo git clone GitHub - discourse/discourse_docker: A Docker image for Discourse /var/discourse

10 )cd /var/discourse

  1. sudo ./discourse-setup

i’ve followed everything for setup , but still facing same problem

i apricate for your patience , please tell me in following commands, am i did anything wrong ?

And you still get the empty nginx page as shown above?

yes , same thing happening while i entered ip in browsers it showing ngnix message

while i entering url of site it showing site cannot be reached

You really should not be using their one-click app. Just install using the official install guide and you won’t experience this issue.

discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub

please read above message , i installed fresh server with official install guide , but same error repeating

The choice of OS is incorrect here. This is their One click app which is causing issues.

read this @itsbhanusharma

What do you see with ps auxfc ? I see this:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         2  0.0  0.0      0     0 ?        S    Jan26   0:00 kthreadd
root         4  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ kworker/0:0H
root         6  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ mm_percpu_wq
root         7  0.0  0.0      0     0 ?        S    Jan26   5:35  \_ ksoftirqd/0
root         8  0.0  0.0      0     0 ?        I    Jan26  40:56  \_ rcu_sched
root         9  0.0  0.0      0     0 ?        I    Jan26   0:00  \_ rcu_bh
root        10  0.0  0.0      0     0 ?        S    Jan26   0:00  \_ migration/0
root        11  0.0  0.0      0     0 ?        S    Jan26   0:15  \_ watchdog/0
root        12  0.0  0.0      0     0 ?        S    Jan26   0:00  \_ cpuhp/0
root        13  0.0  0.0      0     0 ?        S    Jan26   0:00  \_ kdevtmpfs
root        14  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ netns
root        15  0.0  0.0      0     0 ?        S    Jan26   0:00  \_ rcu_tasks_kthre
root        16  0.0  0.0      0     0 ?        S    Jan26   0:00  \_ kauditd
root        17  0.0  0.0      0     0 ?        S    Jan26   0:17  \_ khungtaskd
root        18  0.0  0.0      0     0 ?        S    Jan26   0:00  \_ oom_reaper
root        19  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ writeback
root        20  0.0  0.0      0     0 ?        S    Jan26   0:00  \_ kcompactd0
root        21  0.0  0.0      0     0 ?        SN   Jan26   0:00  \_ ksmd
root        23  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ crypto
root        24  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ kintegrityd
root        25  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ kblockd
root        26  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ ata_sff
root        27  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ md
root        28  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ edac-poller
root        29  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ devfreq_wq
root        30  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ watchdogd
root        35  0.0  0.0      0     0 ?        S    Jan26   0:30  \_ kswapd0
root        36  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ kworker/u3:0
root        37  0.0  0.0      0     0 ?        S    Jan26   0:00  \_ ecryptfs-kthrea
root        79  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ kthrotld
root        80  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ acpi_thermal_pm
root        81  0.0  0.0      0     0 ?        S    Jan26   0:00  \_ scsi_eh_0
root        82  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ scsi_tmf_0
root        83  0.0  0.0      0     0 ?        S    Jan26   0:00  \_ scsi_eh_1
root        84  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ scsi_tmf_1
root        90  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ ipv6_addrconf
root        99  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ kstrp
root       116  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ charger_manager
root       157  0.0  0.0      0     0 ?        S    Jan26   0:00  \_ scsi_eh_2
root       158  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ scsi_tmf_2
root       160  0.0  0.0      0     0 ?        I<   Jan26   2:22  \_ kworker/0:1H
root       280  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ raid5wq
root       335  0.0  0.0      0     0 ?        S    Jan26   2:37  \_ jbd2/sda1-8
root       336  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ ext4-rsv-conver
root       435  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ iscsi_eh
root       456  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ ib-comp-wq
root       457  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ ib_mcast
root       458  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ ib_nl_sa_wq
root       464  0.0  0.0      0     0 ?        I<   Jan26   0:00  \_ rdma_cm
root     30402  0.0  0.0      0     0 ?        I    Mar10   1:46  \_ kworker/0:0
root      1003  0.0  0.0      0     0 ?        I    Mar14   0:00  \_ kworker/0:1
root     31060  0.0  0.0      0     0 ?        I    17:36   0:02  \_ kworker/u2:2
root      1678  0.0  0.0      0     0 ?        I    18:18   0:00  \_ kworker/u2:0
root      3636  0.0  0.0      0     0 ?        I    18:45   0:00  \_ kworker/u2:1
root         1  0.0  0.3 159760  6656 ?        Ss   Jan26   3:24 systemd
root       416  0.0  1.0 102400 21668 ?        S<s  Jan26  15:29 systemd-journal
root       432  0.0  0.1  43096  2684 ?        Ss   Jan26   0:20 systemd-udevd
root       440  0.0  0.0  97712   888 ?        Ss   Jan26   0:00 lvmetad
systemd+   617  0.0  0.0 141788   768 ?        Ssl  Jan26   0:23 systemd-timesyn
systemd+   768  0.0  0.1  70620  3548 ?        Ss   Jan26   0:21 systemd-resolve
root       791  0.0  0.1  25996  2436 ?        Ss   Jan26   0:00 dhclient
syslog     994  0.0  0.1 263048  3748 ?        Ssl  Jan26   3:54 rsyslogd
root       998  0.0  0.1 169528  3516 ?        Ssl  Jan26   0:00 networkd-dispat
root      1000  0.0  0.1 286232  3348 ?        Ssl  Jan26   4:44 accounts-daemon
root      1001  0.0  0.1 637036  3032 ?        Ssl  Jan26   0:10 lxcfs
daemon    1002  0.0  0.0  28336  1860 ?        Ss   Jan26   0:00 atd
message+  1010  0.0  0.1  50480  3160 ?        Ss   Jan26   6:50 dbus-daemon
root      1025  0.0  0.1  70512  3424 ?        Ss   Jan26   0:17 systemd-logind
root      1027  0.0  0.1  30032  2124 ?        Ss   Jan26   0:18 cron
root      1040  0.0  0.0  14672  1680 ttyS0    Ss+  Jan26   0:00 agetty
root      1045  0.0  0.1 288884  2796 ?        Ssl  Jan26   3:35 polkitd
root      1046  0.0  0.0  14896  1560 tty1     Ss+  Jan26   0:00 agetty
root      1048  0.1  0.5 1280276 10712 ?       Ssl  Jan26 104:20 containerd
root      1058  0.0  0.0  23064   212 ?        Ss   Jan26  56:57 qemu-ga
root      1063  0.0  0.1  72304  2540 ?        Ss   Jan26   6:05 sshd
root      3947  0.5  0.3 107988  7008 ?        Ss   18:49   0:00  \_ sshd
root      4065  0.0  0.1  38504  3616 ?        Rs   18:49   0:00  |   \_ ps
root      3979  0.0  0.3 108016  6916 ?        Ss   18:49   0:00  \_ sshd
sshd      3981  0.0  0.1  72304  2880 ?        S    18:49   0:00      \_ sshd
root      1066  0.0  0.2 185952  4280 ?        Ssl  Jan26   0:00 unattended-upgr
root      1100  0.0  1.1 1419756 23892 ?       Ssl  Jan26  14:16 dockerd
root      1280  0.0  0.0 1004936  968 ?        Sl   Jan26   0:12  \_ docker-proxy
root      1286  0.0  0.0 1004936 1272 ?        Sl   Jan26   0:11  \_ docker-proxy
root      1297  0.0  0.0 1152400 1192 ?        Sl   Jan26   0:12  \_ docker-proxy
root      1303  0.0  0.0 1078668 1204 ?        Sl   Jan26   0:11  \_ docker-proxy
root      1323  0.0  0.2 712452  4136 ?        Sl   Jan26  31:37 containerd-shim
root      1354  0.0  0.1   6832  2612 ?        Ss+  Jan26   0:00  \_ boot
root      2003  0.0  0.0   2400   512 ?        S+   Jan26   1:10      \_ runsvdir
root      2004  0.0  0.0   2248   400 ?        Ss   Jan26   0:00          \_ runsv
root      2017  0.0  0.0 151124  1596 ?        Sl   Jan26   0:06          |   \_ rsyslogd
root      2005  0.0  0.0   2248   384 ?        Ss   Jan26   0:00          \_ runsv
root      2015  0.0  0.1   6680  2172 ?        S    Jan26   0:24          |   \_ cron
root      2006  0.0  0.0   2248   416 ?        Ss   Jan26   0:00          \_ runsv
ddiscou+  2012  0.0  0.1  15316  3584 ?        S    Jan26  45:11          |   \_ unicorn_launche
ddiscou+  2055  0.0 10.5 454612 210264 ?       Sl   Jan26  11:12          |       \_ ruby
ddiscou+  2246  0.5 14.5 926788 290744 ?       SNl  Jan26 360:44          |       |   \_ ruby
ddiscou+  2256  0.0 15.1 901636 301472 ?       Sl   Jan26  37:54          |       |   \_ ruby
ddiscou+  2264  0.0 14.5 832344 289952 ?       Sl   Jan26  14:48          |       |   \_ ruby
ddiscou+  3949  0.0  0.1  13820  2252 ?        S    18:49   0:00          |       \_ sleep
root      2007  0.0  0.0   2248   480 ?        Ss   Jan26   0:00          \_ runsv
root      2014  0.0  0.0   2396   444 ?        S    Jan26   0:00          |   \_ svlogd
systemd+  2016  0.0  0.8 213228 16656 ?        S    Jan26   5:35          |   \_ postmaster
systemd+  2039  0.0  4.5 213452 89732 ?        Ss   Jan26   1:35          |       \_ postmaster
systemd+  2040  0.0  0.3 213228  7340 ?        Ss   Jan26   1:34          |       \_ postmaster
systemd+  2041  0.0  0.3 213228  6256 ?        Ss   Jan26  28:03          |       \_ postmaster
systemd+  2042  0.0  0.2 213912  4096 ?        Ss   Jan26   3:35          |       \_ postmaster
systemd+  2043  0.0  0.1  68296  3100 ?        Ss   Jan26   9:55          |       \_ postmaster
systemd+  2044  0.0  0.1 213784  3140 ?        Ss   Jan26   0:07          |       \_ postmaster
systemd+  2224  0.0  1.3 225228 26484 ?        Ss   Jan26   0:01          |       \_ postmaster
systemd+  2343  0.0  1.9 219580 37872 ?        Ss   Jan26   0:06          |       \_ postmaster
systemd+ 23217  0.0  1.2 215120 24200 ?        Ss   Feb06   0:41          |       \_ postmaster
systemd+  3784  0.0  1.1 215500 22816 ?        Ss   18:47   0:00          |       \_ postmaster
root      2008  0.0  0.0   2248  1076 ?        Ss   Jan26   0:00          \_ runsv
root      2010  0.0  0.3  53844  6600 ?        S    Jan26   0:00          |   \_ nginx
www-data 23129  0.0  0.4  56080  8940 ?        S    01:33   0:04          |       \_ nginx
www-data 23130  0.0  0.1  53844  2836 ?        S    01:33   0:00          |       \_ nginx
root      2009  0.0  0.0   2248   384 ?        Ss   Jan26   0:00          \_ runsv
root      2011  0.0  0.0   2396   324 ?        S    Jan26   0:06              \_ svlogd
message+  2013  0.3  0.4  69808  8208 ?        Sl   Jan26 250:32              \_ redis-server
root      3950  1.0  0.3  76524  7188 ?        Ss   18:49   0:00 systemd
root      3951  0.0  0.1 191444  2460 ?        S    18:49   0:00  \_ (sd-pam)

USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           2  0.0  0.0      0     0 ?        S    14:18   0:00 kthreadd
root           3  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ rcu_gp
root           4  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ rcu_par_gp
root           5  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ netns
root           7  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ kworker/0:0H-events_highpri
root           9  0.0  0.0      0     0 ?        I<   14:18   0:02  \_ kworker/0:1H-events_highpri
root          10  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ mm_percpu_wq
root          11  0.0  0.0      0     0 ?        I    14:18   0:00  \_ rcu_tasks_kthread
root          12  0.0  0.0      0     0 ?        I    14:18   0:00  \_ rcu_tasks_rude_kthread
root          13  0.0  0.0      0     0 ?        I    14:18   0:00  \_ rcu_tasks_trace_kthread
root          14  0.0  0.0      0     0 ?        S    14:18   0:03  \_ ksoftirqd/0
root          15  0.0  0.0      0     0 ?        I    14:18   0:01  \_ rcu_preempt
root          16  0.0  0.0      0     0 ?        S    14:18   0:00  \_ migration/0
root          17  0.0  0.0      0     0 ?        S    14:18   0:00  \_ idle_inject/0
root          19  0.0  0.0      0     0 ?        S    14:18   0:00  \_ cpuhp/0
root          20  0.0  0.0      0     0 ?        S    14:18   0:00  \_ kdevtmpfs
root          21  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ inet_frag_wq
root          22  0.0  0.0      0     0 ?        S    14:18   0:00  \_ kauditd
root          23  0.0  0.0      0     0 ?        S    14:18   0:00  \_ khungtaskd
root          25  0.0  0.0      0     0 ?        S    14:18   0:00  \_ oom_reaper
root          26  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ writeback
root          28  0.0  0.0      0     0 ?        S    14:18   0:01  \_ kcompactd0
root          29  0.0  0.0      0     0 ?        SN   14:18   0:00  \_ ksmd
root          30  0.0  0.0      0     0 ?        SN   14:18   0:00  \_ khugepaged
root          31  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ kintegrityd
root          32  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ kblockd
root          33  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ blkcg_punt_bio
root          34  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ tpm_dev_wq
root          35  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ ata_sff
root          36  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ md
root          37  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ edac-poller
root          38  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ devfreq_wq
root          39  0.0  0.0      0     0 ?        S    14:18   0:00  \_ watchdogd
root          40  0.0  0.0      0     0 ?        S    14:18   0:08  \_ kswapd0
root          41  0.0  0.0      0     0 ?        S    14:18   0:00  \_ ecryptfs-kthread
root          47  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ kthrotld
root          51  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ acpi_thermal_pm
root          52  0.0  0.0      0     0 ?        S    14:18   0:00  \_ xenbus_probe
root          53  0.0  0.0      0     0 ?        S    14:18   0:00  \_ scsi_eh_0
root          54  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ scsi_tmf_0
root          55  0.0  0.0      0     0 ?        S    14:18   0:00  \_ scsi_eh_1
root          56  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ scsi_tmf_1
root          57  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ vfio-irqfd-clea
root          59  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ mld
root          60  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ ipv6_addrconf
root          65  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ kstrp
root          71  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ zswap-shrink
root          72  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ kworker/u3:0
root         118  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ charger_manager
root         152  0.0  0.0      0     0 ?        S    14:18   0:00  \_ scsi_eh_2
root         153  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ scsi_tmf_2
root         154  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ cryptd
root         220  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ raid5wq
root         263  0.0  0.0      0     0 ?        S    14:18   0:01  \_ jbd2/vda1-8
root         264  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ ext4-rsv-conver
root         365  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ kaluad
root         367  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ kmpath_rdacd
root         370  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ kmpathd
root         372  0.0  0.0      0     0 ?        I<   14:18   0:00  \_ kmpath_handlerd
root       12959  0.0  0.0      0     0 ?        I    14:50   0:00  \_ kworker/0:1-cgroup_destroy
root       21266  0.0  0.0      0     0 ?        I    15:40   0:01  \_ kworker/0:2-events
root       29046  0.0  0.0      0     0 ?        I    16:41   0:00  \_ kworker/u2:1-events_power_efficient
root       33613  0.0  0.0      0     0 ?        I    17:19   0:00  \_ kworker/u2:0-events_unbound
root       39659  0.0  0.0      0     0 ?        I    18:08   0:00  \_ kworker/u2:2
root           1  0.0  0.9 103344  9212 ?        Ss   14:18   0:03 systemd
root         334  0.0  0.9  32548  9432 ?        S<s  14:18   0:01 systemd-journal
root         373  0.0  2.7 289156 26960 ?        SLsl 14:18   0:01 multipathd
systemd+     456  0.0  0.3  89472  3508 ?        Ssl  14:18   0:00 systemd-timesyn
systemd+     521  0.0  0.4  17372  4868 ?        Ss   14:18   0:00 systemd-network
systemd+     540  0.0  0.5  19208  5088 ?        Ss   14:18   0:00 systemd-resolve
root         564  0.0  0.3  23092  3476 ?        Ss   14:18   0:00 systemd-udevd
root         667  0.0  0.2   7156  2224 ?        Ss   14:18   0:00 cron
message+     670  0.0  0.4   9420  4268 ?        Ss   14:18   0:00 dbus-daemon
syslog       676  0.0  0.3 222236  3724 ?        Ssl  14:18   0:00 rsyslogd
root         678  0.0  1.5 1334916 15704 ?       Ssl  14:18   0:01 snapd
root         679  0.0  0.5  16588  5300 ?        Ss   14:18   0:00 systemd-logind
root         733  0.0  0.0   6064   772 ttyS0    Ss+  14:18   0:00 agetty
root         738  0.0  0.3 109552  3492 ?        Ssl  14:18   0:00 unattended-upgr
root         749  0.0  0.0   6020   824 tty1     Ss+  14:18   0:00 agetty
root        1442  0.0  0.5 233840  5100 ?        Ssl  14:19   0:00 polkitd
do-agent    6697  0.0  1.4 1011644 14020 ?       Ssl  14:19   0:01 do-agent
root        7034  0.0  0.2 1299156 2416 ?        Ssl  14:19   0:00 droplet-agent
root        7164  0.0  0.4  14848  4668 ?        Ss   14:28   0:00 sshd
root       39852  0.0  1.1  17628 11364 ?        Ss   18:09   0:00  \_ sshd
root       39948  0.1  0.5   8968  5268 pts/0    Ss   18:09   0:00      \_ bash
root       39973  0.0  0.3  10424  3116 pts/0    R+   18:09   0:00          \_ ps
root        7704  0.0  0.5 296376  5760 ?        Ssl  14:32   0:00 packagekitd
root        8320  0.1  2.0 1283032 19888 ?       Ssl  14:36   0:22 containerd
root        8380  0.5  4.8 1476580 48380 ?       Ssl  14:36   1:13 dockerd
root       14253  0.0  0.3 1009128 3196 ?        Sl   14:51   0:00  \_ docker-proxy
root       14258  0.0  0.2 1156592 2408 ?        Sl   14:51   0:00  \_ docker-proxy
root       14271  0.0  0.2 1156592 2396 ?        Sl   14:51   0:00  \_ docker-proxy
root       14276  0.0  0.3 1156592 3324 ?        Sl   14:51   0:00  \_ docker-proxy
root       14293  0.0  0.9 720756  9764 ?        Sl   14:51   0:10 containerd-shim
root       14313  0.0  0.2   6836  2960 pts/0    Ss+  14:51   0:00  \_ boot
root       14338  0.0  0.3   6836  2984 pts/0    S+   14:51   0:00      \_ 1
root       14339  0.0  0.1   2376  1444 pts/0    S+   14:51   0:00      |   \_ run-parts
root       14372  0.0  0.3   6968  3436 pts/0    S+   14:51   0:00      |       \_ letsencrypt
root       14375  0.1  0.8  11764  8384 pts/0    S+   14:51   0:12      |           \_ acme.sh
root       39972  0.0  0.0   5332   500 pts/0    S+   18:09   0:00      |               \_ sleep
root       14374  0.0  0.0  11084   868 ?        Ss   14:51   0:00      \_ nginx
www-data   14376  0.0  0.2  11436  2388 ?        S    14:51   0:00          \_ nginx
root       39863  0.7  0.9  18328  9860 ?        Ss   18:09   0:00 systemd
root       39864  0.0  0.3 104456  3388 ?        S    18:09   0:00  \_ (sd-pam)

Thanks… looks like it’s stuck trying to sort out LetsEncrypt:

Possibly you have tried too many times to register with letsencrypt and now you’re in a timeout situation. Possibly you can disable letsencrypt or set it up manually. I’m sure someone will have a concrete suggestion!

1 Like

That suggests that your DNS isn’t set up correctly, though discourse-setup does a test to check that it’s working, so I’m not sure how the ip works and the host name doesn’t.

Did you not get a warning about the port not being open when you ran discourse-setup?

It still looks like you’ve got an external nginx running.

And if you run a bunch of rebuilds without the right dns you’ll hit rate limiting at let’s encrypt.

now url working file , there is no problem
please check it : electronicsinfo.net

It’s normal to run Discourse on a subdomain - if you’re running on the domain itself, you have to be using one of a small number of DNS providers which support that:

I don’t know what the failure mode is, if this is the problem.

What makes you say this? From the ps command, the nginx is inside the container, although it’s not quite the same as mine.

Here’s the info on LetsEncrypt rate limits:

Oh. I may have missed that. You’re probably right.

If it’s rate limits then switching to www rather than the apex domain will start the rate limit count over.

Trying

docker logs -f

Or

tail -f /var/discourse/shared/standalone/logs/rails/production.log

Might offer clues.

1 Like