Websoft9 / docker-library

Docker Compose examples of selfhosted FOSS based on official image, just run it.
https://www.websoft9.com
Other
33 stars 17 forks source link

discourse container exit for [discourse] #649

Closed yuanssssss closed 1 week ago

yuanssssss commented 1 month ago

Describe the bug

after install, the main container exit with 1 image

Bug source

System Environment

the demo server 4 core 16G RAM rocky linux 9.4

Application Version version : 3

qiaofeng1227 commented 1 month ago
discourse 07:55:57.50 INFO  ==> 

discourse 07:55:57.50 INFO  ==> Welcome to the Bitnami discourse container

discourse 07:55:57.50 INFO  ==> Subscribe to project updates by watching https://github.com/bitnami/containers

discourse 07:55:57.50 INFO  ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues

discourse 07:55:57.51 INFO  ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise

discourse 07:55:57.51 INFO  ==> 

discourse 07:55:57.51 INFO  ==> Validating settings in POSTGRESQL_CLIENT_* env vars

discourse 07:55:57.53 INFO  ==> Trying to connect to the database server

discourse 07:56:02.56 INFO  ==> Creating database discourse

discourse 07:56:02.67 WARN  ==> The DISCOURSE_REDIS_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow a blank password. This is only recommended for development environments.

discourse 07:56:02.68 INFO  ==> Creating Discourse configuration file

discourse 07:56:02.71 INFO  ==> Enabling SMTP

discourse 07:56:02.73 INFO  ==> Ensuring Discourse directories exist

discourse 07:56:02.73 INFO  ==> Trying to connect to the database server

discourse 07:56:02.76 INFO  ==> Populating database

discourse 07:56:22.34 INFO  ==> Creating admin user

discourse 07:56:27.04 INFO  ==> Persisting Discourse installation

discourse 07:56:27.45 INFO  ==> Precompiling assets, this may take some time...
yuanssssss commented 1 month ago

can add BITNAMI_DEBUG=true in .env to get detailed info


discourse 05:58:05.13 INFO  ==> 
discourse 05:58:05.14 INFO  ==> Welcome to the Bitnami discourse container
discourse 05:58:05.14 INFO  ==> Subscribe to project updates by watching https://github.com/bitnami/containers
discourse 05:58:05.14 INFO  ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
discourse 05:58:05.14 INFO  ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
discourse 05:58:05.14 INFO  ==> 
discourse 05:58:05.16 INFO  ==> Validating settings in POSTGRESQL_CLIENT_* env vars
discourse 05:58:05.17 INFO  ==> Trying to connect to the database server
 ?column? 
----------

1
(1 row)
discourse 05:58:05.19 INFO  ==> Creating database discourse
CREATE EXTENSION
CREATE EXTENSION
discourse 05:58:05.29 DEBUG ==> Validating settings in DISCOURSE_* environment variables...
discourse 05:58:05.32 WARN  ==> The DISCOURSE_REDIS_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow a blank password. This is only recommended for development environments.
discourse 05:58:05.33 INFO  ==> Creating Discourse configuration file
discourse 05:58:05.33 DEBUG ==> Setting hostname to 'discourse.test2.websoft9.cn' in Discourse configuration
discourse 05:58:05.34 DEBUG ==> Setting db_host to 'discourse_9ootw-postgresql' in Discourse configuration
discourse 05:58:05.34 DEBUG ==> Setting db_port to '5432' in Discourse configuration
discourse 05:58:05.34 DEBUG ==> Setting db_username to 'discourse' in Discourse configuration
discourse 05:58:05.35 DEBUG ==> Setting db_password to 'vSGpb9CwlYQ4W' in Discourse configuration
discourse 05:58:05.35 DEBUG ==> Setting db_name to 'discourse' in Discourse configuration
discourse 05:58:05.36 DEBUG ==> Setting db_backup_host to 'discourse_9ootw-postgresql' in Discourse configuration
discourse 05:58:05.36 DEBUG ==> Setting db_backup_port to '5432' in Discourse configuration
discourse 05:58:05.37 DEBUG ==> Setting redis_host to 'discourse_9ootw-redis' in Discourse configuration
discourse 05:58:05.37 DEBUG ==> Setting redis_port to '6379' in Discourse configuration
discourse 05:58:05.37 DEBUG ==> Setting redis_password to '' in Discourse configuration
discourse 05:58:05.38 INFO  ==> Enabling SMTP
discourse 05:58:05.38 DEBUG ==> Setting smtp_address to 'smtp.gmail.com' in Discourse configuration
discourse 05:58:05.38 DEBUG ==> Setting smtp_port to '587' in Discourse configuration
discourse 05:58:05.39 DEBUG ==> Setting smtp_user_name to 'your_email@gmail.com' in Discourse configuration
discourse 05:58:05.40 DEBUG ==> Setting smtp_password to 'your_password' in Discourse configuration
discourse 05:58:05.40 DEBUG ==> Setting smtp_enable_start_tls to 'true' in Discourse configuration
discourse 05:58:05.41 DEBUG ==> Setting smtp_authentication to 'login' in Discourse configuration
discourse 05:58:05.45 INFO  ==> Restoring persisted Discourse installation
discourse 05:58:05.56 INFO  ==> Trying to connect to the database server
 ?column? 
----------

1
(1 row)
discourse 05:58:05.58 INFO  ==> Running database migrations
discourse 05:58:11.99 INFO  ==> Precompiling assets, this may take some time...
node:internal/modules/cjs/loader:1143

  throw err;
  ^
Error: Cannot find module './lib/corepack.cjs'
Require stack:
- /opt/bitnami/node/lib/node_modules/yarn/yarn.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
    at Module._load (node:internal/modules/cjs/loader:981:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/opt/bitnami/node/lib/node_modules/yarn/yarn.js:3:1)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/opt/bitnami/node/lib/node_modules/yarn/yarn.js' ]
}
Node.js v18.20.4
chendelin1982 commented 1 week ago

add to new