Fork me on GitHub
#biff
<
2023-11-13
>
Lyn Headley17:11:34

Investigating an issue with bb deploy

bb deploy
Identity added: /home/laheadle/.ssh/id_rsa (/home/laheadle/.ssh/id_rsa)
Started an ssh-agent session. If you set up `keychain`, you won't have to enter your password each time you run this command: 

Rebuilding...

Done in 1154ms.
sh: 1: rsync: not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=3.2.3]
Error while executing task: deploy
>
>
>
> rsync -V
rsync  version 3.2.3  protocol version 31

🙀 1
Lyn Headley17:11:54

Solved it by installing rsync on prod box

Lyn Headley17:11:29

(I saw the note about that in the docs, but misunderstood it)

Jacob O'Bryant17:11:46

👍 👍 was this a default DO install, or something else? we could add rsync to the apt-get install command in server-setup.sh if it'd be helpful

Lyn Headley17:11:10

something else...found a cheap http://letbox.com box, 8

Lyn Headley17:11:27

8 Gigs of mem, 20G fast disk for 100/year

Lyn Headley18:11:24

I am good, your call on the change 🙂

Lyn Headley18:11:03

I guess I should have installed bb

👍 1
Lyn Headley18:11:08

> bb logs
-- Logs begin at Thu 2023-11-09 20:10:04 GMT. --
Nov 13 17:57:17  systemd[1]: Started app.
Nov 13 17:57:17  sh[100331]: /bin/sh: 1: bb: not found
Nov 13 17:57:17  systemd[1]: app.service: Main process exited, code=exited, status=127/n/a
Nov 13 17:57:17  systemd[1]: app.service: Failed with result 'exit-code'.
Nov 13 17:57:22  systemd[1]: app.service: Scheduled restart job, restart counter is at 1.
Nov 13 17:57:22  systemd[1]: Stopped app.
Nov 13 17:57:22  systemd[1]: Started app.

Lyn Headley18:11:55

I guess server-setup.sh failed somewhere

Lyn Headley18:11:51

I see, it expected curl

Lyn Headley18:11:20

ooh...I see the web server starting up

👍 1
Jacob O'Bryant18:11:51

> 8 Gigs of mem, 20G fast disk for 100/year wow, I might need to look into that...

Lyn Headley18:11:44

Holy crap I'm in production. I want to thank my mother.

🎉 5
🎅 2
clojure-spin 4
💥 3
1
🪄 2
macrobartfast19:11:07

Congratulations!! Wow... well done!

macrobartfast19:11:34

And gratitude for the help you've given me and others.

👍 1
macrobartfast19:11:48

Going through the eelchat tutorial again and it is wonderful.

🙂 2