Bootstrapping failing for data.yml as well as web_only

I don’t rebuild my containers often and just keep updating from browser based interface.
Today when I wanted ai plugin to be inserted I found that both ‘Data’ and ‘Web_only’ containers/ymls are failing to bootstrap.

Output for discourse doctor is given below

DISCOURSE DOCTOR Tue Feb 27 06:32:10 AM UTC 2024
OS: Linux cpx21-3c-4r-80ssd 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux


YML=web_only.yml
Found containers/web_only.yml

==================== YML SETTINGS ====================
DISCOURSE_HOSTNAME=bathindahelper.com
SMTP_ADDRESS=email-smtp.ap-south-1.amazonaws.com ## smtp-relay.sendinblue.com # earlier
DEVELOPER_EMAILS=bathindahelper@gmail.com
SMTP_PASSWORD=redacted
SMTP_PORT=587
SMTP_USER_NAME=redacted
LETSENCRYPT_ACCOUNT_EMAIL=bathindahelper@gmail.com

==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 25.0.3, build 4debf41

DOCKER PROCESSES (docker ps -a)

CONTAINER ID   IMAGE                              COMMAND                  CREATED         STATUS                   PORTS     NAMES
06c70a81e392   local_discourse/web_only           "/sbin/boot"             5 weeks ago     Up 2 weeks                         web_only
6b9837b4be61   discourse/base:2.0.20231218-0429   "/bin/bash -c '/usr/…"   5 weeks ago     Exited (1) 5 weeks ago             elegant_jang
ba6f0dc49ce7   local_discourse/data               "/sbin/boot"             21 months ago   Up 2 weeks                         data

06c70a81e392   local_discourse/web_only   "/sbin/boot"   5 weeks ago     Up 2 weeks             web_only

Discourse container web_only is running


==================== PLUGINS ====================
          - git clone https://github.com/discourse/discourse-google-one-tap
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-oauth2-basic
          - git clone https://github.com/discourse/discourse-adplugin
          - git clone https://github.com/discourse/discourse-data-explorer
          - git clone https://github.com/discourse/discourse-tooltips
          - git clone https://github.com/discourse/discourse-whos-online
          - git clone https://github.com/discourse/discourse-translator
          - git clone https://github.com/discourse/discourse-chat-integration ## for telegram or slack etc chat integrations
#          - git clone https://github.com/discourse/discourse-chat
#          - git clone https://github.com/discourse/discourse-cakeday
#          - git clone https://github.com/discourse/discourse-follow
#          - git clone https://github.com/paviliondev/discourse-news
#          - git clone https://github.com/discourse/discourse-math
#          - git clone https://github.com/discourse/discourse-reactions
#          - git clone https://github.com/discourse/discourse-ai
#          - git clone https://github.com/discourse/discourse-rss-polling
#gives problem:          - git clone https://github.com/discourse/discourse-math #https://meta.discourse.org/t/discourse-math-plugin/65770
#          - git clone https://github.com/discourse/discourse-lti #.../learning-management-system-integration-lti-1-3-authentication/196174
#          - git clone https://github.com/discourse/discourse-subscriptions #https://meta.discourse.org/t/discourse-subscriptions/140818
#          - git clone https://github.com/discourse/discourse-voting #https://meta.discourse.org/t/discourse-voting/40121
#          - git clone https://github.com/discourse/discourse-calendar #https://meta.discourse.org/t/discourse-calendar/97376
#          - git clone https://github.com/discourse/discourse-solved.git #https://meta.discourse.org/t/discourse-solved-accepted-answer-plugin/30155
#          - git clone https://github.com/discourse/discourse-yearly-review
#          - git clone https://github.com/discoursehosting/discourse-adsense ##Discarded in favor of better and later ver Discourse AD Plugin.
#          - git clone https://github.com/discoursehosting/discourse-guest-gate
#deprecated          - git clone https://github.com/discourse/discourse-sitemap.git #...meta.discourse.org/t/discourse-sitemap/40348
#          - git clone https://github.com/davidtaylorhq/discourse-telegram-notifications #...iscourse-telegram-notifications/60483
#          - git clone https://github.com/iunctis/discourse-formatting-toolbar #https://meta.discourse.org/t/formatting-toolbar/40649
#          - git clone https://github.com/angusmcleod/discourse-locations #https://meta.discourse.org/t/locations-plugin/69742
#          - git clone https://github.com/angusmcleod/discourse-legal-tools #will be fixed by disco team.
#conflicts with official follow plugin now - git clone https://github.com/paviliondev/discourse-follow # discard if conflicts with non official.
#          - git clone https://github.com/paviliondev/discourse-topic-previews  ## now shifted to a theme component for the same functionality
#          - git clone https://github.com/saiqulhaq/tvc #https://meta.discourse.org/t/topic-visitors-counter-plugin/41456
#          - git clone https://github.com/angusmcleod/discourse-layouts #https://meta.discourse.org/t/custom-layouts-plugin/55208
#          - git clone https://github.com/featheredtoast/discourse-pushover-notifications #.../pushover-notifications/119258
#          - git clone https://github.com/orlando/discourse-user-scores #https://meta.discourse.org/t/user-scores-reputation-plugin/92364
#          - git clone https://github.com/gdpelican/babble  #Could be a culprit to down wholewebsite
#          - git clone https://github.com/synweap15/discourse-voice-record
#          - git clone https://github.com/procourse/procourse-memberships
#          - git clone https://github.com/angusmcleod/discourse-events
# broken          - git clone https://github.com/curiousdannii/discourse-merge-users #https://meta.discourse.org/t/merge-users-plugin/114917
# broken          - git clone https://github.com/paviliondev/discourse-quick-messages #https://meta.discourse.org/t/quick-messages-plugin/39188
# Broken         - git clone https://github.com/Alavi1412/discourse-reputation-plugin #.../reputation-plugin-version-0-2/54758/13
#Integrated in disco core. So no more needed - git clone https://github.com/discourse/discourse-spoiler-alert #...discourse-spoiler-alert/12650

WARNING:
You have what appear to be non-official plugins.
If you are having trouble, you should disable them and try rebuilding again.

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

========================================
Discourse 3.3.0.beta1
Discourse version at bathindahelper.com: Discourse 3.3.0.beta1
Discourse version at localhost: NOT FOUND
==================== DNS PROBLEM ====================
This server reports NOT FOUND, but bathindahelper.com reports Discourse 3.3.0.beta1.
This suggests that you have a DNS problem or that an intermediate proxy is to blame.
If you are using Cloudflare, or a CDN, it may be improperly configured.


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

               total        used        free      shared  buff/cache   available
Mem:            3815        1475        1648         113         691        1987
Swap:           2047        1834         213

==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        75G   39G   34G  54% /

==================== DISK INFORMATION ====================
Disk /dev/sda: 76.3 GiB, 81923145728 bytes, 160006144 sectors
Disk model: QEMU HARDDISK
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: 429800E9-7239-4627-BEC9-7792EEDDB87A

Device      Start       End   Sectors  Size Type
/dev/sda1  528384 160006110 159477727   76G Linux filesystem
/dev/sda14   2048      4095      2048    1M BIOS boot
/dev/sda15   4096    528383    524288  256M EFI System

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) [bathindahelper@gmail.com]:
Sending mail to bathindahelper@gmail.com. . .
Testing sending to bathindahelper@gmail.com using email-smtp.ap-south-1.amazonaws.com:587, username:AKIAWRLBIAD2ZJ73AK3F with plain auth.
SMTP server connection successful.
Sending to bathindahelper@gmail.com. . .
Mail accepted by SMTP server.
Message-ID: 4df35f46-7338-41c2-9d3f-9e56304463df@bathindahelper.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! ====================

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
root@cpx21-3c-4r-80ssd:/var/discourse#

As showing above, I’ve disabled almost all plugins with a # sign.
Can anyone pls help as why both containers building is failing?

##Container_Rebuilding_Failing
##Rebuild_Web_Only_fails
##Rebuild-Data-fails

You definitely need to rebuild the data container to install the AI plugin.

You will need to include the full output from the rebuild for anyone to help know what the problem was.

5 Likes

In addition to rebuilding the ‘data’ container (which needed turning off the web_only container first, for anyone who didn’t know), I was also short on Ram (4gb only, and I had to add 4 gb swap).

Thanks again. Perhaps you’re as important to Discourse (community) as important is this community itself.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.