Join the Webstudio community

Updated 2 months ago

Self-host local builder on linux vm help

At a glance

The community member is running an Unraid server with a fresh Ubuntu 25.04 VM install. They are following steps from a Discord thread to set up a development environment, including installing Docker, cloning a repository, and running various npm and devcontainer commands. However, they are encountering an ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL error, which they are able to resolve by running additional commands. The community member has also added firewall rules for several ports, but one port (5473) is not showing up when checking the open ports. They have tried appending the port to the containerenv file and rebuilding, but this did not resolve the issue.

Useful resources
Hello πŸ‘‹πŸΌ I've been banging my head on this for the past few days. I'm running this on an Unraid server, with a fresh Ubuntu 25.04 vm install. A big help is the information provided from this thread https://discord.com/channels/955905230107738152/1353303593800962048


The following are the steps on how I have the vm set up:
Installed docker via steps from
sudo apt install npm
git clone https://github.com/webstudio-is/webstudio.git

sudo npm install -g @devcontainers/cli
sudo npm install -g prisma
sudo npm install -g pnpm

sudo devcontainer up --workspace-folder webstudio/
For no consistent reason at all, the above command *might* result in a  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL error, despite reinstalling numerous times. The below commands fix the issue and can move on:

sudo devcontainer exec --workspace-folder webstudio/ bash
sudo chown -R "$(whoami)":"$(whoami)" /workspaces/webstudio/
pnpm install
exit

sudo devcontainer exec --workspace-folder webstudio/ pnpm migrations migrate
sudo devcontainer exec --workspace-folder webstudio/ pnpm dev

I've made sure to add ports 3000, 5432 and 5173 to ufw rules but 5473 is the only one not showing up when running sudo ss -tuln. I've tried appending the port to the containerenv file and rebuild but made no difference, so currently at a crossroad
Add a reply
Sign up and join the conversation on Discord