App Platform: unable to retrieve container logs

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

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?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I am getting the same errors here, its really frustrating

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!