BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

Bot wont publish to Linux, windows works fine.

Open drmanhatin opened this issue 3 years ago • 17 comments

Describe the bug

Bot wont publish to Linux, windows works fine.

Version

v.2.1.1

OS

Windows

To Reproduce

Steps to reproduce the behavior:

  1. Create bot
  2. Deploy to windows
  3. Deploy to linux
  4. ????
  5. No success

Expected behavior

Deploy succeeds

Screenshots


---
"Accepted for publishing..."
---

---
"Abs settings incomplete, skip linking bot with webapp ..."
---

---
"appPasswordHint incomplete, return ..."
---

---
"Building the bot app..."
---

---
"Build succeeded!"
---

---
"Creating build artifact..."
---

---
"Build artifact ready!"
---

---
"Publishing to Azure ..."
---

---
"Uploading zip file... to linboter"
---

---
"Waiting for zip upload processing."
---

---
"Waiting for zip upload processing. Receiving changes."
---

---
"Waiting for zip upload processing. Building and Deploying '346716b47f384e128e48bed99fafeb69'."
---

---
"Waiting for zip upload processing. Building and Deploying '346716b47f384e128e48bed99fafeb69'."
---

---
"Waiting for zip upload processing. Building and Deploying '346716b47f384e128e48bed99fafeb69'."
---

---
"Waiting for zip upload processing. "
---

---
"Waiting for zip upload processing. "
---

etc etc etc

Additional context

Only "out of the ordinary" thing I am using is a custom adapter.

drmanhatin avatar Jan 11 '22 16:01 drmanhatin

Hi @drmanhatin Is this with a C# or Node runtime?

dmvtech avatar Jan 12 '22 23:01 dmvtech

This issue still exists. I used Node runtime. Works with windows but not with Linux.

ryub3n avatar Jan 18 '22 19:01 ryub3n

Was able to reproduce issue. Will be linking other issues here and updating with progress.

dmvtech avatar Jan 28 '22 18:01 dmvtech

Linking other issues of same behavior/cause.

#8816 #8526 #8915

dmvtech avatar Jan 28 '22 18:01 dmvtech

Adding log of my repro. error_log_sanitized.txt

dmvtech avatar Jan 28 '22 18:01 dmvtech

@benbrown Can you take a look at this one and give some feedback? Any idea who might be a good resource to further investigate or take ownership?

dmvtech avatar Feb 07 '22 17:02 dmvtech

This does appear to be a limitation in the preview version of the JavaScript support in Composer. Windows is the suggested workaround until this support is GA'd.

tracyboehrer avatar Apr 04 '22 19:04 tracyboehrer

Same issue here. Any news on a possible solution?

mgateno avatar Jun 15 '22 04:06 mgateno

Same issue here with C# project... Any possible solution? Can I manually deploy this without the use of composer or something?

Brankec avatar Aug 31 '22 13:08 Brankec

I was able to make it publish by creating the resources manually and editing the json file with the corresponding information. The wizard seems to fail for some reason.

mgateno avatar Aug 31 '22 13:08 mgateno

I was able to make it publish by creating the resources manually and editing the json file with the corresponding information. The wizard seems to fail for some reason.

Could you please elaborate the steps to do this?

Brankec avatar Aug 31 '22 13:08 Brankec

Not at my computer now but using the import option you will be presented with a json template that you will be able to edit to use the information for your subscription, app ID, LUIS resource ID etc

mgateno avatar Aug 31 '22 13:08 mgateno

Not at my computer now but using the import option you will be presented with a json template that you will be able to edit to use the information for your subscription, app ID, LUIS resource ID etc

Oh, that. I am aware of that json file. That is what I'm currently using for windows but it doesn't work for linux deployment. Are there properties that must be filled to work on linux but aren't a necessity on windows? I can also paste you a censored version of my json file.

Brankec avatar Aug 31 '22 13:08 Brankec

AFAIK pretty much everything except in the settings section where the App ID is required but the other settings depend on whether or not your bot is using things like LUIS, QNA, Cosmos DB, App Insights, etc. You might double check if you have the correct App ID image

mgateno avatar Aug 31 '22 16:08 mgateno

I forgot to mention that you need to delete the sections you are not using from the JSON flie.

mgateno avatar Aug 31 '22 16:08 mgateno

I forgot to mention that you need to delete the sections you are not using from the JSON flie.

I did what you said however I still get the same issue. Here is a censored version of my json file. image

EDIT: I should mention I am using version v2.1.2 composer image

Brankec avatar Sep 01 '22 07:09 Brankec

This is my json file

image image

mgateno avatar Sep 02 '22 13:09 mgateno