Report this

What is the reason for this report?

App Platform: unable to retrieve container logs

Posted on November 11, 2020

I’m trying to migrate a typescript node.js app from Heroku to the App Platform.

It looks like the build phase completes correctly. But it seems that there is an error during the deploy phase. Unfortunately when I try to access the deploy logs, I get this error:

lindale-xxx unable to retrieve container logs for containerd://2ef...3f8

https://imgur.com/ub9AZIG

I get this error both from the dashboard, and from doctl.

Also, while deployment is running, the live logs work fine up until the line => Build complete. Then nothing is appended to the live logs anymore.

Is this expected when deploy fails? If not, is there another way to access the logs?

Thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @Lindale,

Sorry about that. This is a known issue that we’re currently working on addressing. Under certain conditions where the app container crashes very quickly after starting, you may receive the unable to retrieve container logs error message. You might still be able to retrieve the logs using doctl by passing the --type RUN and --follow flags to the doctl apps logs command.

If you open a support ticket we can look at your app specifically and may be able to retrieve the logs for you until the issue is fixed. I hope that helps!

I am getting the same errors here, its really frustrating

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.