rbeckman-nextgen / test-mc6

0 stars 0 forks source link

Channels fail to deploy after importing configurations #4082

Open rbeckman-nextgen opened 4 years ago

rbeckman-nextgen commented 4 years ago

When importing configurations to Mirth Connect 3.5.1, channels become enabled but nothing happens if I try deploying a channel.

In the event logs, there is an entry for 'Deploy Channels', but when we deploy the channel it takes me to the dashboard with the channel still undeployed. Additionally, there are no entries in mirth.log indicating an error.

-------------------Steps to Reproduce-------------------

  1. Configuration is imported (tested as a previously working configuration)
  2. Check the configuration table's channelMetadata value to see channels are missing their entries
  3. Attempt to deploy enabled channels fail with no error messages
  4. In event log, it shows that a channel is deployed
  5. Checking channelMetadata for the channel results in no entry found

Additionally, we've run into this issue from system restarts as well. Reproducing with the configuration method above seems to require that we delete all channels and then import the configuration again.

-------------------Workaround-------------------

  1. Disable channel
  2. Enable channel
  3. Deploy channel

With the workaround, it seems that when we disable and enable the channel, the channel's entry into the channelMetadata is now present and we can deploy the channel.

A better workaround (if you have a lot of channels) is to create a group to house channels that are to be left in a disabled state. Then if you run into the issue during restarts, you can quickly disable/enable/deploy channels that are not working

Imported Issue. Original Details: Jira Issue Key: MIRTH-4230 Reporter: jili54178 Created: 2017-12-08T08:57:42.000-0800

rbeckman-nextgen commented 4 years ago

Encountered the same issue today (also on Mirth 3.5.1) but with a Sql Server backend...

Imported Comment. Original Details: Author: nicovn Created: 2018-01-24T02:46:29.000-0800

rbeckman-nextgen commented 4 years ago

To [~jili54178] I was not able to reproduce the exact same issue. Can you please confirm if any of what i observed here ?

What is the issue: Not able to deploy channel "Generator-0001", no error in deploy but channel in OS(s) /JREs Used: Win7 with Java Web Start 11.161.2.12 amd64 with Postgres (also reproduced with minh-vMA-test on Appliance 3.10.4) INFO (com.mirth.connect.server.Mirth:448): Running Java HotSpot(TM) 64-Bit Server VM 1.8.0_161 on Windows 7 (6.1, amd64), postgres, with charset windows-1252. Issue found /exists in Version(s)/Build(s): MC351.b195 Is the Issue Consistent (list details):

Steps to Reproduce:

Imported Comment. Original Details: Author: minht Created: 2018-04-10T16:25:59.000-0700

rbeckman-nextgen commented 4 years ago

The reason the config Minh Tran posted caused that issue is because a channel inside the config has an incorrect ID. Right now the server expects channel IDs to be 36 characters long, but the channel in the config has an ID of "abc". So that causes issues with database queries.

But I have no idea if that's the same issue that Jason Li ran into. It doesn't sound like it.

Pushing out this issue until more concrete reproduction steps are found.

Imported Comment. Original Details: Author: narupley Created: 2018-11-19T09:16:39.000-0800