Code unable to push

Hello!

I am trying to make a wifi access point with this tutorial. I’ve made it through successfully up until the “Push the project code to your Raspberry Pi” step, but I’m struggling to get the code to push.

I’ve downloaded the code, and it exists within a folder Desktop/wifi-access-point. Whenever I try to push it, I keep getting the message, “Error: no “Dockerfile[.*]”, “docker-compose.yml” or “package.json” file found in source folder “.””.

I saw that someone else was also having the same issue here, but running balena login --web doesn’t help with the error (I ran this command within the unzipped folder and re-ran the command, and also repeated those steps within the folder containing the zipped/unzipped files), and as for the second solution, I’m using a Mac so I don’t have access to Windows Terminal.

Does anyone have any advice? I’m quite lost at this point, so anything would be appreciated! Thank you!

Hello @OrangePink first of all welcome to the balea community.

Did you try to access to the wifi-repeater folder? do you see the dockerfile files or docker-compose files there?

Feel free to share more screenshots to try to help you!

Hi mpous!
Thanks for replying, and thanks for the welcome!

Here’s some additional context for things I’ve tried (sorry in advance, it will be in multiple replies since I can only post a single piece of embedded media in a post):

Here is the content of the directory (Desktop/wifi-access-point) I’m trying to run the command in (looks like package.json, docker-compose.yml, and Dockerfile.template all exist):

And here is how my dashboard looks for the device:

Within the wifi-access-point directory, I have tried running (in addition to ‘balena push wifi-repeater’ as shown above):

And within the wifi-repeater folder within wifi-access-point (unzipped folder from the GitHub download) I have run:

Again, thank you! And thanks to anyone who takes a look :slight_smile:

try balena push and the complete name of the fleet. There is a copy and paste button next to ilovepie on balenaCloud

Thank you for you help!! That worked!
If anyone else has the same issue, I ran “balena push ” inside the unzipped directory and that fixed it

1 Like