NS8 Docuseal First Testing Prerelease

First testing pre release for docuseal
App Testing ns8

Source Code Link

https://github.com/compgeniuses/ns8-docuseal

Install Module

add-module ghcr.io/compgeniuses/docuseal:latest 1

Update Module

api-cli run update-module --data '{"module_url":"ghcr.io/compgeniuses/docuseal:latest","instances":["docuseal1"],"force":true}'
2 Likes

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.

HTH

1 Like

hello @LayLow is it a public FQDN, and had you enables SSL? i am unable to reproduce…

i just discovered i can purchase a combined S/MIME and Document Signing Certificicate from Sectigo for $30 and $35 if it must have company name.

Anyone knows any other options in relation to same.

yes and yes and certificate obtained.

@LayLow you’re an early app tester :smiley:

1 Like

YEs yes and yes, and He really helps us spot them issues we might have missed.

Thanks @LayLow for the tests.

1 Like

No problem, I do what I can, just like you guys. And as a joined effort we get a long way!

2 Likes