Homarr install (notably with lxc-attach step) #1313

Closed
opened 2026-02-05 00:20:02 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @mmPaumard on GitHub (Jul 21, 2025).

Have you read and understood the above guidelines?

yes (not good at script reading though >.<)

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

Homarr

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

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

When I tried to run your install command, I got an error. I've installed several lxc before and after via your scripts (huge thanks!), and never ran into something like this. Thank you in advance for your support.

🔄 Steps to reproduce the issue.

  1. run the install command in the node shell, with (2) verbose to get more details
  2. that's it :)

Paste the full error output (if available).

[...]
node_modules/ssh2 install: Done
packages/definitions postinstall$ tsx ./src/docs/codegen.ts
packages/definitions postinstall: Done
Done in 39.6s using pnpm v10.13.1

> homarr@1.30.0 build /opt/homarr
> cross-env CI=true turbo build

• Packages in scope: @homarr/analytics, @homarr/api, @homarr/auth, @homarr/boards, @homarr/certificates, @homarr/cli, @homarr/common, @homarr/core, @homarr/cron-job-api, @homarr/cron-job-status, @homarr/cron-jobs, @homarr/cron-jobs-core, @homarr/db, @homarr/definitions, @homarr/docker, @homarr/eslint-config, @homarr/form, @homarr/forms-collection, @homarr/github, @homarr/icons, @homarr/image-proxy, @homarr/integrations, @homarr/log, @homarr/modals, @homarr/modals-collection, @homarr/nextjs, @homarr/notifications, @homarr/old-import, @homarr/old-schema, @homarr/prettier-config, @homarr/redis, @homarr/request-handler, @homarr/server-settings, @homarr/settings, @homarr/spotlight, @homarr/tasks, @homarr/translation, @homarr/tsconfig, @homarr/ui, @homarr/validation, @homarr/websocket, @homarr/widgets
• Running build in 42 packages
• Remote caching disabled
@homarr/db:build: cache miss, executing 91a7145d37614c8c
@homarr/db:build: 
@homarr/db:build: > @homarr/db@0.1.0 build /opt/homarr/packages/db
@homarr/db:build: > pnpm run build:sqlite && pnpm run build:mysql
@homarr/db:build: 
@homarr/db:build: 
@homarr/db:build: > @homarr/db@0.1.0 build:sqlite /opt/homarr/packages/db
@homarr/db:build: > esbuild migrations/sqlite/migrate.ts --bundle --platform=node --outfile=migrations/sqlite/migrate.cjs
@homarr/db:build: 
@homarr/db:build: 
@homarr/db:build:   migrations/sqlite/migrate.cjs  3.0mb ⚠️
@homarr/db:build: 
@homarr/db:build: ⚡ Done in 630ms
@homarr/db:build: 
@homarr/db:build: > @homarr/db@0.1.0 build:mysql /opt/homarr/packages/db
@homarr/db:build: > esbuild migrations/mysql/migrate.ts --bundle --platform=node --outfile=migrations/mysql/migrate.cjs
@homarr/db:build: 
@homarr/db:build: 
@homarr/db:build:   migrations/mysql/migrate.cjs  3.0mb ⚠️
@homarr/db:build: 
@homarr/db:build: ⚡ Done in 461ms
@homarr/cli:build: cache miss, executing 4612da429109c33d
@homarr/websocket:build: cache miss, executing 4bbf09eff127a842
@homarr/tasks:build: cache miss, executing d1ed1cd14730ecd6
@homarr/nextjs:build: cache miss, executing 32359f992a6b7c9e
@homarr/tasks:build: 
@homarr/tasks:build: > @homarr/tasks@0.1.0 build /opt/homarr/apps/tasks
@homarr/tasks:build: > esbuild src/main.ts --bundle --platform=node --loader:.scss=text --external:*.node --external:@opentelemetry/api --external:deasync --external:bcrypt --outfile=tasks.cjs
@homarr/tasks:build: 
@homarr/cli:build: 
@homarr/cli:build: > @homarr/cli@0.1.0 build /opt/homarr/packages/cli
@homarr/cli:build: > esbuild src/index.ts --bundle --platform=node --outfile=cli.cjs --external:bcrypt --external:cpu-features --loader:.html=text --loader:.node=text
@homarr/cli:build: 
@homarr/websocket:build: 
@homarr/websocket:build: > @homarr/websocket@0.1.0 build /opt/homarr/apps/websocket
@homarr/websocket:build: > esbuild src/main.ts --bundle --platform=node --outfile=wssServer.cjs --external:bcrypt --external:@opentelemetry/api --external:deasync --external:cpu-features --loader:.html=text --loader:.scss=text --loader:.node=text
@homarr/websocket:build: 
@homarr/nextjs:build: 
@homarr/nextjs:build: > @homarr/nextjs@0.1.0 build /opt/homarr/apps/nextjs
@homarr/nextjs:build: > pnpm with-env next build
@homarr/nextjs:build: 
@homarr/nextjs:build: 
@homarr/nextjs:build: > @homarr/nextjs@0.1.0 with-env /opt/homarr/apps/nextjs
@homarr/nextjs:build: > dotenv -e ../../.env -- next build
@homarr/nextjs:build: 
@homarr/cli:build: 
@homarr/cli:build:   cli.cjs  4.6mb ⚠️
@homarr/cli:build: 
@homarr/cli:build: ⚡ Done in 2755ms
@homarr/tasks:build: 
@homarr/tasks:build:   tasks.cjs  27.5mb ⚠️
@homarr/tasks:build:   tasks.css  69.4kb
@homarr/tasks:build: 
@homarr/tasks:build: ⚡ Done in 6193ms
@homarr/websocket:build: 
@homarr/websocket:build:   wssServer.cjs  32.9mb ⚠️
@homarr/websocket:build:   wssServer.css  69.4kb
@homarr/websocket:build: 
@homarr/websocket:build: ⚡ Done in 6852ms
@homarr/nextjs:build: ⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
@homarr/nextjs:build: Attention: Next.js now collects completely anonymous telemetry regarding usage.
@homarr/nextjs:build: This information is used to shape Next.js' roadmap and prioritize features.
@homarr/nextjs:build: You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
@homarr/nextjs:build: https://nextjs.org/telemetry
@homarr/nextjs:build: 
@homarr/nextjs:build:    ▲ Next.js 15.4.2
@homarr/nextjs:build:    - Experiments (use with caution):
@homarr/nextjs:build:      · optimizePackageImports
@homarr/nextjs:build: 
@homarr/nextjs:build:    Creating an optimized production build ...
@homarr/nextjs:build: Killed
@homarr/nextjs:build:  ELIFECYCLE  Command failed with exit code 137.
@homarr/nextjs:build:  ELIFECYCLE  Command failed with exit code 137.

 Tasks:    4 successful, 5 total
