balena-os / wifi-connect

Easy WiFi setup for Linux devices from your mobile phone or laptop
Apache License 2.0
1.3k stars 365 forks source link

Unexpected end of file? #481

Closed jakepurple13 closed 1 year ago

jakepurple13 commented 1 year ago

I'm running the install script and running into this error:

bash <(curl -L https://github.com/balena-io/wifi-connect/raw/master/scripts/raspbian-install.sh)
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4624  100  4624    0     0   7422      0 --:--:-- --:--:-- --:--:--  123k
WiFi Connect Raspbian Installer: Retrieving latest release from https://api.github.com/repos/balena-os/wifi-connect/releases/latest...
WiFi Connect Raspbian Installer: Downloading and extracting ...
WiFi Connect Raspbian Installer: command failed: curl -Ls

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

This is from a near clean install of Rasbian. Am I missing something here?

webbhm commented 1 year ago

Having the same thing on a Raspberry Pi Zero W, fresh download and install of the OS (Rasbian).

majorz commented 1 year ago

It looks like this was indeed broken in the latest v4.11.1 release as the new CI currently does not produce binaries for the Armv6 architecture which is used by the Raspbian installer. A quick fix would be to point the installer script to the older release - v4.4.6 , which has a Armv6 binary. That is to make the RELEASE_URL variable point to releases/45509064 instead of releases/latest.

majorz commented 1 year ago

This is now addressed and should be working again.

WebbPeter commented 1 year ago

Confirmed that this has been resolved @webbhm. Thanks @majorz