kubesphere / kubesphere/website

Deployment in Kubernetes 1.32.1, ks-console Fails to Start Properly

Open
#3,260 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
SCSS
Stars
97
Forks
418
PR merge metrics
No merged PRs in 30d

Description

The deployment command used with Helm is: helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.4.tgz --debug --wait. Although the deployment shows as successful, the ks-console does not start correctly. The log information is as follows:
> kubesphere-console@4.1.1 serve
> NODE_ENV=production node server/server.js
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /.npm
npm ERR! errno -13
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR! sudo chown -R 1002:1002 "/.npm"
npm ERR! A complete log of this run can be found in:

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Helm deployment command and reviewing the ks-console startup entry point, server/server.js, together with the reported npm EACCES log. Determine whether the website's deployment guidance or related configuration needs correction; done means ks-console starts successfully without the /.npm permission failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, kubernetes, node.js
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.