Cached:    0 cached, 5 total
  Time:    3m7.804s 
**Failed:    @homarr/nextjs#build

 ELIFECYCLE  Command failed with exit code 137.

[ERROR] in line 50: exit code 0: while executing command $STD pnpm build

[ERROR] in line 1236: 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).

No response

Originally created by @mmPaumard on GitHub (Jul 21, 2025). ### ✅ Have you read and understood the above guidelines? yes (not good at script reading though >.<) ### 📜 What is the name of the script you are using? Homarr ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/homarr.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. When I tried to run your install command, I got an error. I've installed several lxc before and after via your scripts (huge thanks!), and never ran into something like this. Thank you in advance for your support. ### 🔄 Steps to reproduce the issue. 1) run the install command in the node shell, with (2) verbose to get more details 2) that's it :) ### ❌ Paste the full error output (if available). ``` [...] node_modules/ssh2 install: Done packages/definitions postinstall$ tsx ./src/docs/codegen.ts packages/definitions postinstall: Done Done in 39.6s using pnpm v10.13.1 > homarr@1.30.0 build /opt/homarr > cross-env CI=true turbo build • Packages in scope: @homarr/analytics, @homarr/api, @homarr/auth, @homarr/boards, @homarr/certificates, @homarr/cli, @homarr/common, @homarr/core, @homarr/cron-job-api, @homarr/cron-job-status, @homarr/cron-jobs, @homarr/cron-jobs-core, @homarr/db, @homarr/definitions, @homarr/docker, @homarr/eslint-config, @homarr/form, @homarr/forms-collection, @homarr/github, @homarr/icons, @homarr/image-proxy, @homarr/integrations, @homarr/log, @homarr/modals, @homarr/modals-collection, @homarr/nextjs, @homarr/notifications, @homarr/old-import, @homarr/old-schema, @homarr/prettier-config, @homarr/redis, @homarr/request-handler, @homarr/server-settings, @homarr/settings, @homarr/spotlight, @homarr/tasks, @homarr/translation, @homarr/tsconfig, @homarr/ui, @homarr/validation, @homarr/websocket, @homarr/widgets • Running build in 42 packages • Remote caching disabled @homarr/db:build: cache miss, executing 91a7145d37614c8c @homarr/db:build: @homarr/db:build: > @homarr/db@0.1.0 build /opt/homarr/packages/db @homarr/db:build: > pnpm run build:sqlite && pnpm run build:mysql @homarr/db:build: @homarr/db:build: @homarr/db:build: > @homarr/db@0.1.0 build:sqlite /opt/homarr/packages/db @homarr/db:build: > esbuild migrations/sqlite/migrate.ts --bundle --platform=node --outfile=migrations/sqlite/migrate.cjs @homarr/db:build: @homarr/db:build: @homarr/db:build: migrations/sqlite/migrate.cjs 3.0mb ⚠️ @homarr/db:build: @homarr/db:build: ⚡ Done in 630ms @homarr/db:build: @homarr/db:build: > @homarr/db@0.1.0 build:mysql /opt/homarr/packages/db @homarr/db:build: > esbuild migrations/mysql/migrate.ts --bundle --platform=node --outfile=migrations/mysql/migrate.cjs @homarr/db:build: @homarr/db:build: @homarr/db:build: migrations/mysql/migrate.cjs 3.0mb ⚠️ @homarr/db:build: @homarr/db:build: ⚡ Done in 461ms @homarr/cli:build: cache miss, executing 4612da429109c33d @homarr/websocket:build: cache miss, executing 4bbf09eff127a842 @homarr/tasks:build: cache miss, executing d1ed1cd14730ecd6 @homarr/nextjs:build: cache miss, executing 32359f992a6b7c9e @homarr/tasks:build: @homarr/tasks:build: > @homarr/tasks@0.1.0 build /opt/homarr/apps/tasks @homarr/tasks:build: > esbuild src/main.ts --bundle --platform=node --loader:.scss=text --external:*.node --external:@opentelemetry/api --external:deasync --external:bcrypt --outfile=tasks.cjs @homarr/tasks:build: @homarr/cli:build: @homarr/cli:build: > @homarr/cli@0.1.0 build /opt/homarr/packages/cli @homarr/cli:build: > esbuild src/index.ts --bundle --platform=node --outfile=cli.cjs --external:bcrypt --external:cpu-features --loader:.html=text --loader:.node=text @homarr/cli:build: @homarr/websocket:build: @homarr/websocket:build: > @homarr/websocket@0.1.0 build /opt/homarr/apps/websocket @homarr/websocket:build: > esbuild src/main.ts --bundle --platform=node --outfile=wssServer.cjs --external:bcrypt --external:@opentelemetry/api --external:deasync --external:cpu-features --loader:.html=text --loader:.scss=text --loader:.node=text @homarr/websocket:build: @homarr/nextjs:build: @homarr/nextjs:build: > @homarr/nextjs@0.1.0 build /opt/homarr/apps/nextjs @homarr/nextjs:build: > pnpm with-env next build @homarr/nextjs:build: @homarr/nextjs:build: @homarr/nextjs:build: > @homarr/nextjs@0.1.0 with-env /opt/homarr/apps/nextjs @homarr/nextjs:build: > dotenv -e ../../.env -- next build @homarr/nextjs:build: @homarr/cli:build: @homarr/cli:build: cli.cjs 4.6mb ⚠️ @homarr/cli:build: @homarr/cli:build: ⚡ Done in 2755ms @homarr/tasks:build: @homarr/tasks:build: tasks.cjs 27.5mb ⚠️ @homarr/tasks:build: tasks.css 69.4kb @homarr/tasks:build: @homarr/tasks:build: ⚡ Done in 6193ms @homarr/websocket:build: @homarr/websocket:build: wssServer.cjs 32.9mb ⚠️ @homarr/websocket:build: wssServer.css 69.4kb @homarr/websocket:build: @homarr/websocket:build: ⚡ Done in 6852ms @homarr/nextjs:build: ⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache @homarr/nextjs:build: Attention: Next.js now collects completely anonymous telemetry regarding usage. @homarr/nextjs:build: This information is used to shape Next.js' roadmap and prioritize features. @homarr/nextjs:build: You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: @homarr/nextjs:build: https://nextjs.org/telemetry @homarr/nextjs:build: @homarr/nextjs:build: ▲ Next.js 15.4.2 @homarr/nextjs:build: - Experiments (use with caution): @homarr/nextjs:build: · optimizePackageImports @homarr/nextjs:build: @homarr/nextjs:build: Creating an optimized production build ... @homarr/nextjs:build: Killed @homarr/nextjs:build:  ELIFECYCLE  Command failed with exit code 137. @homarr/nextjs:build:  ELIFECYCLE  Command failed with exit code 137. Tasks: 4 successful, 5 total Cached: 0 cached, 5 total Time: 3m7.804s **Failed: @homarr/nextjs#build  ELIFECYCLE  Command failed with exit code 137. [ERROR] in line 50: exit code 0: while executing command $STD pnpm build [ERROR] in line 1236: 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). _No response_
OVERLORD added the bug label 2026-02-05 00:20:02 +03:00
Author
Owner

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

Looks Like your system is to slow? Try with more RAM

F.e.

var_cpu=4 var_ram=8192 bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/homarr.sh)"
@MickLesk commented on GitHub (Jul 21, 2025): Looks Like your system is to slow? Try with more RAM F.e. ```bash var_cpu=4 var_ram=8192 bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/homarr.sh)" ```
Author
Owner

@mmPaumard commented on GitHub (Jul 22, 2025):

Yes I confirm the system was too slow. I just received my new hardware and the issue is solved. Thank you Mick

@mmPaumard commented on GitHub (Jul 22, 2025): Yes I confirm the system was too slow. I just received my new hardware and the issue is solved. Thank you Mick
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1313