losslesspng / SetUpKomgaJava

A Powershell script to get up and running with Komga
22 stars 12 forks source link

Couldn't start kogma service #3

Closed OssamaTammam closed 2 years ago

OssamaTammam commented 2 years ago

Start-Service : Service 'Komga Service (komga)' cannot be started due to the following error: Cannot start service komga on computer '.'. At line:261 char:1

This is the error i get

losslesspng commented 2 years ago

Are you running a Microsoft account to sign into Windows? It seems there is a new security setting (not sure how recent tbh) that prevents just using the password to log in by default. If you can go to Settings>Accounts>Sign In Options and change "Require Windows Hello Sign in" to off and then try to run the service again, it should work. I just used my test machine to try signing in with a Microsoft account and got it to work this way, you may need to sign out and sign back in for it to take effect. image With this off, you should be able to start the service, and once the service is running it seems like you can turn the setting back on if you want, I have rebooted my test machine and service is still working.

OssamaTammam commented 2 years ago

I tried to use the local windows account and it worked but it started as a new kogma server but that's fine as long as it's working without error