replay from config file, password cannot be empty #1260

Closed
opened 2026-02-04 23:58:53 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @MBlaschek on GitHub (Jul 11, 2025).

Originally assigned to: @michelroegl-brunner on GitHub.

Have you read and understood the above guidelines?

yes

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

caddy.sh

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/caddy.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.

Using advanced setting deploying the container works, but the second time, when using the written config it fails, with:
✖️ Password cannot be empty

which is a result of the config-file.func that is not aware that all passwords are written as: PW=-password [PWD] and here is a space, hence the error.

I guess fixing the config-file.func or the part in build.func where the config file is written should be it.

🔄 Steps to reproduce the issue.

create a container and replay with the written config file.

Paste the full error output (if available).

   ______          __    __     
  / ____/___ _____/ /___/ /_  __
 / /   / __ `/ __  / __  / / / /
/ /___/ /_/ / /_/ / /_/ / /_/ / 
\____/\__,_/\__,_/\__,_/\__, /  
                       /____/   
  💡    Using Config File on node devx1
  💡  Using config File: /opt/community-scripts/caddy.conf
  🆔  Container ID: 102
  📦  Container Type: Unprivileged
   ✖️   Password cannot be empty

🖼️ Additional context (optional).

Thanks for the great scripts!!!

Originally created by @MBlaschek on GitHub (Jul 11, 2025). Originally assigned to: @michelroegl-brunner on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? caddy.sh ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/caddy.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. Using advanced setting deploying the container works, but the second time, when using the written config it fails, with: ✖️ Password cannot be empty which is a result of the `config-file.func` that is not aware that all passwords are written as: `PW=-password [PWD]` and here is a space, hence the error. I guess fixing the `config-file.func` or the part in build.func where the config file is written should be it. ### 🔄 Steps to reproduce the issue. create a container and replay with the written config file. ### ❌ Paste the full error output (if available). ``` ______ __ __ / ____/___ _____/ /___/ /_ __ / / / __ `/ __ / __ / / / / / /___/ /_/ / /_/ / /_/ / /_/ / \____/\__,_/\__,_/\__,_/\__, / /____/ 💡 Using Config File on node devx1 💡 Using config File: /opt/community-scripts/caddy.conf 🆔 Container ID: 102 📦 Container Type: Unprivileged ✖️ Password cannot be empty ``` ### 🖼️ Additional context (optional). Thanks for the great scripts!!!
OVERLORD added the bug label 2026-02-04 23:58:53 +03:00
Author
Owner

@reichbc commented on GitHub (Jul 12, 2025):

for what it's worth, I get the same issue with ntfy.sh

@reichbc commented on GitHub (Jul 12, 2025): for what it's worth, I get the same issue with ntfy.sh
Author
Owner
@MickLesk commented on GitHub (Jul 15, 2025): https://github.com/community-scripts/ProxmoxVE/discussions/1637#discussioncomment-13761117 & #5978
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1260