Tianji Installation is ok - Service start - error #500

Closed
opened 2026-02-04 19:20:15 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @Striker72rus on GitHub (Feb 14, 2025).

Have you read and understood the above guidelines?

Yes

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

Tianji LXC

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

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/tianji.sh)"

📝 Provide a clear and concise description of the issue.

The installation goes without problems, I get a "http://10.0.6.249:12345" from the script, but when I open the link, nothing opens.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/tianji.sh)"

in the container, run the command: journalctl -u tianji.service -b

Paste the full error output (if available).

root@tianji:~# service tianji status
● tianji.service - Tianji Server
Loaded: loaded (/etc/systemd/system/tianji.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2025-02-14 14:28:47 MSK; 2s ago
Process: 15538 ExecStart=/usr/bin/node /opt/tianji/src/server/dist/src/server/main.js (code=exited, status=1/F>
Main PID: 15538 (code=exited, status=1/FAILURE)
CPU: 1.807s

sudo journalctl -u tianji.service -b:

Feb 14 14:28:23 tianji systemd[1]: tianji.service: Scheduled restart job, restart counter is at 1.
Feb 14 14:28:23 tianji systemd[1]: Stopped tianji.service - Tianji Server.
Feb 14 14:28:23 tianji systemd[1]: tianji.service: Consumed 2.264s CPU time.
Feb 14 14:28:23 tianji systemd[1]: Started tianji.service - Tianji Server.
Feb 14 14:28:24 tianji node[15505]: 2025-02-14 14:28:24.763 - info: Producer bound to: tcp://127.0.0.1:12351
Feb 14 14:28:24 tianji node[15505]: node:internal/modules/esm/assert:88
Feb 14 14:28:24 tianji node[15505]: throw new ERR_IMPORT_ATTRIBUTE_MISSING(url, 'type', validType);
Feb 14 14:28:24 tianji node[15505]: ^
Feb 14 14:28:24 tianji node[15505]: TypeError [ERR_IMPORT_ATTRIBUTE_MISSING]: Module "file:///opt/tianji/src/serve>
Feb 14 14:28:24 tianji node[15505]: at validateAttributes (node:internal/modules/esm/assert:88:15)
Feb 14 14:28:24 tianji node[15505]: at defaultLoad (node:internal/modules/esm/load:130:3)
Feb 14 14:28:24 tianji node[15505]: at async ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:5>
Feb 14 14:28:24 tianji node[15505]: at async ModuleJob._link (node:internal/modules/esm/module_job:115:19) {
Feb 14 14:28:24 tianji node[15505]: code: 'ERR_IMPORT_ATTRIBUTE_MISSING'
Feb 14 14:28:24 tianji node[15505]: }
Feb 14 14:28:24 tianji node[15505]: Node.js v22.14.0
Feb 14 14:28:24 tianji systemd[1]: tianji.service: Main process exited, code=exited, status=1/FAILURE
Feb 14 14:28:24 tianji systemd[1]: tianji.service: Failed with result 'exit-code'.
Feb 14 14:28:24 tianji systemd[1]: tianji.service: Consumed 1.807s CPU time.

🖼️ Additional context (optional).

⚙️ Using Default Settings on node host
🖥️ Operating System: debian
🌟 Version: 12
📦 Container Type: Unprivileged
💾 Disk Size: 12 GB
🧠 CPU Cores: 4
🛠️ RAM Size: 4096 MiB
🆔 Container ID: 110
🚀 Creating a Tianji LXC using the above default settings

✔️ Using local for Template Storage.
✔️ Using local-lvm for Container Storage.
✔️ Updated LXC Template List
✔️ LXC Container 110 was successfully created.
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: 10.0.6.249
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 140.82.121.3
✔️ Updated Container OS
✔️ Installed Dependencies
✔️ Installed Node.js
✔️ Set up PostgreSQL
✔️ Installed Tianji
✔️ Created Service
✔️ Customized Container
✔️ Cleaned
✔️ Completed Successfully!

🚀 Tianji setup has been successfully initialized!
💡 Access it using the following URL:
🌐 http://10.0.6.249:12345

Originally created by @Striker72rus on GitHub (Feb 14, 2025). ### ✅ Have you read and understood the above guidelines? Yes ### 📜 What is the name of the script you are using? Tianji LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/tianji.sh)" ### 📝 Provide a clear and concise description of the issue. The installation goes without problems, I get a "http://10.0.6.249:12345" from the script, but when I open the link, nothing opens. ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/tianji.sh)" in the container, run the command: **journalctl -u tianji.service -b** ### ❌ Paste the full error output (if available). root@tianji:~# **service tianji status** ● tianji.service - Tianji Server Loaded: loaded (/etc/systemd/system/tianji.service; enabled; preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Fri 2025-02-14 14:28:47 MSK; 2s ago Process: 15538 ExecStart=/usr/bin/node /opt/tianji/src/server/dist/src/server/main.js (code=exited, status=1/F> Main PID: 15538 (code=exited, status=1/FAILURE) CPU: 1.807s **sudo journalctl -u tianji.service -b:** Feb 14 14:28:23 tianji systemd[1]: tianji.service: Scheduled restart job, restart counter is at 1. Feb 14 14:28:23 tianji systemd[1]: Stopped tianji.service - Tianji Server. Feb 14 14:28:23 tianji systemd[1]: tianji.service: Consumed 2.264s CPU time. Feb 14 14:28:23 tianji systemd[1]: Started tianji.service - Tianji Server. Feb 14 14:28:24 tianji node[15505]: 2025-02-14 14:28:24.763 - info: Producer bound to: tcp://127.0.0.1:12351 Feb 14 14:28:24 tianji node[15505]: node:internal/modules/esm/assert:88 Feb 14 14:28:24 tianji node[15505]: throw new ERR_IMPORT_ATTRIBUTE_MISSING(url, 'type', validType); Feb 14 14:28:24 tianji node[15505]: ^ Feb 14 14:28:24 tianji node[15505]: TypeError [ERR_IMPORT_ATTRIBUTE_MISSING]: Module "file:///opt/tianji/src/serve> Feb 14 14:28:24 tianji node[15505]: at validateAttributes (node:internal/modules/esm/assert:88:15) Feb 14 14:28:24 tianji node[15505]: at defaultLoad (node:internal/modules/esm/load:130:3) Feb 14 14:28:24 tianji node[15505]: at async ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:5> Feb 14 14:28:24 tianji node[15505]: at async ModuleJob._link (node:internal/modules/esm/module_job:115:19) { Feb 14 14:28:24 tianji node[15505]: code: 'ERR_IMPORT_ATTRIBUTE_MISSING' Feb 14 14:28:24 tianji node[15505]: } Feb 14 14:28:24 tianji node[15505]: Node.js v22.14.0 Feb 14 14:28:24 tianji systemd[1]: tianji.service: Main process exited, code=exited, status=1/FAILURE Feb 14 14:28:24 tianji systemd[1]: tianji.service: Failed with result 'exit-code'. Feb 14 14:28:24 tianji systemd[1]: tianji.service: Consumed 1.807s CPU time. ### 🖼️ Additional context (optional). ⚙️ Using Default Settings on node host 🖥️ Operating System: debian 🌟 Version: 12 📦 Container Type: Unprivileged 💾 Disk Size: 12 GB 🧠 CPU Cores: 4 🛠️ RAM Size: 4096 MiB 🆔 Container ID: 110 🚀 Creating a Tianji LXC using the above default settings ✔️ Using local for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ✔️ LXC Container 110 was successfully created. ✔️ Started LXC Container ✔️ Set up Container OS ✔️ Network Connected: 10.0.6.249 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ DNS Resolved github.com to 140.82.121.3 ✔️ Updated Container OS ✔️ Installed Dependencies ✔️ Installed Node.js ✔️ Set up PostgreSQL ✔️ Installed Tianji ✔️ Created Service ✔️ Customized Container ✔️ Cleaned ✔️ Completed Successfully! 🚀 Tianji setup has been successfully initialized! 💡 Access it using the following URL: 🌐 http://10.0.6.249:12345
OVERLORD added the bug label 2026-02-04 19:20:15 +03:00
Author
Owner

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

havnt an solution right now. idk what in the new tianji release are defect

@MickLesk commented on GitHub (Feb 18, 2025): havnt an solution right now. idk what in the new tianji release are defect
Author
Owner

@sirrobot01 commented on GitHub (Feb 21, 2025):

Having the same issue

@sirrobot01 commented on GitHub (Feb 21, 2025): Having the same issue
Author
Owner

@MickLesk commented on GitHub (Feb 21, 2025):

works now

@MickLesk commented on GitHub (Feb 21, 2025): works now
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#500