[GH-ISSUE #7152] Booklore install fails at nginx config #1523

Closed
opened 2026-02-26 12:49:19 +03:00 by kerem · 1 comment
Owner

Originally created by @MrThyrox on GitHub (Aug 24, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/7152

Have you read and understood the above guidelines?

yes

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

Booklore

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

bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/booklore.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.

Install script for booklore fails after Backend config and exits abruptly.

Might be something changed with latest release Booklore v0.38.0?

🔄 Steps to reproduce the issue.

Run install script.

  • Github, Gitea
  • Default settings or advanced settings
  • Verbose or non-verbose.

Doesn't matter. Always fails at the same part.

Paste the full error output (if available).

...
BUILD SUCCESSFUL in 1m 18s
8 actionable tasks: 7 executed, 1 up-to-date
✔️ Built Backend
Configure NginxJob for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xeu nginx.service" for details.

[ERROR] in line 78: exit code 0: while executing command systemctl restart nginx

[ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/install/${var_install}.sh)"

🖼️ Additional context (optional).

When running "systemctl status nginx.service" in the LXC following output is shown:

× nginx.service - A high performance web server and a reverse proxy server
     Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sun 2025-08-24 14:54:49 CEST; 5min ago
   Duration: 2min 46.645s
       Docs: man:nginx(8)
    Process: 14162 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
        CPU: 3ms

Aug 24 14:54:49 booklore systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server...
Aug 24 14:54:49 booklore nginx[14162]: 2025/08/24 14:54:49 [emerg] 14162#14162: host not found in "${BOOKLORE_PORT}" of the "listen" directive in /etc/nginx/nginx.conf:12
Aug 24 14:54:49 booklore nginx[14162]: nginx: configuration file /etc/nginx/nginx.conf test failed
Aug 24 14:54:49 booklore systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Aug 24 14:54:49 booklore systemd[1]: nginx.service: Failed with result 'exit-code'.
Aug 24 14:54:49 booklore systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server.

When running "journalctl -xeu nginx.service" in the LXC, following output is shown:

Aug 24 14:52:02 booklore systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server...
░░ Subject: A start job for unit nginx.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit nginx.service has begun execution.
░░ 
░░ The job identifier is 330.
Aug 24 14:52:02 booklore systemd[1]: Started nginx.service - A high performance web server and a reverse proxy server.
░░ Subject: A start job for unit nginx.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit nginx.service has finished successfully.
░░ 
░░ The job identifier is 330.
Aug 24 14:54:49 booklore systemd[1]: Stopping nginx.service - A high performance web server and a reverse proxy server...
░░ Subject: A stop job for unit nginx.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A stop job for unit nginx.service has begun execution.
░░ 
░░ The job identifier is 450.
Aug 24 14:54:49 booklore systemd[1]: nginx.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit nginx.service has successfully entered the 'dead' state.
Aug 24 14:54:49 booklore systemd[1]: Stopped nginx.service - A high performance web server and a reverse proxy server.
░░ Subject: A stop job for unit nginx.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A stop job for unit nginx.service has finished.
░░ 
░░ The job identifier is 450 and the job result is done.
Aug 24 14:54:49 booklore systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server...
░░ Subject: A start job for unit nginx.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit nginx.service has begun execution.
░░ 
░░ The job identifier is 450.
Aug 24 14:54:49 booklore nginx[14162]: 2025/08/24 14:54:49 [emerg] 14162#14162: host not found in "${BOOKLORE_PORT}" of the "listen" directive in /etc/nginx/nginx.conf:12
Aug 24 14:54:49 booklore nginx[14162]: nginx: configuration file /etc/nginx/nginx.conf test failed
Aug 24 14:54:49 booklore systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ An ExecStartPre= process belonging to unit nginx.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
Aug 24 14:54:49 booklore systemd[1]: nginx.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit nginx.service has entered the 'failed' state with result 'exit-code'.
Aug 24 14:54:49 booklore systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server.
░░ Subject: A start job for unit nginx.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit nginx.service has finished with a failure.
░░ 
░░ The job identifier is 450 and the job result is failed.
Originally created by @MrThyrox on GitHub (Aug 24, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/7152 ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Booklore ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/booklore.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. Install script for booklore fails after Backend config and exits abruptly. Might be something changed with latest release Booklore v0.38.0? ### 🔄 Steps to reproduce the issue. Run install script. - Github, Gitea - Default settings or advanced settings - Verbose or non-verbose. Doesn't matter. Always fails at the same part. ### ❌ Paste the full error output (if available). ... BUILD SUCCESSFUL in 1m 18s 8 actionable tasks: 7 executed, 1 up-to-date ✔️ Built Backend ⏳ Configure NginxJob for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xeu nginx.service" for details. [ERROR] in line 78: exit code 0: while executing command systemctl restart nginx [ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/install/${var_install}.sh)" ### 🖼️ Additional context (optional). When running "systemctl status nginx.service" in the LXC following output is shown: ``` × nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Sun 2025-08-24 14:54:49 CEST; 5min ago Duration: 2min 46.645s Docs: man:nginx(8) Process: 14162 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE) CPU: 3ms Aug 24 14:54:49 booklore systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server... Aug 24 14:54:49 booklore nginx[14162]: 2025/08/24 14:54:49 [emerg] 14162#14162: host not found in "${BOOKLORE_PORT}" of the "listen" directive in /etc/nginx/nginx.conf:12 Aug 24 14:54:49 booklore nginx[14162]: nginx: configuration file /etc/nginx/nginx.conf test failed Aug 24 14:54:49 booklore systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE Aug 24 14:54:49 booklore systemd[1]: nginx.service: Failed with result 'exit-code'. Aug 24 14:54:49 booklore systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server. ``` When running "journalctl -xeu nginx.service" in the LXC, following output is shown: ``` Aug 24 14:52:02 booklore systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server... ░░ Subject: A start job for unit nginx.service has begun execution ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A start job for unit nginx.service has begun execution. ░░ ░░ The job identifier is 330. Aug 24 14:52:02 booklore systemd[1]: Started nginx.service - A high performance web server and a reverse proxy server. ░░ Subject: A start job for unit nginx.service has finished successfully ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A start job for unit nginx.service has finished successfully. ░░ ░░ The job identifier is 330. Aug 24 14:54:49 booklore systemd[1]: Stopping nginx.service - A high performance web server and a reverse proxy server... ░░ Subject: A stop job for unit nginx.service has begun execution ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A stop job for unit nginx.service has begun execution. ░░ ░░ The job identifier is 450. Aug 24 14:54:49 booklore systemd[1]: nginx.service: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ The unit nginx.service has successfully entered the 'dead' state. Aug 24 14:54:49 booklore systemd[1]: Stopped nginx.service - A high performance web server and a reverse proxy server. ░░ Subject: A stop job for unit nginx.service has finished ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A stop job for unit nginx.service has finished. ░░ ░░ The job identifier is 450 and the job result is done. Aug 24 14:54:49 booklore systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server... ░░ Subject: A start job for unit nginx.service has begun execution ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A start job for unit nginx.service has begun execution. ░░ ░░ The job identifier is 450. Aug 24 14:54:49 booklore nginx[14162]: 2025/08/24 14:54:49 [emerg] 14162#14162: host not found in "${BOOKLORE_PORT}" of the "listen" directive in /etc/nginx/nginx.conf:12 Aug 24 14:54:49 booklore nginx[14162]: nginx: configuration file /etc/nginx/nginx.conf test failed Aug 24 14:54:49 booklore systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ An ExecStartPre= process belonging to unit nginx.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 1. Aug 24 14:54:49 booklore systemd[1]: nginx.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ The unit nginx.service has entered the 'failed' state with result 'exit-code'. Aug 24 14:54:49 booklore systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server. ░░ Subject: A start job for unit nginx.service has failed ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A start job for unit nginx.service has finished with a failure. ░░ ░░ The job identifier is 450 and the job result is failed. ```
kerem 2026-02-26 12:49:19 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tremor021 commented on GitHub (Aug 24, 2025):

Yea, yesterday was a PR that messed with the nginx.config. Fix is incoming

<!-- gh-comment-id:3218107886 --> @tremor021 commented on GitHub (Aug 24, 2025): Yea, yesterday was a PR that messed with the nginx.config. Fix is incoming
Sign in to join this conversation.
No milestone
No project
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/ProxmoxVE#1523
No description provided.