Skip to content

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

Description

@hukanglu

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions