komodorio / helm-dashboard

The missing UI for Helm - visualize your releases
Apache License 2.0
4.93k stars 300 forks source link

Unable to launch the dashboard "The system cannot find the file specified." #532

Open ashokkm04 opened 3 months ago

ashokkm04 commented 3 months ago

Unable to launch the dashboard

WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /home/ashokm/.kube/config WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /home/ashokm/.kube/config NAME VERSION DESCRIPTION dashboard 1.3.3 View HELM situation in nice web UI

Tried to autodetect latest version: 1.3.3 Downloading and installing helm-dashboard v1.3.3 ... https://github.com/komodorio/helm-dashboard/releases/download/v1.3.3/helm-dashboard_1.3.3_Linux_x86_64.tar.gz Helm Dashboard is installed, to start it, run in your terminal: helm dashboard

Response for helm dashboard -v :

WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /home/ashokm/.kube/config WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /home/ashokm/.kube/config DEBU[0000] Debug logging is enabled INFO[0000] Helm Dashboard by Komodor, version 1.3.3 (b61adf133f639b8bffd43925b5b4b8230c197a26 @ 2023-06-22T08:59:05Z) DEBU[0000] Starting command: [checkov --version] DEBU[0000] Failed command: [checkov --version] DEBU[0000] Starting command: [trivy --version] DEBU[0000] Failed command: [trivy --version] [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.

[GIN-debug] GET / --> github.com/komodorio/helm-dashboard/pkg/dashboard.configureStatic.func3 (5 handlers) [GIN-debug] GET /static/filepath --> github.com/komodorio/helm-dashboard/pkg/dashboard.configureStatic.func4 (5 handlers) [GIN-debug] DELETE / --> github.com/komodorio/helm-dashboard/pkg/dashboard.configureRoutes.func1 (5 handlers) [GIN-debug] GET /status --> github.com/komodorio/helm-dashboard/pkg/dashboard.configureRoutes.func2 (5 handlers) [GIN-debug] GET /api/cache --> github.com/komodorio/helm-dashboard/pkg/dashboard.configureRoutes.func3 (5 handlers) [GIN-debug] DELETE /api/cache --> github.com/komodorio/helm-dashboard/pkg/dashboard.configureRoutes.func4 (5 handlers) [GIN-debug] POST /diff --> github.com/komodorio/helm-dashboard/pkg/dashboard.configureRoutes.func5 (5 handlers) [GIN-debug] GET /api-docs --> github.com/komodorio/helm-dashboard/pkg/dashboard.configureRoutes.func6 (5 handlers) [GIN-debug] GET /api/helm/releases --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).GetReleases-fm (5 handlers) [GIN-debug] POST /api/helm/releases/:ns --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).Install-fm (5 handlers) [GIN-debug] POST /api/helm/releases/:ns/:name --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).Upgrade-fm (5 handlers) [GIN-debug] DELETE /api/helm/releases/:ns/:name --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).Uninstall-fm (5 handlers) [GIN-debug] GET /api/helm/releases/:ns/:name/history --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).History-fm (5 handlers) [GIN-debug] GET /api/helm/releases/:ns/:name/:section --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).GetInfoSection-fm (5 handlers) [GIN-debug] GET /api/helm/releases/:ns/:name/resources --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).Resources-fm (5 handlers) [GIN-debug] POST /api/helm/releases/:ns/:name/rollback --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).Rollback-fm (5 handlers) [GIN-debug] POST /api/helm/releases/:ns/:name/test --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).RunTests-fm (5 handlers) [GIN-debug] GET /api/helm/repositories --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).RepoList-fm (5 handlers) [GIN-debug] POST /api/helm/repositories --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).RepoAdd-fm (5 handlers) [GIN-debug] GET /api/helm/repositories/:name --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).RepoCharts-fm (5 handlers) [GIN-debug] POST /api/helm/repositories/:name --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).RepoUpdate-fm (5 handlers) [GIN-debug] DELETE /api/helm/repositories/:name --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).RepoDelete-fm (5 handlers) [GIN-debug] GET /api/helm/repositories/latestver --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).RepoLatestVer-fm (5 handlers) [GIN-debug] GET /api/helm/repositories/versions --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).RepoVersions-fm (5 handlers) [GIN-debug] GET /api/helm/repositories/values --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(HelmHandler).RepoValues-fm (5 handlers) [GIN-debug] GET /api/k8s/contexts --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(KubeHandler).GetContexts-fm (5 handlers) [GIN-debug] GET /api/k8s/:kind/get --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(KubeHandler).GetResourceInfo-fm (5 handlers) [GIN-debug] GET /api/k8s/:kind/describe --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(KubeHandler).Describe-fm (5 handlers) [GIN-debug] GET /api/k8s/:kind/list --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(KubeHandler).GetNameSpaces-fm (5 handlers) [GIN-debug] GET /api/scanners --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(ScannersHandler).List-fm (5 handlers) [GIN-debug] POST /api/scanners/manifests --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(ScannersHandler).ScanManifest-fm (5 handlers) [GIN-debug] GET /api/scanners/resource/:kind --> github.com/komodorio/helm-dashboard/pkg/dashboard/handlers.(*ScannersHandler).ScanResource-fm (5 handlers) INFO[0000] User analytics is collected to improve the quality, disable it with --no-analytics INFO[0000] Opening web UI: http://localhost:8080 DEBU[0000] Strange: no context found for '' INFO[0000] Updating repository: apache-airflow Start : This command cannot be run due to the error: The system cannot find the file specified. At line:1 char:128

WARN[0001] Failed to open Web browser for URL: exit status 1 WARN[0005] Failed to check for new version: Get "https://api.github.com/repos/komodorio/helm-dashboard/releases/latest": context deadline exceeded (Client.Timeout exceeded while awaiting headers) INFO[0005] Updating repository: prometheus-community ^CWARN[0016] Stopping on signal: interrupt INFO[0016] Done

undera commented 3 months ago

That's just warning about inability to automatically open URL in browser. Add --no-browser to your command-line to not do that.

ashokkm04 commented 3 months ago

ok Can this be ignored as well. WARN[0005] Failed to check for new version: Get "https://api.github.com/repos/komodorio/helm-dashboard/releases/latest": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Also when i try to launch http://localhost:8080/ it could open the webpage from local

undera commented 3 months ago

To stop automatic repo updating, you need to set environment variable HD_NO_AUTOUPDATE=true.