balena-io / open-balena

Open source software to manage connected IoT devices at scale
https://balena.io/open
GNU Affero General Public License v3.0
1.03k stars 162 forks source link

'make up' not working #219

Closed djohnson-mulytic closed 1 month ago

djohnson-mulytic commented 1 month ago

Hey all, I'm new to this and using the commands here (https://open-balena.pages.dev/getting-started/) Everything was fine until I got to:

export DNS_TLD=mydomain.com make up

I get: Makefile:7: .env: No such file or directory make: *** No rule to make target '.env'. Stop.

I am using Ubuntu on AWS, not sure where I've gone wrong, if anyone has ideas, I'd love to hear them. Thanks again

ab77 commented 1 month ago

There appears to be an issue with a fresh install where the Makefile expects .env to exist. Workaround could be a simple touch .env prior to running make up or changing to Makefile line 7 from include .. to -include .. cc @klutchell

ab77 commented 1 month ago

https://github.com/balena-io/open-balena/pull/222

ab77 commented 1 month ago

@djohnson-mulytic should be fixed now.

djohnson-mulytic commented 1 month ago

Wow, you are EXACTLY right, thanks so much for the fast response and getting it working. Really do appreciate you taking the time. Thanks again