Problem with CloudP…
 
Notifications
Clear all

[Solved] Problem with CloudPanel ADSync

7 Posts
3 Users
0 Reactions
669 Views
0
Topic starter

Hello,

I encountered a problem with the CloudPanel. I installed the service according to this article CloudPanel ADSync | CloudPanel Knowledgebase (knowmoreit.io)

The synchronization however ist not working. This is what I found in the logs. It looks like there is a Problem with the registry. But the registry keys appear to be fine (on first glance). Can you help me with this problem? If you need further information let me know.

 

[2023-08-11 08:18:13,144] | INFO | Quartz.Core.QuartzScheduler | Scheduler QuartzScheduler_$_NON_CLUSTERED shutting down.
[2023-08-11 08:18:13,144] | INFO | Quartz.Core.QuartzScheduler | Scheduler QuartzScheduler_$_NON_CLUSTERED paused.
[2023-08-11 08:18:17,925] | INFO | Quartz.Core.SchedulerSignalerImpl | Initialized Scheduler Signaller of type: Quartz.Core.SchedulerSignalerImpl
[2023-08-11 08:18:17,972] | INFO | Quartz.Core.QuartzScheduler | Quartz Scheduler created
[2023-08-11 08:18:17,972] | INFO | Quartz.Simpl.RAMJobStore | RAMJobStore initialized.
[2023-08-11 08:18:17,972] | INFO | Quartz.Core.QuartzScheduler | Scheduler meta-data: Quartz Scheduler (v3.3.3.0) ‘QuartzScheduler’ with instanceId ‘NON_CLUSTERED’
Scheduler class: ‘Quartz.Core.QuartzScheduler’ – running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool ‘Quartz.Simpl.DefaultThreadPool’ – with 2 threads.
Using job-store ‘Quartz.Simpl.RAMJobStore’ – which does not support persistence. and is not clustered.

[2023-08-11 08:18:17,972] | INFO | Quartz.Impl.StdSchedulerFactory | Quartz scheduler ‘QuartzScheduler’ initialized
[2023-08-11 08:18:17,972] | INFO | Quartz.Impl.StdSchedulerFactory | Quartz scheduler version: 3.3.3.0
[2023-08-11 08:18:18,160] | ERROR | ADSyncService | Error starting service: System.Exception: Unable to find the correct registry values in path [SOFTWARE\Know More IT\Sync Service]
bei CloudPanel.SyncService.Helpers.ServiceManager.GetRegistrySettings()
bei CloudPanel.SyncService.Service.<OnStart>d__3.MoveNext()

5 Answers
0
Topic starter

Hi Jacob, our customer wants to postpone this matter. I’ll probably contact you again early next year.

0

What version are you on? I think you are running into this issue documented here for 3.2.0354: https://knowmoreit.io/known-issues/

 

ADSync is unable to run with error “Error retrieving CloudPanel users: System.InvalidOperationException: Nullable object must have a value.”

Workaround: There was a mistake on our end that released a 32-bit version of ADSync when it should of been 64-bit. This causes the service to check the WOW6432Node key which does not exist. To fix this issue, export the key and values from HKEY_LOCAL_MACHINE\SOFTWARE\Know More IT\Sync Service to a registry file, edit the file and change the path to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Know More IT\Sync Service and import the registry file. This will be resolved in the next release and look back at the 64-bit registry.

0
Topic starter

Thanks for the quick response. We’ve installed CloudPanel_3.2.0368.1 so the issue with the registry should be resolved. Shall I try the mentioned workaround regardless because of the given error?

KMI Support 2023-08-22 18:45

@fabian-meiser Yes, please try the workaround and let me know if that resolves the issue.

0
Topic starter

We applied the workaround on the main DC and restarted the CloudPanel Service. Here is the new log. Now there appears to be a problem with JSON tokens. I noticed that some lines are in german. If you need a translation let me know.

 

[2023-08-23 09:45:07,415] | INFO  | Quartz.Core.QuartzScheduler              | Scheduler QuartzScheduler_$_NON_CLUSTERED shutting down.

[2023-08-23 09:45:07,931] | INFO  | Quartz.Core.QuartzScheduler              | Scheduler QuartzScheduler_$_NON_CLUSTERED paused.

[2023-08-23 09:45:12,726] | INFO  | Quartz.Core.SchedulerSignalerImpl        | Initialized Scheduler Signaller of type: Quartz.Core.SchedulerSignalerImpl

[2023-08-23 09:45:12,789] | INFO  | Quartz.Core.QuartzScheduler              | Quartz Scheduler created

[2023-08-23 09:45:12,789] | INFO  | Quartz.Simpl.RAMJobStore                 | RAMJobStore initialized.

[2023-08-23 09:45:12,804] | INFO  | Quartz.Core.QuartzScheduler              | Scheduler meta-data: Quartz Scheduler (v3.3.3.0) ‘QuartzScheduler’ with instanceId ‘NON_CLUSTERED’

  Scheduler class: ‘Quartz.Core.QuartzScheduler’ – running locally.

  NOT STARTED.

  Currently in standby mode.

  Number of jobs executed: 0

  Using thread pool ‘Quartz.Simpl.DefaultThreadPool’ – with 2 threads.

  Using job-store ‘Quartz.Simpl.RAMJobStore’ – which does not support persistence. and is not clustered.

 

[2023-08-23 09:45:12,804] | INFO  | Quartz.Impl.StdSchedulerFactory          | Quartz scheduler ‘QuartzScheduler’ initialized

[2023-08-23 09:45:12,804] | INFO  | Quartz.Impl.StdSchedulerFactory          | Quartz scheduler version: 3.3.3.0

[2023-08-23 09:45:12,836] | INFO  | Quartz.Core.QuartzScheduler              | Scheduler QuartzScheduler_$_NON_CLUSTERED started.

[2023-08-23 09:45:14,258] | INFO  | CloudPanel.SyncService.Tasks.CheckIn     | Executing job: Checking in with CloudPanel.

[2023-08-23 09:45:16,898] | ERROR | ServiceManager                           | Unable to retrieve settings for LAN: System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0. —> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.

   bei System.Text.Json.Utf8JsonReader.Read()

   bei System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)

   — Ende der internen Ausnahmestapelüberwachung —

   bei RestSharp.RestClient.ThrowIfError(RestResponse response)

   bei RestSharp.RestClientExtensions.<GetAsync>d__14`1.MoveNext()

— Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde —

   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   bei CloudPanel.SyncService.Helpers.ServiceManager.<GetCloudPanelSettings>d__7.MoveNext()

[2023-08-23 09:45:16,914] | ERROR | CloudPanel.SyncService.Tasks.CheckIn     | Error checking into CloudPanel: System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0. —> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.

   bei System.Text.Json.Utf8JsonReader.Read()

   bei System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)

   — Ende der internen Ausnahmestapelüberwachung —

   bei RestSharp.RestClient.ThrowIfError(RestResponse response)

   bei RestSharp.RestClientExtensions.<GetAsync>d__14`1.MoveNext()

— Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde —

   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   bei CloudPanel.SyncService.Helpers.ServiceManager.<GetCloudPanelSettings>d__7.MoveNext()

— Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde —

   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   bei CloudPanel.SyncService.Helpers.ServiceManager.<GetCloudPanelSettings>d__6.MoveNext()

— Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde —

   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   bei CloudPanel.SyncService.Tasks.CheckIn.<Execute>d__1.MoveNext()

KMI Support 2023-08-23 20:04

@fabian-meiser can you please email a screenshot of your registry settings and also these log files to support@knowmoreit.io

0

The same problem with JSON.
CloudPanel 3.2.1007
Fresh installation.

Is there any fix?

[2024-03-13 02:21:43,917] | ERROR | CloudPanel.SyncService.Tasks.CheckIn | Error checking into CloudPanel: System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0. —> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
— End of inner exception stack trace —

Share: