SFDO-Tooling / Metecho

Web-based tool for collaborating on Salesforce projects
BSD 3-Clause "New" or "Revised" License
44 stars 34 forks source link

Create org not working #2146

Open krishnakolluneocol opened 10 months ago

krishnakolluneocol commented 10 months ago

The create scratch org process has been stuck like this

image

According to the logs, there appear to be an issue with the worker starting:

image

This is my heroku configuration:

image
krishnakolluneocol commented 10 months ago

@davidmreed - I'm researching why I'm getting a "cannot create directory 'opt': Read-only file system" error by the worker dyno.

I found a message from you on stackexchange indicating that "you are not limited to $HOME and /tmp." when writing to heroku's ephemeral file system.

https://salesforce.stackexchange.com/questions/372427/is-heroku-ephemeral-file-system-where-i-can-write-to-home-and-tmp

However, this is not the behavior I am seeing. Does some other configuration need to be enabled to turn this capability on?

jhilyard commented 4 months ago

The worker crash is in https://github.com/SFDO-Tooling/Metecho/pull/2042/commits -- if you go to .heroku/start_worker.sh and comment out the "mkdir -p" and "ln -s" lines the worker no longer crashes.