Giter Club home page Giter Club logo

jumpcloud-dashboard's People

Contributors

btstevens avatar jworkmanjc avatar kmoorehead-jc avatar scottd3v avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sodki

jumpcloud-dashboard's Issues

DateTime error in the dashboard

When running the dashboard, I get the following error:

New-UDPage : Exception calling "Invoke" with "0" argument(s): "Exception calling "Invoke" with "0" argument(s): "Cannot convert value "13/01/2020 11:51:37" to type "System.DateTime". Error: "String '13/01/2020 11:51:37' was not recognized as a valid DateTime."""
At /home/hr/.local/share/powershell/Modules/JumpCloud.Dashboard/1.0.2/Private/Content-Pages/Default/2Get-UDSystems.ps1:17 char:15
+     $UDPage = New-UDPage -Name:($PageName) -Content {
+               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : SyntaxError: (UniversalDashboard.Models.Page:Page) [New-UDPage], CmdletInvocationException
+ FullyQualifiedErrorId : UniversalDashboard.Cmdlets.NewPageCommand

I'm running the dashboard on Ubuntu 19.10, PowerShell 6.2.4 and using the locale en_GB.UTF-8.

Change Listening IP

I'm running JCDashboard on Linux (EC2) and want to access it from a different device - which is not possible since its listening on 127.0.0.1:8003 only instead of 0.0.0.0:8003

How can I change this configuration?

Missing license

This project has no license, so no one can actually use it or make changes.

Cannot bind argument to parameter 'Path' because it is an empty string.

When running the dashboard, I get the following error:

New-UDPage : Exception calling "Parse" with "1" argument(s): "String was not recognized as a valid DateTime."
At C:\Users\pix4d\Documents\WindowsPowerShell\Modules\JumpCloud.Dashboard\1.2.2\Private\UDPages\Default\2Get-UDSystems.ps1:14 char:15
+ ...   $UDPage = New-UDPage -Name:($PageName) -AutoRefresh -RefreshInterva ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SyntaxError: (UniversalDashboard.Models.Page:Page) [New-UDPage], CmdletInvocationException
    + FullyQualifiedErrorId : UniversalDashboard.Cmdlets.NewPageCommand

I'm on Windows 10 with PS version 5.1.18362.628 and module version 1.2.2, the locale is Swiss-French.

Cannot start on Linux

Running on a fresh Ubuntu 18.04.5 LTS EC2 Instance, Dashboard fails to start, here are my powershell details:

Name                           Value
----                           -----
PSVersion                      7.1.3
PSEdition                      Core
GitCommitId                    7.1.3
OS                             Linux 5.4.0-1038-aws #40~18.04.1-Ubuntu SMP Sat Feb 6 01:56:56 UTC 2021
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
PS /opt> Install-Module "JumpCloud.Dashboard"  -Force                                                                                                          Install-Package: /opt/microsoft/powershell/7/Modules/PowerShellGet/PSModule.psm1:9711
Line |
9711 |  … talledPackages = PackageManagement\Install-Package @PSBoundParameters
     |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | No match was found for the specified search criteria and module name 'JumpCloud.Dashboard'. Try Get-PSRepository to see all available
     | registered module repositories.

And Running Get-PSRepository gets this:

PS /opt> Get-PSRepository

Name                      InstallationPolicy   SourceLocation
----                      ------------------   --------------
PSGallery                 Untrusted            https://www.powershellgallery.com/api/v2

How do I use it with Linux?

Dear JumpCloud,

I have tried to deploy this with Docker, using Powershell >{6.20, 6.2.4}, , and Ubuntu {14.04, 16.04, 18.04}, as well as Centos 8, 7 and Alpine, using Microsofts Powershell Dockerfile, and I am greeted by multiple errors.

pwsh -ExecutionPolicy Unrestricted Install-JumpCloud-Powershell-Dashboard.ps1
Install-Module PSCoreUpdate -force -Scope CurrentUser

Update-PowerShellCore

Install-Module "JumpCloud.Dashboard"  -Force

Start-JCDashboard -JumpCloudApiKey SOME_KEY

18.04

 | Dashboard0 8003    True UniversalDashboard.Services.DashboardService
web_1  | Start-Process : This command cannot be run due to the error: No such file or directory.
web_1  | At /root/.local/share/powershell/Modules/JumpCloud.Dashboard/1.2.1/Public/Start-JCDashboard.ps1:263 char:9
web_1  | +         Start-Process -FilePath:('http://127.0.0.1:' + "$($DashboardS ...
web_1  | +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
web_1  | + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
web_1  | + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

This error seems to be persistent across builds.

How do it deploy it on AWS EBS?

Hi There,
I'm struggling to deploy it on AWS since the official AWS documentation is only for the Windows development environment. I tried to follow this blog for UD deployment on AWS but that didn't work for me either.

Can you please update the documentation for that as well? It would be great help.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.