" /> GMS Installation - no templates available - Genesys CTI User Forum

Author Topic: GMS Installation - no templates available  (Read 3804 times)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
GMS Installation - no templates available
« on: November 14, 2017, 01:33:53 PM »
Advertisement
Hi guys,
I am installing a GMS and got stuck on a issue:
I go to Service Templates, try to create one and I see none.


I go to Services and again, while trying to create one I see none at the ComboBox.


Logs show me that they were loaded


[code]

10:52:58.333 Dbg 09900  [pool-9-thread-1] Importing service templates...
10:52:58.595 Dbg 09900  [pool-9-thread-1] JSON file (Resources/Strings/messages.json) is not a template file. Template name specified doesn't match the id in the template file or template type is not specified.
10:52:58.608 Dbg 09900  [pool-9-thread-1] Service Template (callback) definition found in callback.json
10:52:58.624 Dbg 09900  [pool-9-thread-1] Service Template (capacity) definition found in capacity.json
10:52:58.625 Dbg 09900  [pool-9-thread-1] Service Template (get) definition found in get.json
10:52:58.625 Dbg 09900  [pool-9-thread-1] Service Template (match-interaction) definition found in match-interaction.json
10:52:58.626 Dbg 09900  [pool-9-thread-1] Service Template (office-hours) definition found in office-hours.json
10:52:58.627 Dbg 09900  [pool-9-thread-1] Service Template (request-access) definition found in request-access.json
10:52:58.628 Dbg 09900  [pool-9-thread-1] Service Template (request-chat) definition found in request-chat.json
10:52:58.628 Dbg 09900  [pool-9-thread-1] Service Template (request-interaction) definition found in request-interaction.json
10:52:58.628 Dbg 09900  [pool-9-thread-1] Service Template (urs-stat) definition found in urs-stat.json
10:52:58.629 Dbg 09900  [pool-9-thread-1] Done importing service templates.
[/code]


Somebody faced this? I am stuck at this point...


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GMS Installation - no templates available
« Reply #1 on: November 14, 2017, 01:37:11 PM »
Full GMS logs here:
https://we.tl/lDTSDmVPoU

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: GMS Installation - no templates available
« Reply #2 on: November 14, 2017, 02:33:01 PM »
Just to be clear on that:

You are not able to create service templates or create service itself?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GMS Installation - no templates available
« Reply #3 on: November 14, 2017, 02:48:29 PM »
None.
If I import the templates again over the Web, nothing happens.
If I try to create a service, no templates are shown, therfore can't create anything.

Enviado de meu E6633 usando Tapatalk


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: GMS Installation - no templates available
« Reply #4 on: November 14, 2017, 03:22:54 PM »
What is the content of "GMS_Install_folder/service_templates"? If there are just "ZIP" files, you can manually unpack them to the same folder.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GMS Installation - no templates available
« Reply #5 on: November 14, 2017, 03:25:31 PM »
Yes., only zip files.
Will try that.


Enviado de meu E6633 usando Tapatalk


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GMS Installation - no templates available
« Reply #6 on: November 14, 2017, 03:28:18 PM »
No luck, same behavior.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: GMS Installation - no templates available
« Reply #7 on: November 14, 2017, 03:38:45 PM »
Cassandra is running properly? Anything has changed on log level or the log messages are still the same?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GMS Installation - no templates available
« Reply #8 on: November 14, 2017, 03:42:23 PM »
I didn't installed Cassandra as only want to test chat and email. Is still needed? For what I understood in docs was optional on this scenario.


Enviado de meu E6633 usando Tapatalk


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: GMS Installation - no templates available
« Reply #9 on: November 14, 2017, 03:57:08 PM »
It is still needed (it does not work without it according to my experience)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GMS Installation - no templates available
« Reply #10 on: November 14, 2017, 04:04:35 PM »
Will do the Cassandra install and test it

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GMS Installation - no templates available
« Reply #11 on: November 14, 2017, 09:14:42 PM »
Well this worked  ;D
Thanks Kubig


PS: as tip for Cassandra config:



Cassandra Genesys Single Node
default cassandra.yaml


Modify Cluster Name to something (Genesys eg)
start_rpc: true
rpc_address: 192.168.100.110 //IP of Server (default is 127.0.0.1)




So GMS can connect to Cassandra




Offline Janis

  • Full Member
  • ***
  • Posts: 123
  • Karma: 4
Re: GMS Installation - no templates available
« Reply #12 on: November 15, 2017, 07:50:37 AM »
For chat only without Cassandra:

Like it is described in GMS API reference guide - Digital Channels API,

create new section chat.{serviceName} in GMS application parameters and run widgets with URL
"http://{GMS_server_name}:{port}/genesys/2/chat/{serviceName}".

Admin page is not needed at all.
« Last Edit: November 15, 2017, 07:52:31 AM by Janis »

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: GMS Installation - no templates available
« Reply #13 on: November 15, 2017, 08:04:39 AM »
I do not think so GMS can be started without Cassandra, but might I am wrong and there is such new feature like that. According to my experience with chats (v1 and v2), if the Cassandra was not running, GMS terminates unexpectly - whether the Cassandra data is not consistency, there should be discrepancies like duplicated messages, etc.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GMS Installation - no templates available
« Reply #14 on: November 15, 2017, 01:26:33 PM »
Last version of GMS does work with an internal storage for chat and email V2. Maybe I missed something.


Enviado de meu E6633 usando Tapatalk