bytesizedhosting / bcd

The Bytesized Connect Daemon - https://bytesized-hosting.com/connect
GNU General Public License v3.0
51 stars 19 forks source link

BCD Install doesn't work anymore #37

Closed mbausch closed 7 years ago

mbausch commented 7 years ago

@maran Since the update 2 days ago, I see this:

matt@plex:~$ sudo APIKEY=**Key removed** APISECRET=**secret also nuked** bash < <(curl -fsSL https://download.bytesized-hosting.com/install-bcd)
No LSB modules are available.
===> 18:37:38.439 Found Ubuntu version 14.04
===> 18:37:38.442 Installing Docker
===> 18:37:38.446 running "apt-get update"
<...>
Reading package lists... Done
===> 18:38:08.018 running "apt-get install -y docker-engine"
Reading package lists... Done
Building dependency tree
Reading state information... Done
docker-engine is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 175 not upgraded.
===> 18:38:09.308 Downloading latest BCD release
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13.8M  100 13.8M    0     0  18.4M      0 --:--:-- --:--:-- --:--:-- 18.4M
===> 18:38:10.088 running "chmod +x /usr/local/bin/bcd"
===> 18:38:10.094 Downloading latest BCD-Proxy release
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10.3M  100 10.3M    0     0  17.0M      0 --:--:-- --:--:-- --:--:-- 17.0M
===> 18:38:10.727 running "chmod +x /usr/local/bin/bcd-proxy"
===> 18:38:10.734 Checking for bytesized user
===> 18:38:10.742 0 <- is status

===> 18:38:10.747 running "sudo -u bytesized /usr/local/bin/bcd init 589cad9bd1e40214df0000e2 9fa615d219326194ed7e090acc73029543ceaffb36586d16" /usr/local/bin/bcd: 3: /usr/local/bin/bcd: Syntax error: word unexpected (expecting ")") ===> 18:38:10.786 ERROR: failed to run "sudo -u bytesized /usr/local/bin/bcd init 589cad9bd1e40214df0000e2 9fa615d219326194ed7e090acc73029543ceaffb36586d16", exit status 2 matt@plex:~$

What does bcd init call?

michaeldiestelberg commented 7 years ago

Same here, slightly different error:

/usr/local/bin/bcd init xxx yyy -bash: /usr/local/bin/bcd: cannot execute binary file: Exec format error

Tried on freshly installed Ubuntu 14.04 and 16.04.

maran commented 7 years ago

Thanks guys. I will check it out ASAP. I changed the build scripts a bit and although the upgrade worked I didn't check fresh installs.

Op zo 12 feb. 2017 10:40 schreef michaeldiestelberg < notifications@github.com>:

Same here, slightly different error:

/usr/local/bin/bcd init xxx yyy -bash: /usr/local/bin/bcd: cannot execute binary file: Exec format error

Tried on freshly installed Ubuntu 14.04 and 16.04.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/bytesizedhosting/bcd/issues/37#issuecomment-279207099, or mute the thread https://github.com/notifications/unsubscribe-auth/AABRd0ZoZdKmZl-LqdoFqXstaDMmai3yks5rbtOZgaJpZM4L-QaK .

--

Sent from a mobile device excuse the brevity.

mbausch commented 7 years ago

It started by breaking my upgrade. :)

On Feb 12, 2017 2:46 AM, "Maran" notifications@github.com wrote:

Thanks guys. I will check it out ASAP. I changed the build scripts a bit and although the upgrade worked I didn't check fresh installs.

Op zo 12 feb. 2017 10:40 schreef michaeldiestelberg < notifications@github.com>:

Same here, slightly different error:

/usr/local/bin/bcd init xxx yyy -bash: /usr/local/bin/bcd: cannot execute binary file: Exec format error

Tried on freshly installed Ubuntu 14.04 and 16.04.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/bytesizedhosting/bcd/issues/ 37#issuecomment-279207099, or mute the thread https://github.com/notifications/unsubscribe-auth/AABRd0ZoZdKmZl- LqdoFqXstaDMmai3yks5rbtOZgaJpZM4L-QaK .

--

Sent from a mobile device excuse the brevity.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bytesizedhosting/bcd/issues/37#issuecomment-279210076, or mute the thread https://github.com/notifications/unsubscribe-auth/AI45RVT6W9bfHW5ZiJa6EfhVaK14091pks5rbuMegaJpZM4L-QaK .

chughes13x commented 7 years ago

I tried to upgrade as well and it broke everything, and idea as to how to revert back to an old version in the meantime?

maran commented 7 years ago

Sorry for this guys. It seemed I uploaded OSX binaries by mistake. An other reason not to do Friday releases... I uploaded the correct binaries now, upgrading again should hopefully fix any lingering issues.