Dark Theme not working in 5.0.9

Setting up a new server for coming migration.
I am running 5.0.9 currently on IIS with windows Auth, SQLite database.
The goal is to move to a new server and I wanted to try something new.
So I setup a new PU instance, with
Windows Server 2022
PU 5.0.9, msi installation, running as service, local system account, Postgresql
Enabled Windows Authentication (Roles.ps1 got corrupted, I will start another thread for this, but I fixed it)
Imported a developer license and everything seems working fine, until I use Windows login … I can’t switch to Dark Theme …, not a deal breaker but I am afraid it may be more error?

Product: PowerShell Universal
Version: 5.0.9

Do you see the switch flip over to dark mode? Is the switch missing entirely? I’m on 5.0.9, IIS, with external auth and our dark mode is working fine. Another thing to try may be a different browser?

the switch works but theme does not change.
but if I login with the default admin account, the theme change works.

Try heading to /portal/ instead of /admin/ - it may work there instead. I only say that since your Windows auth account isn’t authorized to the admin center. That would be odd behavior for sure, though.

I have fixed the authentication problem, yet I can’t switch theme in admin console. but as you wrote, switch theme works in portal.

if I use downloaded zip file + running from IIS, the problem is gone.

That is certainly intriguing - this is potentially a bug. Although with it also resolving along with your other threads with different issues, I’m wondering if these may have been one-off bugs with the specific installation process, or something similar. It’s more likely in my far-from-professional opinion that they are bugs. If you’d like, I’d recommend submitting an issue in the GH:

1 Like

thanks, I submitted an issue in GH.

1 Like