Metecho icon indicating copy to clipboard operation
Metecho copied to clipboard

Create org not working

Open krishnakolluneocol opened this issue 1 year ago • 2 comments

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 avatar Nov 09 '23 12:11 krishnakolluneocol

@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?

krishnakolluneocol avatar Nov 09 '23 12:11 krishnakolluneocol

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.

jhilyard avatar May 09 '24 00:05 jhilyard