Siteyi kurulumu tamamlandı sanıyoruz ama site açılmıyor

Merhaba ,
2 gündür siteyi kurmak için uğraşıyoruz. Gerekli domaini ve hosting hizmetini sağladık. Kurulumda atladığımız bir yer olduğunu düşünmüyoruz ama site açılmıyor. Rebuild kısmını başarıyla yapıyor gibi fakat site açılmıyor. Sorun nedir bilmiyoruz yardımcı olabilir misiniz.

1 Beğeni

Rebuild işlemi bittikten sonra çıkan mesajları kopyalayıp gönderir misiniz? Tüm rebuild işlemlerini kopyalamayınız. Son kısımlar yeterlidir.

1 Beğeni
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && [ ! -d 'node_modules' ] || su discourse -c 'yarn install --production && yarn cache clean' failed with return #<Process::Status: pid 570 exit 1>
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "cmd"=>["[ ! -d 'node_modules' ] || su discourse -c 'yarn install --production && yarn cache clean'"]}
2bf492141a143075410e512bb946477d673f86682ba48e7386ce0f69d6049418
* FAILED TO BOOTSTRAP * please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.

Sanırım sorunu link adımını izleyerek çözdük ama bir değişiklik olmadı.

./discourse-doctor komutunu çalıştırıp hata çıktısını paylaşır mısınız?
app.yml dosya yapılandırmanızda hata olabilir. E-posta sunucunuzda hata olabilir.

./discourse-doctor komutunu çalıştırdım. Deneme maili başarıyla yazdığım mail adresine geldi. Komutun çıktısı:

DISCOURSE DOCTOR Mon Mar 28 13:38:13 UTC 2022
OS: Linux m*** 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux


Found containers/app.yml

==================== YML SETTINGS ====================
DISCOURSE_HOSTNAME=m***.com
SMTP_ADDRESS=smtp.eu.mailgun.org
DEVELOPER_EMAILS=u***@gmail.com
SMTP_PASSWORD=dd***
SMTP_PORT=587
SMTP_USER_NAME=postmaster@mg.*.com
LETSENCRYPT_ACCOUNT_EMAIL=me@example.com

==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 20.10.14, build a224086

DOCKER PROCESSES (docker ps -a)

CONTAINER ID   IMAGE                 COMMAND        CREATED          STATUS          PORTS                                                                      NAMES
a4214a99f41d   local_discourse/app   "/sbin/boot"   52 minutes ago   Up 52 minutes   0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp   app

a4214a99f41d   local_discourse/app   "/sbin/boot"   52 minutes ago   Up 52 minutes   0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp   app

Discourse container app is running


==================== PLUGINS ====================
          - git clone https://github.com/discourse/docker_manager.git

No non-official plugins detected.

See https://github.com/discourse/discourse/blob/main/lib/plugin/metadata.rb for the official list.

========================================
Discourse version at m***.com: NOT FOUND
Discourse version at localhost: NOT FOUND


==================== MEMORY INFORMATION ====================
RAM (MB): 2084

              total        used        free      shared  buff/cache   available
Mem:           1987         952          91          30         944         831
Swap:          2047          33        2014

==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        58G   15G   44G  26% /

==================== DISK INFORMATION ====================
Disk /dev/loop0: 70.58 MiB, 73990144 bytes, 144512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 55.33 MiB, 58007552 bytes, 113296 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 43.64 MiB, 45748224 bytes, 89352 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 61.92 MiB, 64901120 bytes, 126760 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 55.53 MiB, 58212352 bytes, 113696 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop6: 67.83 MiB, 71106560 bytes, 138880 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/vda: 60 GiB, 64424509440 bytes, 125829120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2ED04D82-BA1D-4A75-86B9-9553B7EA5228

Device      Start       End   Sectors  Size Type
/dev/vda1  227328 125829086 125601759 59.9G Linux filesystem
/dev/vda14   2048     10239      8192    4M BIOS boot
/dev/vda15  10240    227327    217088  106M Microsoft basic data

Partition table entries are not in disk order.

==================== END DISK INFORMATION ====================

==================== MAIL TEST ====================
For a robust test, get an address from http://www.mail-tester.com/
Or just send a test message to yourself.
Email address for mail test? ('n' to skip) [u***@gmail.com]: u***@gmail.com
Sending mail to u***@gmail.com. . . 
Testing sending to u***@gmail.com using smtp.eu.mailgun.org:587, username:postmaster@mg.m***.com with plain auth.
SMTP server connection successful.
Sending to u***@gmail.com. . . 
Mail accepted by SMTP server.
Message-ID: 596c321a-afba-42b5-b77e-6a7aaaed4776@m***.com

If you do not receive the message, check your SPAM folder
or test again using a service like http://www.mail-tester.com/.

If the message is not delivered it is not a problem with Discourse.
Check the SMTP server logs for the above Message ID to see why it
failed to deliver the message.
Replacing: SMTP_PASSWORD
Replacing: LETSENCRYPT_ACCOUNT_EMAIL
Replacing: DEVELOPER_EMAILS
Replacing: DISCOURSE_DB_PASSWORD
Replacing: Sending mail to

==================== DONE! ====================
Would you like to serve a publicly available version of this file? (Y/n)y
Publicly available log not generated.

You can examine the output of this script with 
LESS=-Ri less /tmp/discourse-debug.txt

BUT FIRST, make sure that you know the first three commands below!!!

Commands to know when viewing the file with the above command (called 'less'): 
q              -- quit
/error<ENTER>  -- search for the word 'error'
n              -- search for the next occurrence
g              -- go to the beginning of the file
f              -- go forward a page
b              -- go back a page
G              -- go to the end of the file```

E-posta sunucunuzdaki hatalı ayarlamadan dolayı kurulum tamamlanamıyor.

1 Beğeni

Bu durumda
E-posta sunucunuz calismiyor olabilir
App.yml dosyanizda e-posta yapılandırmaniz yanlış yapılmış olabilir.