SyntaxC4-MSFT / ComposerExtension

Brings Composer Support to Azure Websites via a Site Extension
http://www.siteextensions.net
MIT License
15 stars 7 forks source link

Composer write response like error #15

Open renzors opened 7 years ago

renzors commented 7 years ago

I am using kudu API to call composer commands and I use Invoke-RestMethod of powershell for that. The commad runs fine, but response returns like error.

image

So, I have tried with kudu console and really it writes red messages, it looks like error but it is not.

image

renzors commented 7 years ago

I can see that extension does not register public keys and that throw internal warnings and show red messages, I have fixed this issue running "composer self-update --update-keys". I need to fix my composer.json file too, I have seen all these issues running "composer diagnose" command. If that fix the warning messages I can close this ticket.

vincent1173 commented 7 years ago

+1 @renzors , how did u resolve this issue ? I did "composer self-update " and added required keys. still, the logs are red.

SyntaxC4 commented 7 years ago

I have not modified how composer writes it's logs, so I don't think i'll be able to fix this issue. It might be worth raising an issue on the composer repo.

SyntaxC4 commented 6 years ago

One solution could be to add the composer self-update --update-keys to the WebJob that can run on a schedule to ensure it's done on a regular cadence