papakay
Hello, please i’m having issue deploying to a digitalocean droplet (Ubuntu 16.04.3).
Please find below the error details:
Output of the command is shown above and the command executed
on that host is printed below for debugging purposes:
FAILED with exit status 255:
current_shell="$0" || :
[ -z "$current_shell" ] && current_shell="$SHELL"
case "$current_shell" in
(*bash*) echo 'bash is installed and the default shell' ;;
(*zsh*) echo 'zsh is installed and the default shell' ;;
(*)
echo
echo "You are using an unsupported shell: '$current_shell'"
echo "edeliver requires either bash or zsh to be installed"
echo "and the default shell for the build user 'kehinde'"
echo "on your build host: '46.101.30.23'."
exit 1
;;
esac
set -e
if [ ! -d /home/kehinde/app_name/builds ]
then
mkdir -p /home/kehinde/app_name/builds
cd /home/kehinde/app_name/builds
git init
git config receive.denyCurrentBranch ignore
else
cd /home/kehinde/app_name/builds
git config receive.denyCurrentBranch ignore
fi
Trending in Questions
Hello!
Suppose you are building workflow (order / task / payment) processing system with the following requirements:
Each workflow con...
New
Hey guys,
I’ve got a huge CSV ( around 10 GB ) that needs to be processed hourly
Do you guys have any suggestions what is the best prac...
New
Kia ora,
We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
Hello!
Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app.
I creat...
New
I have what I’ve heard referred to as a “lookup table” in my database. This is a way of assigning codes to common values. One common lo...
New
Hello,
I’m developing a online persistent chat system (what’s app) like using elixir/dynamodb/aws for a mobile app(flutter).
The diffic...
New
What approach to take when sending live updates to “random” users Hi! I have a question, I have a little chat app, and when I create a DM...
New
Other Trending Topics
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
There are three potential reasons for members of this forum to have a look at https://vutuv.de
You are tired or annoyed of LinkedIn.
Yo...
New
ICal is a library for interacting with iCalendar data. It parses iCalendars into typed Elixir structs via ICal.from_ics, and can prepare ...
New
Latest Phoenix Threads
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #ai
- #phoenix_html
- #elixirconf-us
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
papakay
kokolegorille
The shell used is the one defined for the user kehinde.
You could get this information on your server with…
My bet is your deployement user is defined to use /bin/sh
You can change this with
If You have access to sudo.
papakay
Thanks immensely @kokolegorille.
The output of
cat /etc/passwd | grep kehindeI believe this output already shows that the default shell is /bin/bash.
kokolegorille
Yes it does… the shell used is the last field
papakay
The output of this is
papakay
Please i’m a little bit curious about the localhost under the authorizing 46.101.30.23 on localhost Does this have anything to do with the error?
kokolegorille
I am sorry, I have little experience with edeliver as I deploy manually.
But what I can tell is the user shell is ok, that would mean the rest is in error.
I cannot really help You, but I would try to run each commands separately, to check which one is failing.
alexandrubagu
Do you have
gitinstalled ? Edeliver adds your build machine as remote and uses the ssh protocol to push the source code of your app there. you can check that by running git remote -v show in you project directory after building on the build host. It shows something like that:papakay
Thanks. @kokolegorille
papakay
Thanks so much @alexandrubagu. Yes i have git installed on the build host. Please see below the output of the command.