Report this

What is the reason for this report?

Super user (su -) credentials in app platform (node)

Posted on August 20, 2024

I have a pdf generation controller in my nodejs application which is running on the app platform. It requires me to use a version of Chromium; on my local machine (Mac os) it works seamlessly however when I try to install it on the app platform it asks me for the superuser credentials. How can I access this user’s password? it is not the same as the one available on the droplet.



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.

Heya,

You do not have superuser privileges on the App Platform. Since that platform is managed by DigitalOcean you don’t have such permissions.

You can try using a Dockerfile to install Chromium:

https://docs.digitalocean.com/products/app-platform/reference/dockerfile/

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.