Tianji Update failed #433

Closed
opened 2026-02-04 18:52:40 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @Narkowii on GitHub (Feb 3, 2025).

Have you read and understood the above guidelines?

yes

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

Tianji

📂 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 update processus failed

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

🔄 Steps to reproduce the issue.

in the LXC shell type

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

Paste the full error output (if available).

✔️ Stopped Tianji Service
⠸ Updating Tianji to v1.18.1
[ERROR] in line 49: exit code 0: while executing command pnpm build:static > /dev/null 2>&1

🖼️ Additional context (optional).

No response

Originally created by @Narkowii on GitHub (Feb 3, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Tianji ### 📂 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 update processus failed ### ⚙️ What settings are you using? - [ ] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 🔄 Steps to reproduce the issue. in the LXC shell type bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/tianji.sh)" ### ❌ Paste the full error output (if available). ✔️ Stopped Tianji Service ⠸ Updating Tianji to v1.18.1 [ERROR] in line 49: exit code 0: while executing command pnpm build:static > /dev/null 2>&1 ### 🖼️ Additional context (optional). _No response_
Author
Owner

@michelroegl-brunner commented on GitHub (Feb 3, 2025):

can you run pnpm build:static in your lxc so we can see the ouput?

@michelroegl-brunner commented on GitHub (Feb 3, 2025): can you run `pnpm build:static` in your lxc so we can see the ouput?
Author
Owner

@Narkowii commented on GitHub (Feb 3, 2025):

root@tianji:/opt/tianji# pnpm build:static

tianji@1.17.9 build:static /opt/tianji
pnpm build:tracker && pnpm build:client && pnpm build:geo

tianji@1.17.9 build:tracker /opt/tianji
tsx scripts/build-tracker.ts

Start Build Tracker
vite v5.0.12 building for production...
✓ 1 modules transformed.
src/client/public/tracker.js 2.52 kB │ gzip: 1.45 kB
✓ built in 84ms
Build Tracker Completed

tianji@1.17.9 build:client /opt/tianji
cd src/client && pnpm build

tianji@1.17.9 build /opt/tianji
pnpm build:tracker && pnpm build:app && pnpm build:geo

tianji@1.17.9 build:tracker /opt/tianji
tsx scripts/build-tracker.ts

Start Build Tracker
vite v5.0.12 building for production...
✓ 1 modules transformed.
src/client/public/tracker.js 2.52 kB │ gzip: 1.45 kB
✓ built in 80ms
Build Tracker Completed

The script doesnt stop
It make this in loop

@Narkowii commented on GitHub (Feb 3, 2025): root@tianji:/opt/tianji# pnpm build:static > tianji@1.17.9 build:static /opt/tianji > pnpm build:tracker && pnpm build:client && pnpm build:geo > tianji@1.17.9 build:tracker /opt/tianji > tsx scripts/build-tracker.ts Start Build Tracker vite v5.0.12 building for production... ✓ 1 modules transformed. src/client/public/tracker.js 2.52 kB │ gzip: 1.45 kB ✓ built in 84ms Build Tracker Completed > tianji@1.17.9 build:client /opt/tianji > cd src/client && pnpm build > tianji@1.17.9 build /opt/tianji > pnpm build:tracker && pnpm build:app && pnpm build:geo > tianji@1.17.9 build:tracker /opt/tianji > tsx scripts/build-tracker.ts Start Build Tracker vite v5.0.12 building for production... ✓ 1 modules transformed. src/client/public/tracker.js 2.52 kB │ gzip: 1.45 kB ✓ built in 80ms Build Tracker Completed The script doesnt stop It make this in loop
Author
Owner

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

heap space issue. will be fixed.

@MickLesk commented on GitHub (Feb 4, 2025): heap space issue. will be fixed.
Author
Owner

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

maybe following needed:

   cd /opt/tianji
    export NODE_OPTIONS="--max_old_space_size=4096"
    pnpm install --filter @tianji/client... --config.dedupe-peer-dependents=false --frozen-lockfile >/dev/null 2>&1
    pnpm build:static >/dev/null 2>&1
    pnpm install --filter @tianji/server... --config.dedupe-peer-dependents=false >/dev/null 2>&1
    mkdir -p ./src/server/public >/dev/null 2>&1
    cp -r ./geo ./src/server/public >/dev/null 2>&1
    pnpm build:server >/dev/null 2>&1
    mv /opt/.env /opt/tianji/src/server/.env
    cd src/server
    pnpm db:migrate:apply >/dev/null 2>&1
    echo "v1.18.1" >/opt/Tianji_version.txt
@MickLesk commented on GitHub (Feb 4, 2025): maybe following needed: ```bash cd /opt/tianji export NODE_OPTIONS="--max_old_space_size=4096" pnpm install --filter @tianji/client... --config.dedupe-peer-dependents=false --frozen-lockfile >/dev/null 2>&1 pnpm build:static >/dev/null 2>&1 pnpm install --filter @tianji/server... --config.dedupe-peer-dependents=false >/dev/null 2>&1 mkdir -p ./src/server/public >/dev/null 2>&1 cp -r ./geo ./src/server/public >/dev/null 2>&1 pnpm build:server >/dev/null 2>&1 mv /opt/.env /opt/tianji/src/server/.env cd src/server pnpm db:migrate:apply >/dev/null 2>&1 echo "v1.18.1" >/opt/Tianji_version.txt ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#433