Install the SQLServer Module in Docker Hosted PSU

Install the SQLServer Module in Docker Hosted PSU

avatar
(anonymous user)
Product: PowerShell Universal
Version: 5.6.6


Brand new PSU installation running on Docker on Ubuntu. Trying to install the SQLServer module and after clicking install and getting the popup saying wait I get no feedback. Looking in the system logs I see this error

2025-09-10 12:04:25.062 -04:00 [ERR][Universal.Server.Services.ModuleService] Error saving module SqlServer 22.4.5
Microsoft.PowerShell.PSResourceGet.UtilClasses.ResourceNotFoundException: Package(s) 'SqlServer' could not be installed from repository 'PSGallery'.
2025-09-10 12:04:25.062 -04:00 [ERR][Universal.Server.Services.ModuleService] Error saving module SqlServer 22.4.5
System.Exception: Failed to install module. Package(s) 'SqlServer' could not be installed from repository 'PSGallery'.
   at Universal.Server.Services.ModuleService.SaveModule(String repository, String name, String version, Boolean prerelease) in D:\a\universal\universal\src\Universal.Server\Services\ModuleService.cs:line 165
2025-09-10 12:04:25.066 -04:00 [WRN][Hangfire.AutomaticRetryAttribute] Failed to process the job '1417': an exception occured. Job was automatically deleted because the retry attempt count exceeded 0.
System.Exception: Failed to install module. Package(s) 'SqlServer' could not be installed from repository 'PSGallery'.
   at Universal.Server.Services.ModuleService.SaveModule(String repository, String name, String version, Boolean prerelease) in D:\a\universal\universal\src\Universal.Server\Services\ModuleService.cs:line 165
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)


Is this module not supported to run in Docker?

All Comments (1)

avatar

I was able to get dbatools installed to do what I needed, but if there are modules that won’t work in Docker I would rather find out now than later after I get a whole bunch of stuff stood up.