Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ashokkm04 opened this issue Jun 7, 2024 · 3 comments

Comments

@ashokkm04
Copy link

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 (b61adf1 @ 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.

  • using env: export GIN_MODE=release
  • using code: gin.SetMode(gin.ReleaseMode)

[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

  • ... System.Text.Encoding]::GetEncoding(437); Start "http\localhost8080"
  •                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
    • FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

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
Copy link
Collaborator

undera commented Jun 7, 2024

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

@ashokkm04
Copy link
Author

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
Copy link
Collaborator

undera commented Jun 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants