thejumpcloud / jumpcloud-dashboard Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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
.
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?
This project has no license, so no one can actually use it or make changes.
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.
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
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.
test issue
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.