Documenso Script fails #1245

Closed
opened 2026-02-04 23:55:19 +03:00 by OVERLORD · 11 comments
Owner

Originally created by @M-G-86 on GitHub (Jul 8, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Documenso

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/documenso.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

I get an error while executing the Script:

🔄 Steps to reproduce the issue.

Run the install Script

Paste the full error output (if available).


/ __ ____ _______ ______ ___ ___ ____ _________
/ / / / __ / / / / / __ ` / _ / __ / / __
/ /
/ / /
/ / /
/ // / / / / / / / / / ( ) // /
//_/_/_,// // //___// ///_/

⚙️ Using Default Settings on node proxmoxdmz
🆔 Container ID: 101
🖥️ Operating System: debian (12)
📦 Container Type: Unprivileged
💾 Disk Size: 12 GB
🧠 CPU Cores: 6
🛠️ RAM Size: 6144 MiB
🚀 Creating a Documenso LXC using the above default settings

✔️ Validated Storage (rootdir / vztmpl).
✔️ Cluster is quorate
✔️ LXC Template List Updated
✔️ Started LXC Container
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 10.20.7.144
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
✔️ Updated Container OS
✔️ Setup Functions
✔️ Installed Dependencies
✔️ Setup Node.js 22
✔️ Installed Node.js modules: turbo@1.9.3
✔️ Setup PostgreSQL 16
✔️ PostgreSQL 16 installed
✔️ Set up PostgreSQL
✔️ Installed Documenso
⠴ Create User
[ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1

[ERROR] in line 1249: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"var_install".sh)" ?

🖼️ Additional context (optional).

Originally created by @M-G-86 on GitHub (Jul 8, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Documenso ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/documenso.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. I get an error while executing the Script: ### 🔄 Steps to reproduce the issue. Run the install Script ### ❌ Paste the full error output (if available). ____ / __ \____ _______ ______ ___ ___ ____ _________ / / / / __ \/ ___/ / / / __ `__ \/ _ \/ __ \/ ___/ __ \ / /_/ / /_/ / /__/ /_/ / / / / / / __/ / / (__ ) /_/ / /_____/\____/\___/\__,_/_/ /_/ /_/\___/_/ /_/____/\____/ ⚙️ Using Default Settings on node proxmoxdmz 🆔 Container ID: 101 🖥️ Operating System: debian (12) 📦 Container Type: Unprivileged 💾 Disk Size: 12 GB 🧠 CPU Cores: 6 🛠️ RAM Size: 6144 MiB 🚀 Creating a Documenso LXC using the above default settings ✔️ Validated Storage (rootdir / vztmpl). ✔️ Cluster is quorate ✔️ LXC Template List Updated ✔️ Started LXC Container ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 10.20.7.144 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) ✔️ Updated Container OS ✔️ Setup Functions ✔️ Installed Dependencies ✔️ Setup Node.js 22 ✔️ Installed Node.js modules: turbo@1.9.3 ✔️ Setup PostgreSQL 16 ✔️ PostgreSQL 16 installed ✔️ Set up PostgreSQL ✔️ Installed Documenso ⠴ Create User [ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 [ERROR] in line 1249: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $? ### 🖼️ Additional context (optional).
OVERLORD added the bugexternal labels 2026-02-04 23:55:19 +03:00
Author
Owner

@MickLesk commented on GitHub (Jul 8, 2025):

Run in verbose First

@MickLesk commented on GitHub (Jul 8, 2025): Run in verbose First
Author
Owner

@M-G-86 commented on GitHub (Jul 8, 2025):

Run in verbose First

Image

All migrations have been successfully applied.
✔️ Installed Documenso
Create UserERROR: column "customerId" of relation "User" does not exist
LINE 1: ... roles, "createdAt", "lastSignedIn", "updatedAt", "customerI...
^

[ERROR] in line 82: exit code 0: while executing command $STD sudo -u postgres psql -d documenso_db -c "INSERT INTO "User" (name, email, "emailVerified", password, "identityProvider", roles, "createdAt", "lastSignedIn", "updatedAt", "customerId") VALUES ('helper-scripts', 'helper-scripts@local.com', '2025-01-20 17:14:45.058', '$PASSWORD_HASH', 'DOCUMENSO', ARRAY['USER', 'ADMIN']::"Role"[], '2025-01-20 16:04:05.543', '2025-01-20 16:14:55.249', '2025-01-20 16:14:55.25', NULL) RETURNING id;"

@M-G-86 commented on GitHub (Jul 8, 2025): > Run in verbose First <img width="1425" height="284" alt="Image" src="https://github.com/user-attachments/assets/cc6f6c95-b19f-4623-b29c-2e65e21d820a" /> All migrations have been successfully applied. ✔️ Installed Documenso ⏳ Create UserERROR: column "customerId" of relation "User" does not exist LINE 1: ... roles, "createdAt", "lastSignedIn", "updatedAt", "customerI... ^ [ERROR] in line 82: exit code 0: while executing command $STD sudo -u postgres psql -d documenso_db -c "INSERT INTO \"User\" (name, email, \"emailVerified\", password, \"identityProvider\", roles, \"createdAt\", \"lastSignedIn\", \"updatedAt\", \"customerId\") VALUES ('helper-scripts', 'helper-scripts@local.com', '2025-01-20 17:14:45.058', '$PASSWORD_HASH', 'DOCUMENSO', ARRAY['USER', 'ADMIN']::\"Role\"[], '2025-01-20 16:04:05.543', '2025-01-20 16:14:55.249', '2025-01-20 16:14:55.25', NULL) RETURNING id;"
Author
Owner

@MickLesk commented on GitHub (Jul 8, 2025):

https://github.com/documenso/documenso/issues/1880

@MickLesk commented on GitHub (Jul 8, 2025): https://github.com/documenso/documenso/issues/1880
Author
Owner

@M-G-86 commented on GitHub (Jul 17, 2025):

Somehow i get the same Error, installing Habitica and Netbox on two diferent Proxmox Installations.

Image
@M-G-86 commented on GitHub (Jul 17, 2025): Somehow i get the same Error, installing Habitica and Netbox on two diferent Proxmox Installations. <img width="1421" height="606" alt="Image" src="https://github.com/user-attachments/assets/d6de1283-c555-42bf-b440-77f4501ac03e" />
Author
Owner

@MickLesk commented on GitHub (Jul 17, 2025):

That has no place here. These are 1. errors in your system and 2. without verbose nobody will help you and 3. it is a completely different script.

@MickLesk commented on GitHub (Jul 17, 2025): That has no place here. These are 1. errors in your system and 2. without verbose nobody will help you and 3. it is a completely different script.
Author
Owner

@blazingsloe commented on GitHub (Jul 18, 2025):

I am having the same issue

@blazingsloe commented on GitHub (Jul 18, 2025): I am having the same issue
Author
Owner

@MickLesk commented on GitHub (Jul 18, 2025):

Its external

@MickLesk commented on GitHub (Jul 18, 2025): Its external
Author
Owner

@bigbeka commented on GitHub (Jul 18, 2025):

@blazingsloe and @M-G-86 I believe Documenso has very good documentation on how to get it running using Docker Compose. Create an LXC, Install Docker and run a single command to start it.

@bigbeka commented on GitHub (Jul 18, 2025): @blazingsloe and @M-G-86 I believe [Documenso](https://github.com/documenso/documenso) has very good documentation on how to get it running using Docker Compose. Create an LXC, Install Docker and run a single command to start it.
Author
Owner

@MickLesk commented on GitHub (Jul 18, 2025):

Then we can remove the Script 😄

By the way, the docker Install has the Same Migration issues

@MickLesk commented on GitHub (Jul 18, 2025): Then we can remove the Script :smile: By the way, the docker Install has the Same Migration issues
Author
Owner

@C0NN0RAD0 commented on GitHub (Jul 18, 2025):

Same issue for me :(

@C0NN0RAD0 commented on GitHub (Jul 18, 2025): Same issue for me :(
Author
Owner

@LanceCalen commented on GitHub (Jul 23, 2025):

Run in verbose First

Image All migrations have been successfully applied. ✔️ Installed Documenso Create UserERROR: column "customerId" of relation "User" does not exist LINE 1: ... roles, "createdAt", "lastSignedIn", "updatedAt", "customerI... ^

[ERROR] in line 82: exit code 0: while executing command $STD sudo -u postgres psql -d documenso_db -c "INSERT INTO "User" (name, email, "emailVerified", password, "identityProvider", roles, "createdAt", "lastSignedIn", "updatedAt", "customerId") VALUES ('helper-scripts', 'helper-scripts@local.com', '2025-01-20 17:14:45.058', '$PASSWORD_HASH', 'DOCUMENSO', ARRAY['USER', 'ADMIN']::"Role"[], '2025-01-20 16:04:05.543', '2025-01-20 16:14:55.249', '2025-01-20 16:14:55.25', NULL) RETURNING id;"

I'm getting the same error.

The column "customerId" doesn't exist in the table "User".
In line 82 of the install-script should be :
$STD sudo -u postgres psql -d documenso_db -c "INSERT INTO \"User\" (name, email, \"emailVerified\", password, \"identityProvider\", roles, \"createdAt\", \"lastSignedIn\", \"updatedAt\"") VALUES ('helper-scripts', 'helper-scripts@local.com', '2025-01-20 17:14:45.058', '$PASSWORD_HASH', 'DOCUMENSO', ARRAY['USER', 'ADMIN']::\"Role\"[], '2025-01-20 16:04:05.543', '2025-01-20 16:14:55.249', '2025-01-20 16:14:55.25') RETURNING id;"

instead of :
$STD sudo -u postgres psql -d documenso_db -c "INSERT INTO \"User\" (name, email, \"emailVerified\", password, \"identityProvider\", roles, \"createdAt\", \"lastSignedIn\", \"updatedAt\", \"customerId\") VALUES ('helper-scripts', 'helper-scripts@local.com', '2025-01-20 17:14:45.058', '$PASSWORD_HASH', 'DOCUMENSO', ARRAY['USER', 'ADMIN']::\"Role\"[], '2025-01-20 16:04:05.543', '2025-01-20 16:14:55.249', '2025-01-20 16:14:55.25', NULL) RETURNING id;"

I did the remaining tasks of the script manually including the changes of line 82 and it worked for me. Documenso is running.

@LanceCalen commented on GitHub (Jul 23, 2025): > > Run in verbose First > > <img alt="Image" width="1425" height="284" src="https://private-user-images.githubusercontent.com/214465324/463709069-cc6f6c95-b19f-4623-b29c-2e65e21d820a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTMyNTEyODksIm5iZiI6MTc1MzI1MDk4OSwicGF0aCI6Ii8yMTQ0NjUzMjQvNDYzNzA5MDY5LWNjNmY2Yzk1LWIxOWYtNDYyMy1iMjljLTJlNjVlMjFkODIwYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwNzIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDcyM1QwNjA5NDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iMTM5Y2IzYmU2OTBkMWEwYTRlYTcwZGUxM2Y1YzM2MDc2NGQyMzc3YmIyNTRmYWQ5YzdjZTNhYTlhY2YxOWMwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.m_3mH9xd8NXPdOYbZmWfw3UzQ3vp-3lQkAPg75vgzvw"> > All migrations have been successfully applied. ✔️ Installed Documenso ⏳ Create UserERROR: column "customerId" of relation "User" does not exist LINE 1: ... roles, "createdAt", "lastSignedIn", "updatedAt", "customerI... ^ > > [ERROR] in line 82: exit code 0: while executing command $STD sudo -u postgres psql -d documenso_db -c "INSERT INTO "User" (name, email, "emailVerified", password, "identityProvider", roles, "createdAt", "lastSignedIn", "updatedAt", "customerId") VALUES ('helper-scripts', '[helper-scripts@local.com](mailto:helper-scripts@local.com)', '2025-01-20 17:14:45.058', '$PASSWORD_HASH', 'DOCUMENSO', ARRAY['USER', 'ADMIN']::"Role"[], '2025-01-20 16:04:05.543', '2025-01-20 16:14:55.249', '2025-01-20 16:14:55.25', NULL) RETURNING id;" I'm getting the same error. The column "customerId" doesn't exist in the table "User". In line 82 of the install-script should be : `$STD sudo -u postgres psql -d documenso_db -c "INSERT INTO \"User\" (name, email, \"emailVerified\", password, \"identityProvider\", roles, \"createdAt\", \"lastSignedIn\", \"updatedAt\"") VALUES ('helper-scripts', 'helper-scripts@local.com', '2025-01-20 17:14:45.058', '$PASSWORD_HASH', 'DOCUMENSO', ARRAY['USER', 'ADMIN']::\"Role\"[], '2025-01-20 16:04:05.543', '2025-01-20 16:14:55.249', '2025-01-20 16:14:55.25') RETURNING id;"` instead of : `$STD sudo -u postgres psql -d documenso_db -c "INSERT INTO \"User\" (name, email, \"emailVerified\", password, \"identityProvider\", roles, \"createdAt\", \"lastSignedIn\", \"updatedAt\", \"customerId\") VALUES ('helper-scripts', 'helper-scripts@local.com', '2025-01-20 17:14:45.058', '$PASSWORD_HASH', 'DOCUMENSO', ARRAY['USER', 'ADMIN']::\"Role\"[], '2025-01-20 16:04:05.543', '2025-01-20 16:14:55.249', '2025-01-20 16:14:55.25', NULL) RETURNING id;"` I did the remaining tasks of the script manually including the changes of line 82 and it worked for me. Documenso is running.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1245