IOTstack icon indicating copy to clipboard operation
IOTstack copied to clipboard

New install: domoticz fails to install, missing "IOTstack/services/domoticz/domoticz.env"

Open zeddski opened this issue 5 years ago • 3 comments

And that's about it...

  • Clean install
  • ./menu
  • Build Stack

  • {select domoticz}
  • start stack Result: `Start Stack: docker-compose up -d --remove-orphans ERROR: Couldn't find env file: /home/pi/IOTstack/services/domoticz/domoticz.env

Stack Started Process terminated. Press [Enter] to show menu and continue. `

zeddski avatar Jan 13 '21 20:01 zeddski

Unfortunatelly I have the same issue! Hopefully help is coming!

kkoletz avatar Jan 21 '21 01:01 kkoletz

I have just prepared Pull Request 249 for this. How long it will be before this change is applied is an open question.

In the meantime, you can EITHER:

  • follow the instructions at this gist to apply PR249 to your local copy, then run-run the menu; OR

  • Edit both of the following files:

    /IOTstack/services/domoticz/service.yml
    /IOTstack/docker-compose.yml
    

    In each case, you will be looking for these two lines:

       env_file:
         - ./services/domoticz/domoticz.env      
    

    Delete both of those lines. Save the file. Then bring up the stack again with:

     cd ~/IOTstack
     docker-compose up -d
    

Paraphraser avatar Jan 21 '21 02:01 Paraphraser

See also Issue 210.

Paraphraser avatar Jan 21 '21 04:01 Paraphraser