Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
NGU
Partner - Contributor II
Partner - Contributor II

Qlik server moved

Hello.

OEM - Qlik Sense Enterprise User Model Site Subscription

 

Our server hosting Qlik Sense has been from one location to another, so its name and IP address have changed.

I followed the procedure described here:

https://community.qlik.com/t5/Knowledge/How-to-Change-the-Qlik-Sense-server-hostname/ta-p/1711364

But I'm blocked at the step 15 : launch  Repository.exe -bootstrap -standalone -restorehostname

The command is blocked at step

[INFO] Entering main startup phase..

The logs show

205 20211220T190825.080+0100 WARN swinsbsqlik01 System.Repository.Repository.Core.Licensing.LicensesInitializer 3 812e40e7-91ba-4c1a-b133-acef25fca101 EMEAAD\nguisset There was an error contacting the license service. Keep retrying... (800 failed requests) GET /v1/licenses/overview StatusCode: InternalServerError Response: . Could not connect to the license service. NO-STACKTRACE 812e40e7-91ba-4c1a-b133-acef25fca101

Note: to get there I had to start the QlikSenseRepositoryDatabase service.

Any idea what I might do to go further?

Thanks.

3 Solutions

Accepted Solutions
Sebastian_Linser

Hello @NGU 

You need to start the Qlik Sense service dispatcher service before you start the Repository.exe command. Check with netstat -aon | findstr 9200 if the license port is up on the new server. 

https://community.qlik.com/t5/Knowledge/Node-offline-GET-v1-licenses-overview-StatusCode/ta-p/171164...

 

Best regards 

Sebastian 

Help users find answers! Don't forget to mark a solution that worked for you! 🙂

View solution in original post

NGU
Partner - Contributor II
Partner - Contributor II
Author

Hello @AndyBurnsJPM . It was a long time ago... I think a reboot of the VM did the trick. Good luck.

View solution in original post

AndyBurnsJPM
Contributor II
Contributor II

For those who may have the same issue, for me it was caused by my removal of the wrong cert before restoring the environment. 

When restoring from a backup taken on another machine, only remove the LocalMachine root certificate from the server. Removing any other certs seems to cause the same errors as described in this ticket. 

View solution in original post

7 Replies
Sebastian_Linser

Hello @NGU 

You need to start the Qlik Sense service dispatcher service before you start the Repository.exe command. Check with netstat -aon | findstr 9200 if the license port is up on the new server. 

https://community.qlik.com/t5/Knowledge/Node-offline-GET-v1-licenses-overview-StatusCode/ta-p/171164...

 

Best regards 

Sebastian 

Help users find answers! Don't forget to mark a solution that worked for you! 🙂
Maria_Halley
Support
Support

@NGU

 

Since this is a public forum you should not post site specific information. I will edit out the serial number from your post.

I hope that is ok

NGU
Partner - Contributor II
Partner - Contributor II
Author

Hello. Thanks for your answers.

After starting up the Qlik Sense service dispatcher, netstat -aon | findstr 9200 gives results.
TCP 0.0.0.0:9200 0.0.0.0:0 LISTENING 13760
TCP [::]:9200 [::]:0 LISTENING 13760

However, I see errors in the Licences log:

{"caller":"qrs_client.go:31","error":"Get \"https://localhost:4242/qrs/servernodeconfiguration/local?xrfkey=InHocSignoVinces\": dial tcp 127.0.0.1:4242: connectex: No connection could be made because the target machine actively refused it.","level":"error","logTraceId":"6d474af443221294f462bc6b5f65b969","message":"failed retrieve central node info from QRS (communication error)","timestamp":"2021-12-21T09:34:25.2323935Z"}

And the Repository.exe fails with error

An exception occured in BackgroundWork runner The operation was canceled. at System.Collections.Concurrent.BlockingCollection`1.TryTakeWithNoTimeValidation(T& item, Int32 millisecondsTimeout, CancellationToken cancellationToken, CancellationTokenSource combinedTokenSource)↵↓ at Repository.Core.BackgroundWork.BackgroundWorkScheduler.BackgroundWorksRunner() 64659896-874f-4bf2-8eb2-c0a9feb7b005

Sebastian_Linser

Please open a case i  the support section  so we can share logs and have a deeper look.

 

Regards 

Sebastian 

Help users find answers! Don't forget to mark a solution that worked for you! 🙂
AndyBurnsJPM
Contributor II
Contributor II

Hi was there any resolution to this? I'm facing same issue

NGU
Partner - Contributor II
Partner - Contributor II
Author

Hello @AndyBurnsJPM . It was a long time ago... I think a reboot of the VM did the trick. Good luck.

AndyBurnsJPM
Contributor II
Contributor II

For those who may have the same issue, for me it was caused by my removal of the wrong cert before restoring the environment. 

When restoring from a backup taken on another machine, only remove the LocalMachine root certificate from the server. Removing any other certs seems to cause the same errors as described in this ticket.