Documenso app cant sent mails

NethServer Version: 8
Module: Documenso

Hello friends,

I am currently testing the Documenso app from Genius and am unable to register the first user because Documenso is not sending an email with the confirmation link. Where and how can I configure the smart host?

Thanks in advance and best regards…

Mails don’t work, it’s a known issue, see NS8-DOCUMENSO Pre Release - #3 by oneitonitram
cc @oneitonitram it should work similar to Joplin

As a workaround for testing you could create an admin manually.

Run psql in the documenso postgresql container:

runagent -m documenso1 podman exec -ti postgresql-app psql -U documenso

Run the following in psql.
Maybe you want to adapt the mail address as it can’t be changed when it’s created.

INSERT INTO "User" (
    name,
    email,
    "emailVerified",
    password,
    source,
    "identityProvider",
    signature,
    roles,
    "createdAt",
    "lastSignedIn",
    "updatedAt",
    "twoFactorBackupCodes",
    "twoFactorEnabled",
    "twoFactorSecret",
    "customerId",
    url,
    "avatarImageId"
) VALUES (
    'Documenso Admin',
    'admin@example.com',
    CURRENT_TIMESTAMP, -- or a specific timestamp if email is verified
    '$2a$12$6xL7/wOMr0DTTebFCT1YfeOh/FfiEMzXVRY6.MhF83g6rXumRYIyC', --this is the bcrypt hash for the default password of password change to the hash for your REAL password make it strong
    'source_value',
    'DOCUMENSO', --this is the identity provider Documenso supports Google and OIDC however that is beyond the scope of this tutorial
    'signature_value',
    '{ADMIN}', --change to USER if you wnat to create a USER account instead
    CURRENT_TIMESTAMP,
    CURRENT_TIMESTAMP,
    CURRENT_TIMESTAMP,
    NULL, -- or specific backup codes if two-factor is enabled
    FALSE,
    NULL, -- or specific secret if two-factor is enabled
    1, --this must be a UNIQUE customer ID change if necessary
    'admin', --this must be a UNIQUE URL endpoint change if necessary
    NULL -- or specific avatarImageId if available
);

Exit psql:

exit

Now it should be possible to login.

Username: admin@example.com (or the adapted mail address)

Password: secret

Source: Manually Create a Documenso Admin Account with PSQL | by PhoenixIgnited.Tech | Medium

2 Likes

thanks Markuz for your input, I came across a solution that seemed to work, should work on getting an update soon that can send emails, hopefully by weekend

2 Likes

@oneitonitram

Any news?

focused on authentik and vaultwarden, this next…

1 Like