anystack-sh/porter

Supervisord config not found

Opened this issue · 4 comments

Hello!

I followed the instructions in the docs:

  1. Installed software
  2. Executed porter init
  3. Modified porter.yaml
  4. Executed porter add

and then I received the following error:

$ porter add
Adding <path>/porter.yml: ✔

 Porter must be running to use this command. Do you want to start Porter? (yes/no) [yes]:
 > y

Error: could not find config file /home/<username>/.porter/supervisord.conf
For help, use /usr/bin/supervisord -h

In SupervisordRepository.php line 171:

  [App\Exceptions\SupervisordConnectionRefusedException]

However, I checked and the supervisor config did exist, I tried removing it according to #8, but I still couldn't get porter to start until I executed porter start.

Hello!
Which OS are you running?

Hello!

I'm running Pop!_OS 22, which is based on Ubuntu 22.

So if I understand correctly, running porter start works, but when using porter add and starting porter this way it fails. Is that correct?

Yes, at least on the first start.