powershell gallery is down unable to install powershell module

powershell gallery is down unable to install powershell module

avatar

the powershell gallery is down so i am unable to install the powershell script and install remote support
https://github.com/PowerShell/PowerShellGallery/issues/135

can you maybe host the powershell scripts as a ZIP file some where else
so that we can then download them and load that into the users computers if the powershell gallery is offline?

All Comments (8)

avatar

Richard Boisvert

avatar

Hi Richard,

the is no readme's in any of the repos, so its not very helpful...

im trying to deal with the migrate from wayknow-ps to the seperate waykagent-ps and waykclient-ps

Regards

Simon

avatar

Hello Simon,

It was to provide a way to install the modules while PowerShell Gallery is down, not for documentation. Is there anything we can help you with?

Best regards,

Richard Boisvert

avatar

Hi Richard,
im not sure yet, a few niggaling issues with latest version, mainly autoupdates and the fact my desktop icons now point nowhere,
so i need to re-make my install scripts to accommodate the new file paths...
how do i update the waykden server?
is the any major chances in the powershell script or software?
i currently use the tag v2020.2.5 from https://github.com/Devolutions/WaykDen-ps
Regards
Simon

avatar

Hi Simon,

This is the first time PSGallery experiences a serious downtime since we've started using it to publish our PowerShell modules. I think it is obvious that going forward we will have to look into providing an alternative PowerShell repository for publishing our modules. This way, we could publish to both PSGallery and a Devolutions repository at the same time, and avoid the problem we are facing this morning.

Until PSGallery comes back online, the only workaround is to download the modules from github, run the build.ps1 script, and load the locally built module, which is far from ideal. I think that for now the best option is to simply wait a few hours until PSGallery gets back online. We'll be better prepared for the next time it happens, but we don't have a better solution for today than either wait for PSGallery to come back online, or build the PowerShell modules locally.

Best regards,

Marc-André Moreau

avatar

Hi Marc/Richard

thanks for that, I've been able to upgrade my wayk den to wayk bastion partly
(i used the git repo in the past for the method of the server but i use the git checkout v2020.3.0 to specify a version)

IT WAS VERY VERY DIFFICULT! NOTHING LIKE DOCS AT ALL (https://docs.devolutions.net/wayk/bastion/migration-guide.html)

my config was stored under my user on the server /home/simon/mywaykdenconfig
but it seems wayk bastion required me to move my config files to under /etc/wayk-bastion which then required my startup stuff to have root access !?

ALSO i now cant get my jet relay to work anymore?
the docker image has vanished, and the commands to run it have vanished too?

Regards

Simon

avatar

Hello Simon,

The migration guide was written for Windows, the following is for Linux but it has not yet been published. As for Jet, it has been replaced with Gateway. You can find more information here: https://docs.devolutions.net/gateway/index.html

#####

Wayk Den to Wayk Bastion (2020.3.0) - Linux

Open a new PowerShell terminal, import the WaykDen module and move to the configuration directory, by default it is /etc/wayk-den

Import-Module -Name WaykDen
Set-Location "/etc/wayk-den/"

Make sure Wayk Den is stopped, verify that docker ps shows no running containers, and then close the current PowerShell terminal

Stop-WaykDen
Docker ps

Open a new terminal in which the WaykDen module is not loaded. Uninstall the WaykDen module, then install the WaykBastion module to replace it:

Uninstall-Module -Name WaykDen -AllVersions
Install-Module -Name WaykBastion -AllowClobber

Confirm that the WaykBastion module is installed, and that old versions of the WaykDen module were correctly uninstalled:

PS > Get-InstalledModule Wayk* | Select-Object Name, Version


Name Version
---- -------
WaykBastion 2020.3.0

Rename the "Wayk Den" directory to "Wayk Bastion":

mv /etc/wayk-den /etc/wayk-bastion

Move to the "Wayk Bastion" configuration directory, then try launching Wayk Bastion at least once:

Set-Location "/etc/wayk-bastion/"
Import-Module -Name WaykBastion
Start-WaykBastion -Verbose

If you haven't updated Wayk Bastion for some time, the Start-WaykBastion may take a few minutes to complete as it pulls the new containers.

The name WaykDen has been renamed to WaykBastion in all commands, but aliases are provided for compatibility. Run Get-Command -Module WaykBastion to see a complete list of commands and aliases exported by the new PowerShell module.

That's it, the migration from Wayk Den to Wayk Bastion is now complete. If you encounter any issues during the migration, please do not hesitate to contact our support.

Richard Boisvert

avatar

Hi Richard
thanks for that! it defo helped!
i think ive managed to get the gateway running now
however whenever i start wayk bastion its also starting a gateway container as well but on different ports?

CONTAINER ID        IMAGE                                           COMMAND                  CREATED             STATUS                           PORTS                              
                                   NAMES
a7fb0d4b39a7        devolutions/devolutions-gateway:0.13.0-buster   "./devolutions-gatew…"   18 minutes ago      Up 18 minutes                    0.0.0.0:8080->8080/tcp, 10256/tcp  
                                   den-gateway
1109a6baf9dc        traefik:1.7                                     "/traefik --file --c…"   18 minutes ago      Up 18 minutes                    80/tcp, 0.0.0.0:4000->4000/tcp     
                                   den-traefik
9245fe2edc6c        devolutions/den-server:2.12.0-buster            "./den-server -l inf…"   18 minutes ago      Up 18 minutes (healthy)          443/tcp, 4491/tcp, 10255/tcp       
                                   den-server
6a3387175f05        devolutions/den-lucid:3.9.0-buster              "./lucid"                19 minutes ago      Up 19 minutes (healthy)          4242/tcp                           
                                   den-lucid
aef729a90bf3        devolutions/picky:4.7.0-buster                  "./picky-server"         19 minutes ago      Up 19 minutes                    12345/tcp                          
                                   den-picky
6f3bfee05447        mongo:4.2-bionic                                "docker-entrypoint.s…"   19 minutes ago      Up 19 minutes                    27017/tcp                          
                                   den-mongo
bb3238565392        devolutions/devolutions-gateway:0.13.0-buster   "./devolutions-gatew…"   20 minutes ago      Up 20 minutes                    0.0.0.0:7171->7171/tcp, 8080/tcp, 0
.0.0.0:8181->8181/tcp, 10256/tcp   devolutions-gateway

95f949a682e2        traefik:v2.2                                    "/entrypoint.sh trae…"   3 months ago        Up 5 weeks                       0.0.0.0:80->80/tcp, 0.0.0.0:443->44
3/tcp                              mytraefik_mytraefik_1
simon@remote:~$  

Regards
Simon