Skip to content

Railpack: Superuser not granted, aborting installation #5007

Description

@smares

To Reproduce

  1. Configure remote server with non-root user for Dokploy (passwordless sudo)
  2. Create project
  3. Create application service and use remote server as target
  4. Configure Git repository
  5. Use Railpack as build type
  6. Deploy

Current vs. Expected behavior

I expected the application to be deployed, but got this during deployment:

! Escalated permissions are required to install to /usr/local/bin
sudo: A terminal is required to authenticate
x Superuser not granted, aborting installation
Error occurred ❌, check the logs for details.

Provide environment information

Operating System:
  OS: Ubuntu 26.04
  Arch: amd64
Dokploy version: 0.29.14
VPS Provider: Hetzner
Deploying Angular application

Which area(s) are affected? (Select all that apply)

Remote server

Are you deploying the applications where Dokploy is installed or on a remote server?

Remote server

Additional context

Setting up the remote server worked with a minor change to the script for the right version of Docker to be used. Also, using the terminal from within Dokploy to connect to the server and run sudo commands works fine as well.

Will you send a PR to fix it?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions