Installation itself works, configuration works, but accessing the FQDN given fails: Bad gateway. The log shows:
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app] ! Unable to load application: ActiveRecord::NoDatabaseError: We could not find your database: docuseal. Available database configurations can be found in config/database.yml.
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app] To resolve this error:
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app] - Did you not create the database, or did you delete it? To create the database, run:
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app] bin/rails db:create
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app] - Has the database name changed? Verify that config/database.yml contains the correct database name.
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app] bundler: failed to load command: puma (/usr/local/bundle/bin/puma)
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app] /usr/local/bundle/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/postgresql_adapter.rb:74:in `rescue in new_client': We could not find your database: docuseal. Available database configurations can be found in config/database.yml. (ActiveRecord::NoDatabaseError)
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app] To resolve this error:
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app] - Did you not create the database, or did you delete it? To create the database, run:
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app] bin/rails db:create
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app] - Has the database name changed? Verify that config/database.yml contains the correct database name.
and
2024-05-30T04:16:02+02:00 [1:docuseal1:docuseal-app] /usr/local/bundle/gems/pg-1.5.6/lib/pg/connection.rb:701:in `async_connect_or_reset': connection to server at "127.0.0.1", port 5432 failed: FATAL: database "docuseal" does not exist (PG::ConnectionBad)
and after giving the update command to force a reload/restart of the containers:
2024-05-30T04:31:25+02:00 [1:docuseal1:docuseal-app] WARNING: Nokogiri was built against libxml version 2.12.7, but has dynamically loaded 2.11.8
2024-05-30T04:31:26+02:00 [1:docuseal1:postgresql-app] 2024-05-30 02:31:26.355 UTC [23] FATAL: database "docuseal" does not exist
2024-05-30T04:31:26+02:00 [1:docuseal1:postgresql-app] 2024-05-30 02:31:26.362 UTC [24] FATAL: database "docuseal" does not exist
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app] ! Unable to load application: ActiveRecord::NoDatabaseError: We could not find your database: docuseal. Available database configurations can be found in config/database.yml.
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app] To resolve this error:
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app] - Did you not create the database, or did you delete it? To create the database, run:
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app] bin/rails db:create
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app] - Has the database name changed? Verify that config/database.yml contains the correct database name.
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app] bundler: failed to load command: puma (/usr/local/bundle/bin/puma)
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app] /usr/local/bundle/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/postgresql_adapter.rb:74:in `rescue in new_client': We could not find your database: docuseal. Available database configurations can be found in config/database.yml. (ActiveRecord::NoDatabaseError)
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app] To resolve this error:
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app] - Did you not create the database, or did you delete it? To create the database, run:
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app] bin/rails db:create
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app]
2024-05-30T04:31:26+02:00 [1:docuseal1:docuseal-app] - Has the database name changed? Verify that config/database.yml contains the correct database name.