FarmBot / Farmbot-Web-App

Setup, customize, and control FarmBot from any device
https://my.farm.bot
MIT License
899 stars 334 forks source link

Dokku error #302

Closed innovatemaker closed 7 years ago

innovatemaker commented 7 years ago

Enter passphrase for key '/root/.ssh/root': Enter passphrase for key '/root/.ssh/root': Counting objects: 11394, done. Delta compression using up to 2 threads. Compressing objects: 100% (4215/4215), done. Writing objects: 100% (11394/11394), 7.52 MiB | 13.89 MiB/s, done. Total 11394 (delta 6822), reused 11394 (delta 6822) -----> Cleaning up... -----> Building farmbot-web-app from herokuish... -----> Adding BUILD_ENV to build environment... -----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used. Detected buildpacks: multi ruby nodejs -----> Multipack app detected =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git To dokku@95.31.1.59:farmbot-web-app ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'dokku@95.31.1.59/:farmbot-web-app' root@debian:~/farmbot-web-app1#

RickCarlino commented 7 years ago

You will need to enable DOKKU_TRACE to see an error message.

innovatemaker commented 7 years ago

dokku trace on

2016-12-05 17 52 07

RickCarlino commented 7 years ago

@Daniil145 I will need to see the full log. It looks like there were more error messages above that screen shot.

Also, be sure your VM has enough memory. 512mb is usually not enough to run a server and is unfortunately the default value for many VPS services.

innovatemaker commented 7 years ago
 i have 4gb memory and clean server(real dont vps)
 git push agro-bot.ru master
Enter passphrase for key '/root/.ssh/root':
+ case "$(lsb_release -si)" in
++ lsb_release -si
+ export DOKKU_DISTRO=debian
+ DOKKU_DISTRO=debian
+ export DOKKU_IMAGE=gliderlabs/herokuish
+ DOKKU_IMAGE=gliderlabs/herokuish
+ export DOKKU_LIB_ROOT=/var/lib/dokku
+ DOKKU_LIB_ROOT=/var/lib/dokku
+ export PLUGIN_PATH=/var/lib/dokku/plugins
+ PLUGIN_PATH=/var/lib/dokku/plugins
+ export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ export DOKKU_API_VERSION=1
+ DOKKU_API_VERSION=1
+ export DOKKU_NOT_IMPLEMENTED_EXIT=10
+ DOKKU_NOT_IMPLEMENTED_EXIT=10
+ export DOKKU_VALID_EXIT=0
+ DOKKU_VALID_EXIT=0
+ export DOKKU_LOGS_DIR=/var/log/dokku
+ DOKKU_LOGS_DIR=/var/log/dokku
+ export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ export DOKKU_CONTAINER_LABEL=dokku
+ DOKKU_CONTAINER_LABEL=dokku
+ export DOKKU_GLOBAL_RUN_ARGS=--label=dokku
+ DOKKU_GLOBAL_RUN_ARGS=--label=dokku
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ parse_args git-receive-pack ''\''farmbot-web-app'\'''
+ declare 'desc=top-level cli arg parser'
+ local next_index=1
+ local skip=false
+ args=("$@")
+ local args
+ for arg in '"$@"'
+ false
+ case "$arg" in
+ local next_index=2
+ for arg in '"$@"'
+ false
+ case "$arg" in
+ local next_index=3
+ return 0
+ args=("$@")
+ [[ git-receive-pack =~ ^--.* ]]
+ has_tty
+ declare 'desc=return 0 if we have a tty'
++ /usr/bin/tty
++ true
+ [[ не телетайп == \n\o\t\ \a\ \t\t\y ]]
+ return 0
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
++ id -un
+ [[ dokku != \r\o\o\t ]]
+ [[ git-receive-pack =~ ^plugin:.* ]]
++ id -un
+ [[ dokku != \r\o\o\t ]]
+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\a\d\d ]]
+ [[ -n git-receive-pack 'farmbot-web-app' ]]
+ export -n SSH_ORIGINAL_COMMAND
+ [[ git-receive-pack =~ config-* ]]
+ [[ git-receive-pack =~ docker-options* ]]
+ set -f
+ /usr/bin/dokku git-receive-pack ''\''farmbot-web-app'\'''
+ case "$(lsb_release -si)" in
++ lsb_release -si
+ export DOKKU_DISTRO=debian
+ DOKKU_DISTRO=debian
+ export DOKKU_IMAGE=gliderlabs/herokuish
+ DOKKU_IMAGE=gliderlabs/herokuish
+ export DOKKU_LIB_ROOT=/var/lib/dokku
+ DOKKU_LIB_ROOT=/var/lib/dokku
+ export PLUGIN_PATH=/var/lib/dokku/plugins
+ PLUGIN_PATH=/var/lib/dokku/plugins
+ export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ export DOKKU_API_VERSION=1
+ DOKKU_API_VERSION=1
+ export DOKKU_NOT_IMPLEMENTED_EXIT=10
+ DOKKU_NOT_IMPLEMENTED_EXIT=10
+ export DOKKU_VALID_EXIT=0
+ DOKKU_VALID_EXIT=0
+ export DOKKU_LOGS_DIR=/var/log/dokku
+ DOKKU_LOGS_DIR=/var/log/dokku
+ export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ export DOKKU_CONTAINER_LABEL=dokku
+ DOKKU_CONTAINER_LABEL=dokku
+ export DOKKU_GLOBAL_RUN_ARGS=--label=dokku
+ DOKKU_GLOBAL_RUN_ARGS=--label=dokku
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ parse_args git-receive-pack ''\''farmbot-web-app'\'''
+ declare 'desc=top-level cli arg parser'
+ local next_index=1
+ local skip=false
+ args=("$@")
+ local args
+ for arg in '"$@"'
+ false
+ case "$arg" in
+ local next_index=2
+ for arg in '"$@"'
+ false
+ case "$arg" in
+ local next_index=3
+ return 0
+ args=("$@")
+ [[ git-receive-pack =~ ^--.* ]]
+ has_tty
+ declare 'desc=return 0 if we have a tty'
++ /usr/bin/tty
++ true
+ [[ не телетайп == \n\o\t\ \a\ \t\t\y ]]
+ return 0
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
++ id -un
+ [[ dokku != \r\o\o\t ]]
+ [[ git-receive-pack =~ ^plugin:.* ]]
++ id -un
+ [[ dokku != \r\o\o\t ]]
+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\a\d\d ]]
+ [[ -n '' ]]
+ dokku_auth git-receive-pack ''\''farmbot-web-app'\'''
+ declare 'desc=calls user-auth plugin trigger'
+ export SSH_USER=dokku
+ SSH_USER=dokku
+ export SSH_NAME=admin
+ SSH_NAME=admin
+ plugn trigger user-auth dokku admin git-receive-pack ''\''farmbot-web-app'\'''
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ [[ ! -n '' ]]
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ [[ git-receive-pack =~ (ssh-keys:add|ssh-keys:remove) ]]
+ return 0
+ case "$1" in
+ execute_dokku_cmd git-receive-pack ''\''farmbot-web-app'\'''
+ declare 'desc=executes dokku sub-commands'
+ local PLUGIN_NAME=git-receive-pack
+ local PLUGIN_CMD=git-receive-pack
+ local implemented=0
+ local script
+ argv=("$@")
+ local argv
+ case "$PLUGIN_NAME" in
++ readlink -f /var/lib/dokku/plugins/enabled/git-receive-pack
+ [[ /var/lib/dokku/plugins/enabled/git-receive-pack == *core-plugins* ]]
+ [[ -x /var/lib/dokku/plugins/enabled/git-receive-pack/subcommands/default ]]
+ [[ -x /var/lib/dokku/plugins/enabled/git-receive-pack/subcommands/git-receive-                                                                                                                                                             pack ]]
+ [[ -x /var/lib/dokku/plugins/enabled/git-receive-pack/subcommands/git-receive-                                                                                                                                                             pack ]]
+ [[ 0 -eq 0 ]]
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-receive-pack ''\                                                                                                                                                             ''farmbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/20_events/commands git-receive-pack ''\''farmbo                                                                                                                                                             t-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/apps/commands git-receive-pack ''\''farmbot-web                                                                                                                                                             -app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/certs/commands git-receive-pack ''\''farmbot-we                                                                                                                                                             b-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/checks/commands git-receive-pack ''\''farmbot-w                                                                                                                                                             eb-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/config/commands git-receive-pack ''\''farmbot-w                                                                                                                                                             eb-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/docker-options/commands git-receive-pack ''\''f                                                                                                                                                             armbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/domains/commands git-receive-pack ''\''farmbot-                                                                                                                                                             web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/enter/commands git-receive-pack ''\''farmbot-we                                                                                                                                                             b-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/git/commands git-receive-pack ''\''farmbot-web-                                                                                                                                                             app'\'''
+ source /var/lib/dokku/plugins/available/git/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
++ source /var/lib/dokku/core-plugins/available/common/functions
+++ set -eo pipefail
+++ [[ -n 1 ]]
+++ set -x
++ source /var/lib/dokku/plugins/available/apps/functions
+++ set -eo pipefail
+++ [[ -n 1 ]]
+++ set -x
+++ source /var/lib/dokku/core-plugins/available/common/functions
++++ set -eo pipefail
++++ [[ -n 1 ]]
++++ set -x
+++ source /var/lib/dokku/plugins/available/config/functions
++++ set -eo pipefail
++++ [[ -n 1 ]]
++++ set -x
++++ source /var/lib/dokku/core-plugins/available/common/functions
+++++ set -eo pipefail
+++++ [[ -n 1 ]]
+++++ set -x
++ source /var/lib/dokku/plugins/available/config/functions
+++ set -eo pipefail
+++ [[ -n 1 ]]
+++ set -x
+++ source /var/lib/dokku/core-plugins/available/common/functions
++++ set -eo pipefail
++++ [[ -n 1 ]]
++++ set -x
+ case "$1" in
+ git_glob_cmd git-receive-pack ''\''farmbot-web-app'\'''
+ declare 'desc=catch-all for any other git-* commands'
+ local 'cmd=git-*'
++ echo ''\''farmbot-web-app'\'''
++ sed 's/\\'\''/'\''/g'
++ sed 's/^\///g'
++ perl -pe 's/(?<!\\)'\''//g'
+ local APP=farmbot-web-app
+ local APP_PATH=/home/dokku/farmbot-web-app
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ [[ ! -d /home/dokku/farmbot-web-app/refs ]]
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ local 'args=git-receive-pack '\''/home/dokku/farmbot-web-app'\'''
+ git-shell -c 'git-receive-pack '\''/home/dokku/farmbot-web-app'\'''
Counting objects: 11398, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4219/4219), done.
Writing objects: 100% (11398/11398), 7.52 MiB | 13.80 MiB/s, done.
Total 11398 (delta 6824), reused 11393 (delta 6822)
remote: + case "$(lsb_release -si)" in
remote: ++ lsb_release -si
remote: + export DOKKU_DISTRO=debian
remote: + DOKKU_DISTRO=debian
remote: + export DOKKU_IMAGE=gliderlabs/herokuish
remote: + DOKKU_IMAGE=gliderlabs/herokuish
remote: + export DOKKU_LIB_ROOT=/var/lib/dokku
remote: + DOKKU_LIB_ROOT=/var/lib/dokku
remote: + export PLUGIN_PATH=/var/lib/dokku/plugins
remote: + PLUGIN_PATH=/var/lib/dokku/plugins
remote: + export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/availabl                                                                                                                                                             e
remote: + PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
remote: + export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + export DOKKU_API_VERSION=1
remote: + DOKKU_API_VERSION=1
remote: + export DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + export DOKKU_VALID_EXIT=0
remote: + DOKKU_VALID_EXIT=0
remote: + export DOKKU_LOGS_DIR=/var/log/dokku
remote: + DOKKU_LOGS_DIR=/var/log/dokku
remote: + export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + export DOKKU_CONTAINER_LABEL=dokku
remote: + DOKKU_CONTAINER_LABEL=dokku
remote: + export DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + parse_args git-hook farmbot-web-app
remote: + declare 'desc=top-level cli arg parser'
remote: + local next_index=1
remote: + local skip=false
remote: + args=("$@")
remote: + local args
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=2
remote: + for arg in '"$@"'
remote: + false
remote: + case "$arg" in
remote: + local next_index=3
remote: + return 0
remote: + args=("$@")
remote: + [[ git-hook =~ ^--.* ]]
remote: + has_tty
remote: + declare 'desc=return 0 if we have a tty'
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ не телетайп == \n\o\t\ \a\ \t\t\y ]]
remote: + return 0
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: ++ id -un
remote: + [[ dokku != \r\o\o\t ]]
remote: + [[ git-hook =~ ^plugin:.* ]]
remote: ++ id -un
remote: + [[ dokku != \r\o\o\t ]]
remote: + [[ git-hook == \s\s\h\-\k\e\y\s\:\a\d\d ]]
remote: + [[ -n '' ]]
remote: + dokku_auth git-hook farmbot-web-app
remote: + declare 'desc=calls user-auth plugin trigger'
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=admin
remote: + SSH_NAME=admin
remote: + plugn trigger user-auth dokku admin git-hook farmbot-web-app
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ git-hook =~ (ssh-keys:add|ssh-keys:remove) ]]
remote: + return 0
remote: + case "$1" in
remote: + execute_dokku_cmd git-hook farmbot-web-app
remote: + declare 'desc=executes dokku sub-commands'
remote: + local PLUGIN_NAME=git-hook
remote: + local PLUGIN_CMD=git-hook
remote: + local implemented=0
remote: + local script
remote: + argv=("$@")
remote: + local argv
remote: + case "$PLUGIN_NAME" in
remote: ++ readlink -f /var/lib/dokku/plugins/enabled/git-hook
remote: + [[ /var/lib/dokku/plugins/enabled/git-hook == *core-plugins* ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-hook/subcommands/default ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-hook/subcommands/git-hook ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-hook/subcommands/git-hook ]]
remote: + [[ 0 -eq 0 ]]
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-hook far                                                                                                                                                             mbot-web-app
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/20_events/commands git-hook farmbot-web                                                                                                                                                             -app
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/apps/commands git-hook farmbot-web-app
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/certs/commands git-hook farmbot-web-ap
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/checks/commands git-hook farmbot-web-ap                                                                                                                                                             p
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/config/commands git-hook farmbot-web-ap                                                                                                                                                             p
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/docker-options/commands git-hook farmbo                                                                                                                                                             t-web-app
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/domains/commands git-hook farmbot-web-a                                                                                                                                                             pp
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/enter/commands git-hook farmbot-web-ap
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/git/commands git-hook farmbot-web-app
remote: + source /var/lib/dokku/plugins/available/git/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: ++ source /var/lib/dokku/plugins/available/apps/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
remote: ++++ set -eo pipefail
remote: ++++ [[ -n 1 ]]
remote: ++++ set -x
remote: +++ source /var/lib/dokku/plugins/available/config/functions
remote: ++++ set -eo pipefail
remote: ++++ [[ -n 1 ]]
remote: ++++ set -x
remote: ++++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++++ set -eo pipefail
remote: +++++ [[ -n 1 ]]
remote: +++++ set -x
remote: ++ source /var/lib/dokku/plugins/available/config/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
remote: ++++ set -eo pipefail
remote: ++++ [[ -n 1 ]]
remote: ++++ set -x
remote: + case "$1" in
remote: + git_hook_cmd git-hook farmbot-web-app
remote: + declare 'desc=kick off receive-app trigger from git prereceive hook'
remote: + local cmd=git-hook
remote: + local APP=farmbot-web-app
remote: + local oldrev newrev refname
remote: + read -r oldrev newrev refname
remote: + [[ refs/heads/master = \r\e\f\s\/\h\e\a\d\s\/\m\a\s\t\e\r ]]
remote: + plugn trigger receive-app farmbot-web-app 4caa42bbbfaffa408c265f9744a2                                                                                                                                                             49f1fb04d937
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + source /var/lib/dokku/plugins/available/git/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: ++ source /var/lib/dokku/plugins/available/apps/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
remote: ++++ set -eo pipefail
remote: ++++ [[ -n 1 ]]
remote: ++++ set -x
remote: +++ source /var/lib/dokku/plugins/available/config/functions
remote: ++++ set -eo pipefail
remote: ++++ [[ -n 1 ]]
remote: ++++ set -x
remote: ++++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++++ set -eo pipefail
remote: +++++ [[ -n 1 ]]
remote: +++++ set -x
remote: ++ source /var/lib/dokku/plugins/available/config/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
remote: ++++ set -eo pipefail
remote: ++++ [[ -n 1 ]]
remote: ++++ set -x
remote: + git_receive_app farmbot-web-app 4caa42bbbfaffa408c265f9744a249f1fb04d937
remote: + declare 'desc=git receive-app plugin trigger'
remote: + local trigger=git_receive_app
remote: + local APP=farmbot-web-app
remote: + local REV=4caa42bbbfaffa408c265f9744a249f1fb04d937
remote: + [[ ! -d /home/dokku/farmbot-web-app/refs ]]
remote: + acquire_app_deploy_lock farmbot-web-app exclusive
remote: + declare 'desc=acquire advisory lock for use in git/tar deploys'
remote: + local APP=farmbot-web-app
remote: + verify_app_name farmbot-web-app
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=farmbot-web-app
remote: + [[ ! -n farmbot-web-app ]]
remote: + [[ ! farmbot-web-app =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/farmbot-web-app ]]
remote: + return 0
remote: + local LOCK_TYPE=exclusive
remote: + local APP_DEPLOY_LOCK_FD=200
remote: + local APP_DEPLOY_LOCK_FILE=/home/dokku/farmbot-web-app/.deploy.lock
remote: + local 'LOCK_WAITING_MSG=farmbot-web-app is currently being deployed. Waiting...'
remote: + local 'LOCK_FAILED_MSG=farmbot-web-app is currently being deployed. Exiting...'
remote: + local SHOW_MSG=true
remote: + eval 'exec 200>/home/dokku/farmbot-web-app/.deploy.lock'
remote: ++ exec
remote: + [[ exclusive == \w\a\i\t\i\n\g ]]
remote: + flock -n 200
remote: + git_build farmbot-web-app 4caa42bbbfaffa408c265f9744a249f1fb04d937
remote: + declare 'desc=setup and call git_build_app_repo'
remote: + local APP=farmbot-web-app
remote: + [[ 2 -ge 2 ]]
remote: + local REF=4caa42bbbfaffa408c265f9744a249f1fb04d937
remote: + git_build_app_repo farmbot-web-app 4caa42bbbfaffa408c265f9744a249f1fb04d937
remote: + declare 'desc=builds local git app repo for app'
remote: + verify_app_name farmbot-web-app
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=farmbot-web-app
remote: + [[ ! -n farmbot-web-app ]]
remote: + [[ ! farmbot-web-app =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/farmbot-web-app ]]
remote: + return 0
remote: + local APP=farmbot-web-app
remote: + local REV=4caa42bbbfaffa408c265f9744a249f1fb04d937
remote: ++ mktemp -d /tmp/dokku_git.XXXX
remote: + local GIT_BUILD_APP_REPO_TMP_WORK_DIR=/tmp/dokku_git.WxoS
remote: + trap 'rm -rf "$GIT_BUILD_APP_REPO_TMP_WORK_DIR" > /dev/null' RETURN INT TERM EXIT
remote: + local TMP_TAG=dokku/4caa42bbbfaffa408c265f9744a249f1fb04d937
remote: + chmod 755 /tmp/dokku_git.WxoS
remote: + unset GIT_DIR GIT_WORK_TREE
remote: + pushd /tmp/dokku_git.WxoS
remote: + [[ ! -d /home/dokku/farmbot-web-app ]]
remote: + GIT_DIR=/home/dokku/farmbot-web-app
remote: + git tag -d dokku/4caa42bbbfaffa408c265f9744a249f1fb04d937
remote: + true
remote: + GIT_DIR=/home/dokku/farmbot-web-app
remote: + git tag dokku/4caa42bbbfaffa408c265f9744a249f1fb04d937 4caa42bbbfaffa408c265f9744a249f1fb04d937
remote: + git init
remote: + git config advice.detachedHead false
remote: + git remote add origin /home/dokku/farmbot-web-app
remote: + git fetch --depth=1 origin refs/tags/dokku/4caa42bbbfaffa408c265f9744a249f1fb04d937
remote: + git reset --hard FETCH_HEAD
remote: + git submodule update --init --recursive
remote: + GIT_DIR=/home/dokku/farmbot-web-app
remote: + git tag -d dokku/4caa42bbbfaffa408c265f9744a249f1fb04d937
remote: + find -name .git -prune -exec rm -rf '{}' ';'
remote: + [[ -f Dockerfile ]]
remote: + plugn trigger pre-receive-app farmbot-web-app herokuish /tmp/dokku_git.WxoS 4caa42bbbfaffa408c265f9744a249f1fb04d937
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + dokku_receive farmbot-web-app herokuish /tmp/dokku_git.WxoS
/'
remote: + declare 'desc=receives an app kicks off deploy process'
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + local APP=farmbot-web-app
remote: ++ get_app_image_name farmbot-web-app
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=farmbot-web-app
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z farmbot-web-app ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo farmbot-web-app
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=farmbot-web-app
remote: +++ local IMAGE_REPO=dokku/farmbot-web-app
remote: +++ [[ -z farmbot-web-app ]]
remote: +++ echo dokku/farmbot-web-app
remote: ++ IMAGE_REPO=dokku/farmbot-web-app
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/farmbot-web-app:latest
remote: ++ echo dokku/farmbot-web-app:latest
remote: + local IMAGE=dokku/farmbot-web-app:latest
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + local TMP_WORK_DIR=/tmp/dokku_git.WxoS
remote: + [[ -z '' ]]
remote: + dokku_log_info1 'Cleaning up...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Cleaning up...'
remote: + docker_cleanup
remote: + declare 'desc=cleans up all exited/dead containers and removes all dangling images'
-----> Cleaning up...
remote: ++ docker ps -a -f status=exited -f label=dokku -q
remote: + docker rm 79f47ea1a2cd 58b2a82b9687 2cf970d356c8 9db7d5690d3d
remote: ++ docker ps -a -f status=dead -f label=dokku -q
remote: + docker rm
remote: + true
remote: + dokku_log_info1 'Building farmbot-web-app from herokuish...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Building farmbot-web-app from herokuish...'
remote: + config_set --no-restart farmbot-web-app DOKKU_APP_TYPE=herokuish
remote: ++ docker images -f dangling=true -q
-----> Building farmbot-web-app from herokuish...
remote: + docker rmi 8a2f063dc374
remote: + dokku_build farmbot-web-app herokuish /tmp/dokku_git.WxoS
remote: + declare 'desc=build phase'
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + local APP=farmbot-web-app
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + local TMP_WORK_DIR=/tmp/dokku_git.WxoS
remote: ++ get_app_image_name farmbot-web-app
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=farmbot-web-app
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z farmbot-web-app ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo farmbot-web-app
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=farmbot-web-app
remote: +++ local IMAGE_REPO=dokku/farmbot-web-app
remote: +++ [[ -z farmbot-web-app ]]
remote: +++ echo dokku/farmbot-web-app
remote: ++ IMAGE_REPO=dokku/farmbot-web-app
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/farmbot-web-app:latest
remote: ++ echo dokku/farmbot-web-app:latest
remote: + local IMAGE=dokku/farmbot-web-app:latest
remote: + verify_app_name farmbot-web-app
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=farmbot-web-app
remote: + [[ ! -n farmbot-web-app ]]
remote: + [[ ! farmbot-web-app =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/farmbot-web-app ]]
remote: + return 0
remote: + local CACHE_DIR=/home/dokku/farmbot-web-app/cache
remote: ++ config_export app farmbot-web-app
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=farmbot-web-app
remote: ++ local ENV_FILE=/home/dokku/farmbot-web-app/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/farmbot-web-app/ENV ]]
remote: ++ [[ ! -s /home/dokku/farmbot-web-app/ENV ]]
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/farmbot-web-app/ENV
remote: +++ cut '-d ' -f2-
remote: ++ local 'VARS=API_HOST='\''app.agrobot.ru'\''
remote: API_PORT='\''3000'\''
remote: DATABASE_URL='\''mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot'\''
remote: DEVISE_SECRET='\''3b7cd727ee24e8444053437c36cc66c3'\''
remote: DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ echo 'API_HOST='\''app.agrobot.ru'\''
remote: API_PORT='\''3000'\''
remote: DATABASE_URL='\''mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot'\''
remote: DEVISE_SECRET='\''3b7cd727ee24e8444053437c36cc66c3'\''
remote: DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ return 0
remote: + eval 'export API_HOST='\''app.agrobot.ru'\''
remote: export API_PORT='\''3000'\''
remote: export DATABASE_URL='\''mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot'\''
remote: export DEVISE_SECRET='\''3b7cd727ee24e8444053437c36cc66c3'\''
remote: export DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ export API_HOST=app.agrobot.ru
remote: ++ API_HOST=app.agrobot.ru
remote: ++ export API_PORT=3000
remote: ++ API_PORT=3000
remote: ++ export DATABASE_URL=mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot
remote: ++ DATABASE_URL=mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot
remote: ++ export DEVISE_SECRET=3b7cd727ee24e8444053437c36cc66c3
remote: ++ DEVISE_SECRET=3b7cd727ee24e8444053437c36cc66c3
remote: ++ export DOKKU_APP_TYPE=herokuish
remote: ++ DOKKU_APP_TYPE=herokuish
remote: + pushd /tmp/dokku_git.WxoS
remote: + case "$IMAGE_SOURCE_TYPE" in
remote: ++ tar -c .
remote: ++ docker run --label=dokku -i -a stdin gliderlabs/herokuish /bin/bash -c 'mkdir -p /app && tar -xC /app'
remote: + local id=844e94a51d0d6d59c8f518d2be7c3303c29f8ea763c7b369c2bb2bc48a7ba864
remote: ++ docker wait 844e94a51d0d6d59c8f518d2be7c3303c29f8ea763c7b369c2bb2bc48a7ba864
remote: + test 0 -eq 0
remote: + docker commit 844e94a51d0d6d59c8f518d2be7c3303c29f8ea763c7b369c2bb2bc48a7ba864 dokku/farmbot-web-app:latest
remote: + [[ -d /home/dokku/farmbot-web-app/cache ]]
remote: + plugn trigger pre-build-buildpack farmbot-web-app
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + build_env_pre_build_buildpack farmbot-web-app
remote: + declare 'desc=build-env pre-build-buildpack plugin trigger'
remote: + local trigger=build_env_pre_build_buildpack
remote: + local APP=farmbot-web-app
remote: ++ get_app_image_name farmbot-web-app
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=farmbot-web-app
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z farmbot-web-app ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo farmbot-web-app
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=farmbot-web-app
remote: +++ local IMAGE_REPO=dokku/farmbot-web-app
remote: +++ [[ -z farmbot-web-app ]]
remote: +++ echo dokku/farmbot-web-app
remote: ++ IMAGE_REPO=dokku/farmbot-web-app
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/farmbot-web-app:latest
remote: ++ echo dokku/farmbot-web-app:latest
remote: + local IMAGE=dokku/farmbot-web-app:latest
remote: + local BUILD_ENV=
remote: + verify_app_name farmbot-web-app
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=farmbot-web-app
remote: + [[ ! -n farmbot-web-app ]]
remote: + [[ ! farmbot-web-app =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/farmbot-web-app ]]
remote: + return 0
remote: ++ config_get --global CURL_CONNECT_TIMEOUT
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ --global == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get --global CURL_CONNECT_TIMEOUT
remote: ++ config_parse_args config:get --global CURL_CONNECT_TIMEOUT
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ --global == \-\-\g\l\o\b\a\l ]]
remote: ++ ENV_FILE=/home/dokku/ENV
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ [[ --global == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ --global == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ --global == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ CURL_CONNECT_TIMEOUT == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ CURL_CONNECT_TIMEOUT == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ CURL_CONNECT_TIMEOUT == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ CURL_CONNECT_TIMEOUT == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global CURL_CONNECT_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' CURL_CONNECT_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get CURL_CONNECT_TIMEOUT
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ [[ global == \a\p\p ]]
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global CURL_CONNECT_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' CURL_CONNECT_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get CURL_CONNECT_TIMEOUT
remote: ++ [[ -z CURL_CONNECT_TIMEOUT ]]
remote: ++ config_create /home/dokku/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/ENV
remote: ++ [[ -f /home/dokku/ENV ]]
remote: ++ [[ ! -s /home/dokku/ENV ]]
remote: ++ local KEY=CURL_CONNECT_TIMEOUT
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ grep '^export CURL_CONNECT_TIMEOUT='
remote: ++ cut -d= -f2-
remote: + [[ -z 30 ]]
remote: ++ config_get --global CURL_TIMEOUT
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ --global == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get --global CURL_TIMEOUT
remote: ++ config_parse_args config:get --global CURL_TIMEOUT
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ --global == \-\-\g\l\o\b\a\l ]]
remote: ++ ENV_FILE=/home/dokku/ENV
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ [[ --global == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ --global == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ --global == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ CURL_TIMEOUT == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ CURL_TIMEOUT == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ CURL_TIMEOUT == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ CURL_TIMEOUT == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global CURL_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' CURL_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get CURL_TIMEOUT
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ [[ global == \a\p\p ]]
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global CURL_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' CURL_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get CURL_TIMEOUT
remote: ++ [[ -z CURL_TIMEOUT ]]
remote: ++ config_create /home/dokku/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/ENV
remote: ++ [[ -f /home/dokku/ENV ]]
remote: ++ [[ ! -s /home/dokku/ENV ]]
remote: ++ local KEY=CURL_TIMEOUT
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export CURL_TIMEOUT='
remote: + [[ -z 600 ]]
remote: ++ config_export global
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=global
remote: ++ local APP=
remote: ++ local ENV_FILE=/home/dokku//ENV
remote: ++ [[ global == \g\l\o\b\a\l ]]
remote: ++ local ENV_FILE=/home/dokku/ENV
remote: ++ [[ ! -f /home/dokku/ENV ]]
remote: ++ [[ ! -s /home/dokku/ENV ]]
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: +++ cut '-d ' -f2-
remote: ++ local 'VARS=CURL_CONNECT_TIMEOUT='\''30'\''
remote: CURL_TIMEOUT='\''600'\'''
remote: ++ echo 'CURL_CONNECT_TIMEOUT='\''30'\''
remote: CURL_TIMEOUT='\''600'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ return 0
remote: + [[ -n export CURL_CONNECT_TIMEOUT='30'
remote: export CURL_TIMEOUT='600' ]]
remote: + local 'BUILD_ENV+=
remote: '
remote: ++ config_export global
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=global
remote: ++ local APP=
remote: ++ local ENV_FILE=/home/dokku//ENV
remote: ++ [[ global == \g\l\o\b\a\l ]]
remote: ++ local ENV_FILE=/home/dokku/ENV
remote: ++ [[ ! -f /home/dokku/ENV ]]
remote: ++ [[ ! -s /home/dokku/ENV ]]
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: +++ cut '-d ' -f2-
remote: ++ local 'VARS=CURL_CONNECT_TIMEOUT='\''30'\''
remote: CURL_TIMEOUT='\''600'\'''
remote: ++ echo 'CURL_CONNECT_TIMEOUT='\''30'\''
remote: CURL_TIMEOUT='\''600'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ return 0
remote: + local 'BUILD_ENV+=export CURL_CONNECT_TIMEOUT='\''30'\''
remote: export CURL_TIMEOUT='\''600'\'''
remote: + local 'BUILD_ENV+=
remote: '
remote: ++ config_export app farmbot-web-app
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=farmbot-web-app
remote: ++ local ENV_FILE=/home/dokku/farmbot-web-app/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/farmbot-web-app/ENV ]]
remote: ++ [[ ! -s /home/dokku/farmbot-web-app/ENV ]]
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/farmbot-web-app/ENV
remote: +++ cut '-d ' -f2-
remote: ++ local 'VARS=API_HOST='\''app.agrobot.ru'\''
remote: API_PORT='\''3000'\''
remote: DATABASE_URL='\''mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot'\''
remote: DEVISE_SECRET='\''3b7cd727ee24e8444053437c36cc66c3'\''
remote: DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ echo 'API_HOST='\''app.agrobot.ru'\''
remote: API_PORT='\''3000'\''
remote: DATABASE_URL='\''mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot'\''
remote: DEVISE_SECRET='\''3b7cd727ee24e8444053437c36cc66c3'\''
remote: DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ return 0
remote: + [[ -n export API_HOST='app.agrobot.ru'
remote: export API_PORT='3000'
remote: export DATABASE_URL='mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot'
remote: export DEVISE_SECRET='3b7cd727ee24e8444053437c36cc66c3'
remote: export DOKKU_APP_TYPE='herokuish' ]]
remote: + local 'BUILD_ENV+=
remote: '
remote: ++ config_export app farmbot-web-app
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=farmbot-web-app
remote: ++ local ENV_FILE=/home/dokku/farmbot-web-app/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/farmbot-web-app/ENV ]]
remote: ++ [[ ! -s /home/dokku/farmbot-web-app/ENV ]]
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/farmbot-web-app/ENV
remote: +++ cut '-d ' -f2-
remote: ++ local 'VARS=API_HOST='\''app.agrobot.ru'\''
remote: API_PORT='\''3000'\''
remote: DATABASE_URL='\''mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot'\''
remote: DEVISE_SECRET='\''3b7cd727ee24e8444053437c36cc66c3'\''
remote: DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ echo 'API_HOST='\''app.agrobot.ru'\''
remote: API_PORT='\''3000'\''
remote: DATABASE_URL='\''mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot'\''
remote: DEVISE_SECRET='\''3b7cd727ee24e8444053437c36cc66c3'\''
remote: DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ return 0
remote: + local 'BUILD_ENV+=export API_HOST='\''app.agrobot.ru'\''
remote: export API_PORT='\''3000'\''
remote: export DATABASE_URL='\''mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot'\''
remote: export DEVISE_SECRET='\''3b7cd727ee24e8444053437c36cc66c3'\''
remote: export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local 'BUILD_ENV+=
remote: '
remote: + [[ ! -z
remote: export CURL_CONNECT_TIMEOUT='30'
remote: export CURL_TIMEOUT='600'
remote:
remote: export API_HOST='app.agrobot.ru'
remote: export API_PORT='3000'
remote: export DATABASE_URL='mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot'
remote: export DEVISE_SECRET='3b7cd727ee24e8444053437c36cc66c3'
remote: export DOKKU_APP_TYPE='herokuish'
remote:  ]]
remote: + dokku_log_info1 'Adding BUILD_ENV to build environment...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Adding BUILD_ENV to build environment...'
-----> Adding BUILD_ENV to build environment...
remote: ++ echo export 'CURL_CONNECT_TIMEOUT='\''30'\''' export 'CURL_TIMEOUT='\''600'\''' export 'API_HOST='\''app.agrobot.ru'\''' export 'API_PORT='\''3000'\''' export 'DATABASE_URL='\''mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot'\''' export 'DEVISE_SECRET='\''3b7cd727ee24e8444053437c36cc66c3'\''' export 'DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ sed -e 's@export @@g' -e 's@\\n@ @g'
remote: +++ cat
remote: ++ docker run --label=dokku -i -a stdin dokku/farmbot-web-app:latest /bin/bash -c 'mkdir -p /tmp/env; for ENV_VAR in CURL_CONNECT_TIMEOUT='\''30'\'' CURL_TIMEOUT='\''600'\'' API_HOST='\''app.agrobot.ru'\'' API_PORT='\''3000'\'' DATABASE_URL='\''mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot'\'' DEVISE_SECRET='\''3b7cd727ee24e8444053437c36cc66c3'\'' DOKKU_APP_TYPE='\''herokuish'\''; do echo $ENV_VAR | cut -d'\''='\'' -f2- > /tmp/env/$(echo $ENV_VAR | cut -d'\''='\'' -f1); done '
remote: + local id=8247813cdaff7a3ceaa96ba2e648a237960bb8bb9683023f4c33718aeda6b929
remote: ++ docker wait 8247813cdaff7a3ceaa96ba2e648a237960bb8bb9683023f4c33718aeda6b929
remote: + test 0 -eq 0
remote: + docker commit 8247813cdaff7a3ceaa96ba2e648a237960bb8bb9683023f4c33718aeda6b929 dokku/farmbot-web-app:latest
remote: ++ echo -e '
remote: export CURL_CONNECT_TIMEOUT='\''30'\''
remote: export CURL_TIMEOUT='\''600'\''
remote:
remote: export API_HOST='\''app.agrobot.ru'\''
remote: export API_PORT='\''3000'\''
remote: export DATABASE_URL='\''mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot'\''
remote: export DEVISE_SECRET='\''3b7cd727ee24e8444053437c36cc66c3'\''
remote: export DOKKU_APP_TYPE='\''herokuish'\''
remote: '
remote: ++ docker run --label=dokku -i -a stdin dokku/farmbot-web-app:latest /bin/bash -c 'cat >> /app/.env'
remote: + local id=f49a099207572e2b4adad8a708ad515d6710366789d58f11b500cdffb3437136
remote: ++ docker wait f49a099207572e2b4adad8a708ad515d6710366789d58f11b500cdffb3437136
remote: + test 0 -eq 0
remote: + docker commit f49a099207572e2b4adad8a708ad515d6710366789d58f11b500cdffb3437136 dokku/farmbot-web-app:latest
remote: ++ :
remote: ++ plugn trigger docker-args-build farmbot-web-app herokuish
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + app_user_docker_args farmbot-web-app herokuish
remote: + local APP=farmbot-web-app
remote: + local STDIN
remote: + local DOKKU_APP_TYPE
remote: + local DOKKU_APP_USER
remote: ++ cat
remote: + STDIN=
remote: ++ config_get farmbot-web-app DOKKU_APP_TYPE
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ farmbot-web-app == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get farmbot-web-app DOKKU_APP_TYPE
remote: ++ config_parse_args config:get farmbot-web-app DOKKU_APP_TYPE
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ farmbot-web-app == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ farmbot-web-app == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ farmbot-web-app == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ farmbot-web-app == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_APP_TYPE == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_APP_TYPE == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_APP_TYPE == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_APP_TYPE == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get farmbot-web-app DOKKU_APP_TYPE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get farmbot-web-app DOKKU_APP_TYPE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get farmbot-web-app DOKKU_APP_TYPE
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z farmbot-web-app ]]
remote: ++ verify_app_name farmbot-web-app
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=farmbot-web-app
remote: ++ [[ ! -n farmbot-web-app ]]
remote: ++ [[ ! farmbot-web-app =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/farmbot-web-app ]]
remote: ++ return 0
remote: ++ APP=farmbot-web-app
remote: ++ ENV_FILE=/home/dokku/farmbot-web-app/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get farmbot-web-app DOKKU_APP_TYPE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get farmbot-web-app DOKKU_APP_TYPE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get farmbot-web-app DOKKU_APP_TYPE
remote: ++ [[ -z farmbot-web-app ]]
remote: ++ config_create /home/dokku/farmbot-web-app/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/farmbot-web-app/ENV
remote: ++ [[ -f /home/dokku/farmbot-web-app/ENV ]]
remote: ++ [[ ! -s /home/dokku/farmbot-web-app/ENV ]]
remote: ++ local KEY=DOKKU_APP_TYPE
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/farmbot-web-app/ENV
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ grep '^export DOKKU_APP_TYPE='
remote: ++ cut -d= -f2-
remote: + DOKKU_APP_TYPE=herokuish
remote: ++ config_get farmbot-web-app DOKKU_APP_USER
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ farmbot-web-app == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get farmbot-web-app DOKKU_APP_USER
remote: ++ config_parse_args config:get farmbot-web-app DOKKU_APP_USER
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ farmbot-web-app == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ farmbot-web-app == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ farmbot-web-app == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ farmbot-web-app == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_APP_USER == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_APP_USER == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_APP_USER == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_APP_USER == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get farmbot-web-app DOKKU_APP_USER
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get farmbot-web-app DOKKU_APP_USER
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get farmbot-web-app DOKKU_APP_USER
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z farmbot-web-app ]]
remote: ++ verify_app_name farmbot-web-app
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=farmbot-web-app
remote: ++ [[ ! -n farmbot-web-app ]]
remote: ++ [[ ! farmbot-web-app =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/farmbot-web-app ]]
remote: ++ return 0
remote: ++ APP=farmbot-web-app
remote: ++ ENV_FILE=/home/dokku/farmbot-web-app/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get farmbot-web-app DOKKU_APP_USER
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get farmbot-web-app DOKKU_APP_USER
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get farmbot-web-app DOKKU_APP_USER
remote: ++ [[ -z farmbot-web-app ]]
remote: ++ config_create /home/dokku/farmbot-web-app/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/farmbot-web-app/ENV
remote: ++ [[ -f /home/dokku/farmbot-web-app/ENV ]]
remote: ++ [[ ! -s /home/dokku/farmbot-web-app/ENV ]]
remote: ++ local KEY=DOKKU_APP_USER
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/farmbot-web-app/ENV
remote: ++ cut -d= -f2-
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ grep '^export DOKKU_APP_USER='
remote: ++ true
remote: + DOKKU_APP_USER=
remote: + DOKKU_APP_USER=herokuishuser
remote: + [[ herokuish == \h\e\r\o\k\u\i\s\h ]]
remote: + local 'docker_args= --env=USER=herokuishuser'
remote: + echo -n ' --env=USER=herokuishuser'
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + docker_args farmbot-web-app herokuish
remote: + declare 'desc=docker args plugin trigger'
remote: + local trigger=/var/lib/dokku/plugins/enabled/docker-options/docker-args-build
remote: ++ cat
remote: + local STDIN=
remote: + local APP=farmbot-web-app
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + case "$0" in
remote: + local PHASE=BUILD
remote: + local FILE_PREFIX=DOCKER_OPTIONS_
remote: + local PHASE_FILE_PATH=/home/dokku/farmbot-web-app/DOCKER_OPTIONS_BUILD
remote: + local output=
remote: + [[ -f /home/dokku/farmbot-web-app/DOCKER_OPTIONS_BUILD ]]
remote: + local DONE=false
remote: + false
remote: + local line
remote: + read -r line
remote: + [[ ! -n --link dokku.mariadb.farmbot:dokku-mariadb-farmbot ]]
remote: + case "$line" in
remote: + case "$IMAGE_SOURCE_TYPE" in
remote: + case "$line" in
remote: + local 'output= --link dokku.mariadb.farmbot:dokku-mariadb-farmbot'
remote: + false
remote: + local line
remote: + read -r line
remote: + local DONE=true
remote: + [[ ! -n '' ]]
remote: + continue
remote: + true
remote: + echo -n ' --link dokku.mariadb.farmbot:dokku-mariadb-farmbot'
remote: + local 'DOCKER_ARGS= --env=USER=herokuishuser --link dokku.mariadb.farmbot:dokku-mariadb-farmbot'
remote: + [[ -n 1 ]]
remote: + DOCKER_ARGS+=' -e TRACE=true '
remote: ++ docker run --label=dokku -d -v /home/dokku/farmbot-web-app/cache:/cache -e CACHE_PATH=/cache --env=USER=herokuishuser --link dokku.mariadb.farmbot:dokku-mariadb-farmbot -e TRACE=true dokku/farmbot-web-app:latest /build
remote: + local id=47056a6d94902d3aa8c05acc55f2c045fa1b9c47e6bb115207ff78944fb22932
remote: + docker attach 47056a6d94902d3aa8c05acc55f2c045fa1b9c47e6bb115207ff78944fb22932
remote: + export CURL_CONNECT_TIMEOUT=30
remote: + CURL_CONNECT_TIMEOUT=30
remote: + export CURL_TIMEOUT=180
remote: + CURL_TIMEOUT=180
remote: + [[ -f /app/.env ]]
remote: + source /app/.env
remote: ++ export CURL_CONNECT_TIMEOUT=30
remote: ++ CURL_CONNECT_TIMEOUT=30
remote: ++ export CURL_TIMEOUT=600
remote: ++ CURL_TIMEOUT=600
remote: ++ export API_HOST=app.agrobot.ru
remote: ++ API_HOST=app.agrobot.ru
remote: ++ export API_PORT=3000
remote: ++ API_PORT=3000
remote: ++ export DATABASE_URL=mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot
remote: ++ DATABASE_URL=mysql://mariadb:880b7ee23ca0800e@dokku-mariadb-farmbot:3306/farmbot
remote: ++ export DEVISE_SECRET=3b7cd727ee24e8444053437c36cc66c3
remote: ++ DEVISE_SECRET=3b7cd727ee24e8444053437c36cc66c3
remote: ++ export DOKKU_APP_TYPE=herokuish
remote: ++ DOKKU_APP_TYPE=herokuish
remote: + + indent
remote: + read line
remote: buildpack-execute
remote: + [[ -n '' ]]
remote: + buildpacks=($buildpack_path/*)
remote: + local buildpacks
remote: + valid_buildpacks=()
remote: + local valid_buildpacks
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/00_buildpack-multi/bin/detect /tmp/build
remote: + valid_buildpacks+=("$buildpack")
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/01_buildpack-ruby/bin/detect /tmp/build
remote: + valid_buildpacks+=("$buildpack")
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/02_buildpack-nodejs/bin/detect /tmp/build
remote: + valid_buildpacks+=("$buildpack")
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/03_buildpack-clojure/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/04_buildpack-python/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/05_buildpack-java/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/06_buildpack-gradle/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/07_buildpack-grails/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/08_buildpack-scala/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/09_buildpack-play/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/10_buildpack-php/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/11_buildpack-go/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/12_buildpack-erlang/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/13_buildpack-static/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/14_buildpack-emberjs/bin/detect /tmp/build
remote: + [[ 3 -gt 1 ]]
remote: + title 'Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.'
----->' Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used. == --* ]]
-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used. == ==* ]]
-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.'
remote: + read line
-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
remote: + indent
remote: + read line
remote: ++ sed -e 's:/tmp/buildpacks/[0-9][0-9]_buildpack-::g'
remote: + echo 'Detected buildpacks: multi ruby nodejs'
remote: + [[ Detected buildpacks: multi ruby nodejs == --* ]]
remote: + [[ Detected buildpacks: multi ruby nodejs == ==* ]]
      ' 'Detected buildpacks: multi ruby nodejs'
remote: + read line
remote: + [[ 3 -gt 0 ]]
remote: + selected_path=/tmp/buildpacks/00_buildpack-multi
       Detected buildpacks: multi ruby nodejs == --* ]]
       Detected buildpacks: multi ruby nodejs == ==* ]]
       Detected buildpacks: multi ruby nodejs'
       Detected buildpacks: multi ruby nodejs
remote: + read line
remote: ++ unprivileged /tmp/buildpacks/00_buildpack-multi/bin/detect /tmp/build
remote: ++ setuidgid herokuishuser /tmp/buildpacks/00_buildpack-multi/bin/detect /tmp/build
remote: + selected_name=Multipack
remote: + [[ -n /tmp/buildpacks/00_buildpack-multi ]]
remote: + [[ -n Multipack ]]
remote: + title 'Multipack app detected'
----->' Multipack app detected
-----> Multipack app detected == --* ]]
-----> Multipack app detected == ==* ]]
-----> Multipack app detected
-----> Multipack app detected'
remote: + read line
remote: /tmp/build
remote: + unprivileged /tmp/buildpacks/00_buildpack-multi/bin/compile /tmp/build /cache /tmp/env
remote: + setuidgid herokuishuser /tmp/buildpacks/00_buildpack-multi/bin/compile /tmp/build /cache /tmp/env
remote: + [[ =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git == --* ]]
remote: + [[ =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git == ==* ]]
=====>' Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git
remote: + read line
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git
remote: + rm -rf /tmp/dokku_git.WxoS
remote: + exit_code=128
remote: + set -e
remote: + [[ 128 -eq 10 ]]
remote: + implemented=1
remote: + [[ 128 -ne 0 ]]
remote: + exit 128
+ exit_code=0
+ set -e
+ [[ 0 -eq 10 ]]
+ implemented=1
+ [[ 0 -ne 0 ]]
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/logs/commands git-receive-pack ''\''farmbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/mariadb/commands git-receive-pack ''\''farmbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/nginx-vhosts/commands git-receive-pack ''\''farmbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/plugin/commands git-receive-pack ''\''farmbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/proxy/commands git-receive-pack ''\''farmbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/ps/commands git-receive-pack ''\''farmbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/repo/commands git-receive-pack ''\''farmbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/shell/commands git-receive-pack ''\''farmbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/ssh-keys/commands git-receive-pack ''\''farmbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/storage/commands git-receive-pack ''\''farmbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/tags/commands git-receive-pack ''\''farmbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/tar/commands git-receive-pack ''\''farmbot-web-app'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ [[ 1 -eq 0 ]]
+ set +f
+ exit 0
To dokku@agro-bot.ru:farmbot-web-app
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@agro-bot.ru:farmbot-web-app'
RickCarlino commented 7 years ago

@Daniil145 Can you try re-deploying? There were some issues on our end that were recently fixed.

innovatemaker commented 7 years ago

my "var/lib/docker is out of space. And I did not notice it. Excuse for troubling.(((

innovatemaker commented 7 years ago

Now new there was an error on the earlier... iadd log any time.

-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       rake aborted!
       LoadError: Could not load 'active_record/connection_adapters/mysql_adapte                                r'. Make sure that the adapter in config/database.yml is valid. If you use an ad                                apter other than 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter g                                em to the Gemfile.
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_                                record/connection_adapters/connection_specification.rb:174:in `spec'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_                                record/connection_handling.rb:53:in `establish_connection'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_                                record/railtie.rb:125:in `block (2 levels) in <class:Railtie>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/lazy_load_hooks.rb:38:in `instance_eval'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/lazy_load_hooks.rb:38:in `execute_hook'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/lazy_load_hooks.rb:44:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/lazy_load_hooks.rb:44:in `run_load_hooks'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_                                record/base.rb:324:in `<module:ActiveRecord>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_                                record/base.rb:24:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/app/models/user.rb:2:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:380:in `block in require_or_load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:37:in `block in load_interlock'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies/interlock.rb:12:in `block in loading'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/concurrency/share_lock.rb:117:in `exclusive'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies/interlock.rb:11:in `loading'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:37:in `load_interlock'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:358:in `require_or_load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:511:in `load_missing_constant'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:203:in `const_missing'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/inflector/methods.rb:268:in `const_get'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/inflector/methods.rb:268:in `block in constantize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/inflector/methods.rb:266:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/inflector/methods.rb:266:in `inject'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/inflector/methods.rb:266:in `constantize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:583:in `get'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:614:in `constantize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:301:i                                n `get'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.                                rb:81:in `to'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.                                rb:76:in `modules'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.                                rb:93:in `routes'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.                                rb:160:in `default_used_route'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.                                rb:70:in `initialize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:331:i                                n `new'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:331:i                                n `add_mapping'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/ro                                utes.rb:241:in `block in devise_for'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/ro                                utes.rb:240:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/ro                                utes.rb:240:in `devise_for'
       /tmp/build/config/routes.rb:23:in `block in <top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_di                                spatch/routing/route_set.rb:389:in `instance_exec'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_di                                spatch/routing/route_set.rb:389:in `eval_block'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_di                                spatch/routing/route_set.rb:371:in `draw'
       /tmp/build/config/routes.rb:1:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:287:in `load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:287:in `block in load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:287:in `load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:40:in `block in load_paths'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:40:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:40:in `load_paths'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:16:in `reload!'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:26:in `block in updater'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/file_update_checker.rb:77:in `execute'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:27:in `updater'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:7:in `execute_if_updated'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/finisher.rb:119:in `block in <module:Finisher>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initi                                alizable.rb:30:in `instance_exec'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initi                                alizable.rb:30:in `run'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initi                                alizable.rb:55:in `block in run_initializers'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initi                                alizable.rb:54:in `run_initializers'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation.rb:352:in `initialize!'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/railt                                ie.rb:193:in `public_send'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/railt                                ie.rb:193:in `method_missing'
       /tmp/build/config/environment.rb:4:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation.rb:328:in `require_environment!'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation.rb:448:in `block in run_tasks_blocks'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprock                                ets/rails/task.rb:62:in `block (2 levels) in define'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/rake-11.3.0/exe/rake:27:in `<top                                 (required)>'
       LoadError: cannot load such file -- active_record/connection_adapters/mys                                ql_adapter
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_                                record/connection_adapters/connection_specification.rb:174:in `spec'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_                                record/connection_handling.rb:53:in `establish_connection'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_                                record/railtie.rb:125:in `block (2 levels) in <class:Railtie>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/lazy_load_hooks.rb:38:in `instance_eval'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/lazy_load_hooks.rb:38:in `execute_hook'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/lazy_load_hooks.rb:44:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/lazy_load_hooks.rb:44:in `run_load_hooks'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_                                record/base.rb:324:in `<module:ActiveRecord>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_                                record/base.rb:24:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/app/models/user.rb:2:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:380:in `block in require_or_load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:37:in `block in load_interlock'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies/interlock.rb:12:in `block in loading'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/concurrency/share_lock.rb:117:in `exclusive'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies/interlock.rb:11:in `loading'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:37:in `load_interlock'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:358:in `require_or_load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:511:in `load_missing_constant'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:203:in `const_missing'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/inflector/methods.rb:268:in `const_get'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/inflector/methods.rb:268:in `block in constantize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/inflector/methods.rb:266:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/inflector/methods.rb:266:in `inject'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/inflector/methods.rb:266:in `constantize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:583:in `get'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:614:in `constantize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:301:i                                n `get'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.                                rb:81:in `to'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.                                rb:76:in `modules'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.                                rb:93:in `routes'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.                                rb:160:in `default_used_route'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.                                rb:70:in `initialize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:331:i                                n `new'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:331:i                                n `add_mapping'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/ro                                utes.rb:241:in `block in devise_for'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/ro                                utes.rb:240:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/ro                                utes.rb:240:in `devise_for'
       /tmp/build/config/routes.rb:23:in `block in <top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_di                                spatch/routing/route_set.rb:389:in `instance_exec'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_di                                spatch/routing/route_set.rb:389:in `eval_block'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_di                                spatch/routing/route_set.rb:371:in `draw'
       /tmp/build/config/routes.rb:1:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:287:in `load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:287:in `block in load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:287:in `load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:40:in `block in load_paths'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:40:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:40:in `load_paths'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:16:in `reload!'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:26:in `block in updater'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/file_update_checker.rb:77:in `execute'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:27:in `updater'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/routes_reloader.rb:7:in `execute_if_updated'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation/finisher.rb:119:in `block in <module:Finisher>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initi                                alizable.rb:30:in `instance_exec'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initi                                alizable.rb:30:in `run'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initi                                alizable.rb:55:in `block in run_initializers'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initi                                alizable.rb:54:in `run_initializers'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation.rb:352:in `initialize!'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/railt                                ie.rb:193:in `public_send'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/railt                                ie.rb:193:in `method_missing'
       /tmp/build/config/environment.rb:4:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active                                _support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation.rb:328:in `require_environment!'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/appli                                cation.rb:448:in `block in run_tasks_blocks'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprock                                ets/rails/task.rb:62:in `block (2 levels) in define'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/rake-11.3.0/exe/rake:27:in `<top                                 (required)>'
       Tasks: TOP => environment
       (See full trace by running task with --trace)
       !
       !     Precompiling assets failed.
       !
To dokku@agro-bot.ru:farmbot-web-app
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@agro-bot.ru:farmbot-web-app'
root@debian:~/farmbot-web-app1#
innovatemaker commented 7 years ago

I add "Copy config/database.example.yml to config/database.yml. In GNU/Linux or Mac: mv config/database.example.yml config/database.yml" And error again^

-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       rake aborted!
       LoadError: Could not load 'active_record/connection_adapters/mysql_adapter'. Make sure that the adapter in config/database.yml is valid. If you use an adapter other than 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter gem to the Gemfile.
innovatemaker commented 7 years ago

old version complete deploy. new(now git) dont

innovatemaker commented 7 years ago

My actions: 1)git clone https://github.com/FarmBot/Farmbot-Web-API farmbot-web-app 2) cd farmbot-web-app 3)dokku apps:create my_app_name 4)git remote add my_server dokku@my_server_name:my_app_name 5)dokku storage:mount my_app_name /var/lib/dokku/data/keys:/keys 6)dokku mariadb:create my_db_name 7)dokku mariadb:link my_db_name my_app_name 8)dokku config:set agrobot DEVISE_SECRET=3b7cd727ee24e8444053437c36cc66c3 API_HOST=app.exapmple.ru API_PORT=3000 FW_UPDATE_SERVER=https://api.github.com/repos/FarmBot/farmbot-arduino-firmware/releases/latest MQTT_HOST=mqtt.exapmple.ru OS_UPDATE_SERVER=https://api.github.com/repos/farmbot/farmbot_os/releases/latest 9)git push my_server master

Result


Enter passphrase for key '/root/.ssh/root':
Counting objects: 11760, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4301/4301), done.
Writing objects: 100% (11760/11760), 7.55 MiB | 14.50 MiB/s, done.
Total 11760 (delta 7070), reused 11760 (delta 7070)
-----> Cleaning up...
-----> Building agrobot from herokuish...
-----> Adding BUILD_ENV to build environment...
-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
       Detected buildpacks: multi ruby nodejs
-----> Multipack app detected
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git
=====> Detected Framework: Node.js

-----> Creating runtime environment

       NPM_CONFIG_LOGLEVEL=error
       NPM_CONFIG_PRODUCTION=true
       NODE_ENV=production
       NODE_MODULES_CACHE=true

-----> Installing binaries
       engines.node (package.json):  unspecified
       engines.npm (package.json):   unspecified (use default)

       Resolving node version (latest stable) via semver.io...
       Downloading and installing node 6.9.1...
       Using default npm version: 3.10.8

-----> Restoring cache
       Loading 2 from cacheDirectories (default):
       - node_modules
       - bower_components (not cached - skipping)

-----> Building dependencies
       Installing node modules (package.json)
       Running heroku-postbuild

       > farmbot_api@1.0.0 heroku-postbuild /tmp/build
       > ./install_frontend.sh 2>&1

       Cloning into '/tmp/farmbot_frontend'...

       > node-sass@3.13.0 install /tmp/farmbot_frontend/node_modules/node-sass
       > node scripts/install.js

       Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.0/linux-x64-48_binding.node
       Download complete
       Binary saved to /tmp/farmbot_frontend/node_modules/node-sass/vendor/linux-x64-48/binding.node
       Caching binary to /app/.npm/node-sass/3.13.0/linux-x64-48_binding.node

       > node-sass@3.13.0 postinstall /tmp/farmbot_frontend/node_modules/node-sass
       > node scripts/build.js

       Binary found at /tmp/farmbot_frontend/node_modules/node-sass/vendor/linux-x64-48/binding.node
       Testing binary
       Binary is fine
       farmbot-web-frontend@1.1.0 /tmp/farmbot_frontend
       +-- @types/enzyme@2.5.39
       +-- @types/handlebars@4.0.31
       +-- @types/history@2.0.41
       +-- @types/i18next@2.3.34
       +-- @types/jasmine@2.5.38
       +-- @types/jasmine-ajax@3.1.31
       +-- @types/mqtt@0.0.32
       +-- @types/node@6.0.51
       +-- @types/react@0.14.53
       +-- @types/react-addons-test-utils@0.14.15
       +-- @types/react-dom@0.14.19
       +-- @types/react-redux@4.4.35
       +-- @types/react-router@2.0.41
       +-- @types/redux@3.6.31
       +-- @types/redux-thunk@2.1.32
       +-- @types/sinon@1.16.32
       +-- @types/toastr@2.1.32
       | `-- @types/jquery@2.0.34
       +-- axios@0.14.0
       | `-- follow-redirects@0.0.7
       |   +-- debug@2.3.3
       |   | `-- ms@0.7.2
       |   `-- stream-consume@0.1.0
       +-- boxed_value@1.0.0
       +-- css-loader@0.25.0
       | +-- babel-code-frame@6.16.0
       | | +-- esutils@2.0.2
       | | `-- js-tokens@2.0.0
       | +-- css-selector-tokenizer@0.6.0
       | | +-- cssesc@0.1.0
       | | `-- regexpu-core@1.0.0
       | |   +-- regenerate@1.3.2
       | |   +-- regjsgen@0.2.0
       | |   `-- regjsparser@0.1.5
       | |     `-- jsesc@0.5.0
       | +-- cssnano@3.8.1
       | | +-- autoprefixer@6.5.3
       | | | +-- browserslist@1.4.0
       | | | +-- caniuse-db@1.0.30000591
       | | | +-- normalize-range@0.1.2
       | | | `-- num2fraction@1.2.2
       | | +-- decamelize@1.2.0
       | | +-- defined@1.0.0
       | | +-- has@1.0.1
       | | +-- postcss-calc@5.3.1
       | | | +-- postcss-message-helpers@2.0.0
       | | | `-- reduce-css-calc@1.3.0
       | | |   +-- math-expression-evaluator@1.2.14
       | | |   | `-- lodash.indexof@4.0.5
       | | |   `-- reduce-function-call@1.0.2
       | | +-- postcss-colormin@2.2.1
       | | | `-- colormin@1.1.2
       | | |   +-- color@0.11.4
       | | |   | +-- color-convert@1.8.2
       | | |   | | `-- color-name@1.1.1
       | | |   | `-- color-string@0.3.0
       | | |   `-- css-color-names@0.0.4
       | | +-- postcss-convert-values@2.5.0
       | | +-- postcss-discard-comments@2.0.4
       | | +-- postcss-discard-duplicates@2.0.2
       | | +-- postcss-discard-empty@2.1.0
       | | +-- postcss-discard-overridden@0.1.1
       | | +-- postcss-discard-unused@2.2.3
       | | | `-- uniqs@2.0.0
       | | +-- postcss-filter-plugins@2.0.2
       | | | `-- uniqid@4.1.0
       | | |   `-- macaddress@0.2.8
       | | +-- postcss-merge-idents@2.1.7
       | | +-- postcss-merge-longhand@2.0.1
       | | +-- postcss-merge-rules@2.0.10
       | | | `-- vendors@1.0.1
       | | +-- postcss-minify-font-values@1.0.5
       | | +-- postcss-minify-gradients@1.0.5
       | | +-- postcss-minify-params@1.0.5
       | | | `-- alphanum-sort@1.0.2
       | | +-- postcss-minify-selectors@2.0.7
       | | | `-- postcss-selector-parser@2.2.2
       | | |   +-- flatten@1.0.2
       | | |   +-- indexes-of@1.0.1
       | | |   `-- uniq@1.0.1
       | | +-- postcss-normalize-charset@1.1.1
       | | +-- postcss-normalize-url@3.0.7
       | | | +-- is-absolute-url@2.0.0
       | | | `-- normalize-url@1.8.0
       | | |   +-- prepend-http@1.0.4
       | | |   +-- query-string@4.2.3
       | | |   `-- sort-keys@1.1.2
       | | |     `-- is-plain-obj@1.1.0
       | | +-- postcss-ordered-values@2.2.2
       | | +-- postcss-reduce-idents@2.3.1
       | | +-- postcss-reduce-initial@1.0.0
       | | +-- postcss-reduce-transforms@1.0.4
       | | +-- postcss-svgo@2.1.5
       | | | +-- is-svg@2.1.0
       | | | | `-- html-comment-regex@1.1.1
       | | | `-- svgo@0.7.1
       | | |   +-- coa@1.0.1
       | | |   | `-- q@1.4.1
       | | |   +-- csso@2.2.1
       | | |   | `-- clap@1.1.2
       | | |   +-- sax@1.2.1
       | | |   `-- whet.extend@0.9.9
       | | +-- postcss-unique-selectors@2.0.2
       | | +-- postcss-value-parser@3.3.0
       | | `-- postcss-zindex@2.2.0
       | +-- loader-utils@0.2.16
       | | +-- big.js@3.1.3
       | | +-- emojis-list@2.1.0
       | | `-- json5@0.5.1
       | +-- lodash.camelcase@3.0.1
       | | `-- lodash._createcompounder@3.0.0
       | |   +-- lodash.deburr@3.2.0
       | |   | `-- lodash._root@3.0.1
       | |   `-- lodash.words@3.2.0
       | +-- object-assign@4.1.0
       | +-- postcss@5.2.6
       | | +-- js-base64@2.1.9
       | | `-- supports-color@3.1.2
       | +-- postcss-modules-extract-imports@1.0.1
       | +-- postcss-modules-local-by-default@1.1.1
       | +-- postcss-modules-scope@1.0.2
       | +-- postcss-modules-values@1.2.2
       | | `-- icss-replace-symbols@1.0.2
       | `-- source-list-map@0.1.7
       +-- enzyme@2.6.0
       | +-- cheerio@0.22.0
       | | +-- css-select@1.2.0
       | | | +-- boolbase@1.0.0
       | | | +-- css-what@2.1.0
       | | | +-- domutils@1.5.1
       | | | `-- nth-check@1.0.1
       | | +-- dom-serializer@0.1.0
       | | | `-- domelementtype@1.1.3
       | | +-- entities@1.1.1
       | | +-- htmlparser2@3.9.2
       | | | +-- domelementtype@1.3.0
       | | | `-- domhandler@2.3.0
       | | +-- lodash.assignin@4.2.0
       | | +-- lodash.bind@4.2.1
       | | +-- lodash.defaults@4.2.0
       | | +-- lodash.filter@4.6.0
       | | +-- lodash.flatten@4.4.0
       | | +-- lodash.foreach@4.5.0
       | | +-- lodash.map@4.6.0
       | | +-- lodash.merge@4.6.0
       | | +-- lodash.pick@4.4.0
       | | +-- lodash.reduce@4.6.0
       | | +-- lodash.reject@4.6.0
       | | `-- lodash.some@4.6.0
       | +-- function.prototype.name@1.0.0
       | | +-- define-properties@1.1.2
       | | | `-- foreach@2.0.5
       | | +-- function-bind@1.1.0
       | | `-- is-callable@1.1.3
       | +-- in-publish@2.0.0
       | +-- is-subset@0.1.1
       | +-- lodash@4.17.2
       | +-- object-is@1.0.1
       | +-- object.assign@4.0.4
       | | `-- object-keys@1.0.11
       | +-- object.entries@1.0.4
       | | `-- es-abstract@1.6.1
       | |   +-- es-to-primitive@1.1.1
       | |   | +-- is-date-object@1.0.1
       | |   | `-- is-symbol@1.0.1
       | |   `-- is-regex@1.0.3
       | +-- object.values@1.0.4
       | `-- uuid@2.0.3
       +-- extract-text-webpack-plugin@1.0.1
       | +-- async@1.5.2
       | `-- webpack-sources@0.1.3
       +-- farmbot@2.3.1
       | +-- mqtt@1.14.1
       | | +-- commist@1.0.0
       | | | +-- leven@1.0.2
       | | | `-- minimist@1.2.0
       | | +-- concat-stream@1.5.2
       | | | +-- readable-stream@2.0.6
       | | | `-- typedarray@0.0.6
       | | +-- end-of-stream@1.1.0
       | | +-- help-me@1.0.1
       | | | +-- callback-stream@1.1.0
       | | | +-- glob-stream@5.3.5
       | | | | +-- glob-parent@3.0.1
       | | | | | `-- path-dirname@1.0.2
       | | | | +-- ordered-read-streams@0.3.0
       | | | | +-- through2@0.6.5
       | | | | | `-- readable-stream@1.0.34
       | | | | |   `-- isarray@0.0.1
       | | | | +-- to-absolute-glob@0.1.1
       | | | | | `-- extend-shallow@2.0.1
       | | | | `-- unique-stream@2.2.1
       | | | |   +-- json-stable-stringify@1.0.1
       | | | |   | `-- jsonify@0.0.0
       | | | |   `-- through2-filter@2.0.0
       | | | `-- through2@2.0.3
       | | +-- inherits@2.0.3
       | | +-- minimist@1.2.0
       | | +-- mqtt-connection@2.1.1
       | | | +-- reduplexer@1.1.0
       | | | | `-- readable-stream@1.0.34
       | | | |   `-- isarray@0.0.1
       | | | `-- through2@0.6.5
       | | |   `-- readable-stream@1.0.34
       | | |     `-- isarray@0.0.1
       | | +-- mqtt-packet@3.4.7
       | | | `-- bl@0.9.5
       | | |   `-- readable-stream@1.0.34
       | | |     `-- isarray@0.0.1
       | | +-- pump@1.0.1
       | | +-- readable-stream@1.0.34
       | | | +-- core-util-is@1.0.2
       | | | `-- isarray@0.0.1
       | | +-- reinterval@1.1.0
       | | +-- split2@2.1.0
       | | +-- websocket-stream@3.3.3
       | | | +-- duplexify@3.5.0
       | | | | +-- end-of-stream@1.0.0
       | | | | `-- stream-shift@1.0.0
       | | | `-- ws@1.1.1
       | | |   +-- options@0.0.6
       | | |   `-- ultron@1.0.2
       | | `-- xtend@4.0.1
       | `-- typescript@2.1.1
       +-- handlebars@4.0.6
       | +-- optimist@0.6.1
       | | +-- minimist@0.0.8
       | | `-- wordwrap@0.0.3
       | +-- source-map@0.4.4
       | | `-- amdefine@1.0.1
       | `-- uglify-js@2.7.5
       |   +-- async@0.2.10
       |   +-- uglify-to-browserify@1.0.2
       |   `-- yargs@3.10.0
       |     +-- camelcase@1.2.1
       |     +-- cliui@2.1.0
       |     | +-- center-align@0.1.3
       |     | | +-- align-text@0.1.4
       |     | | | +-- longest@1.0.1
       |     | | | `-- repeat-string@1.6.1
       |     | | `-- lazy-cache@1.0.4
       |     | +-- right-align@0.1.3
       |     | `-- wordwrap@0.0.2
       |     `-- window-size@0.1.0
       +-- handlebars-loader@1.4.0
       | +-- async@0.2.10
       | `-- fastparse@1.1.1
       +-- i18next@3.5.2
       +-- jasmine-core@2.5.2
       +-- jquery@2.2.4
       +-- json-loader@0.5.4
       +-- karma@1.3.0
       | +-- bluebird@3.4.6
       | +-- body-parser@1.15.2
       | | +-- bytes@2.4.0
       | | +-- content-type@1.0.2
       | | +-- debug@2.2.0
       | | | `-- ms@0.7.1
       | | +-- depd@1.1.0
       | | +-- http-errors@1.5.1
       | | | +-- setprototypeof@1.0.2
       | | | `-- statuses@1.3.1
       | | +-- iconv-lite@0.4.13
       | | +-- on-finished@2.3.0
       | | | `-- ee-first@1.1.1
       | | +-- qs@6.2.0
       | | +-- raw-body@2.1.7
       | | | `-- unpipe@1.0.0
       | | `-- type-is@1.6.14
       | |   `-- media-typer@0.3.0
       | +-- chokidar@1.6.1
       | | +-- anymatch@1.3.0
       | | +-- async-each@1.0.1
       | | +-- glob-parent@2.0.0
       | | +-- is-binary-path@1.0.1
       | | | `-- binary-extensions@1.8.0
       | | +-- is-glob@2.0.1
       | | | `-- is-extglob@1.0.0
       | | +-- path-is-absolute@1.0.1
       | | `-- readdirp@2.1.0
       | |   `-- set-immediate-shim@1.0.1
       | +-- colors@1.1.2
       | +-- combine-lists@1.0.1
       | | `-- lodash@4.17.2
       | +-- connect@3.5.0
       | | +-- debug@2.2.0
       | | | `-- ms@0.7.1
       | | +-- finalhandler@0.5.0
       | | | `-- debug@2.2.0
       | | |   `-- ms@0.7.1
       | | +-- parseurl@1.3.1
       | | `-- utils-merge@1.0.0
       | +-- core-js@2.4.1
       | +-- di@0.0.1
       | +-- dom-serialize@2.2.1
       | | +-- custom-event@1.0.1
       | | +-- ent@2.2.0
       | | +-- extend@3.0.0
       | | `-- void-elements@2.0.1
       | +-- expand-braces@0.1.2
       | | +-- array-slice@0.2.3
       | | +-- array-unique@0.2.1
       | | `-- braces@0.1.5
       | |   `-- expand-range@0.1.1
       | |     +-- is-number@0.1.1
       | |     `-- repeat-string@0.2.2
       | +-- glob@7.1.1
       | | +-- fs.realpath@1.0.0
       | | +-- inflight@1.0.6
       | | | `-- wrappy@1.0.2
       | | `-- once@1.3.3
       | +-- graceful-fs@4.1.11
       | +-- http-proxy@1.16.1
       | | +-- eventemitter3@1.2.0
       | | `-- requires-port@1.0.0
       | +-- isbinaryfile@3.0.1
       | +-- log4js@0.6.38
       | | +-- readable-stream@1.0.34
       | | | `-- isarray@0.0.1
       | | `-- semver@4.3.6
       | +-- mime@1.3.4
       | +-- minimatch@3.0.3
       | | `-- brace-expansion@1.1.6
       | |   +-- balanced-match@0.4.2
       | |   `-- concat-map@0.0.1
       | +-- qjobs@1.1.5
       | +-- range-parser@1.2.0
       | +-- rimraf@2.5.4
       | | `-- glob@7.1.1
       | +-- socket.io@1.4.7
       | | +-- debug@2.2.0
       | | | `-- ms@0.7.1
       | | +-- engine.io@1.6.10
       | | | +-- accepts@1.1.4
       | | | | +-- mime-types@2.0.14
       | | | | | `-- mime-db@1.12.0
       | | | | `-- negotiator@0.4.9
       | | | +-- base64id@0.1.0
       | | | +-- debug@2.2.0
       | | | | `-- ms@0.7.1
       | | | +-- engine.io-parser@1.2.4
       | | | | +-- after@0.8.1
       | | | | +-- arraybuffer.slice@0.0.6
       | | | | +-- base64-arraybuffer@0.1.2
       | | | | +-- blob@0.0.4
       | | | | +-- has-binary@0.1.6
       | | | | | `-- isarray@0.0.1
       | | | | `-- utf8@2.1.0
       | | | `-- ws@1.0.1
       | | +-- has-binary@0.1.7
       | | | `-- isarray@0.0.1
       | | +-- socket.io-adapter@0.4.0
       | | | +-- debug@2.2.0
       | | | | `-- ms@0.7.1
       | | | `-- socket.io-parser@2.2.2
       | | |   +-- debug@0.7.4
       | | |   +-- isarray@0.0.1
       | | |   `-- json3@3.2.6
       | | +-- socket.io-client@1.4.6
       | | | +-- backo2@1.0.2
       | | | +-- component-bind@1.0.0
       | | | +-- component-emitter@1.2.0
       | | | +-- debug@2.2.0
       | | | | `-- ms@0.7.1
       | | | +-- engine.io-client@1.6.9
       | | | | +-- component-inherit@0.0.3
       | | | | +-- debug@2.2.0
       | | | | | `-- ms@0.7.1
       | | | | +-- has-cors@1.1.0
       | | | | +-- parsejson@0.0.1
       | | | | +-- parseqs@0.0.2
       | | | | +-- ws@1.0.1
       | | | | +-- xmlhttprequest-ssl@1.5.1
       | | | | `-- yeast@0.1.2
       | | | +-- indexof@0.0.1
       | | | +-- object-component@0.0.3
       | | | +-- parseuri@0.0.4
       | | | | `-- better-assert@1.0.2
       | | | |   `-- callsite@1.0.0
       | | | `-- to-array@0.1.4
       | | `-- socket.io-parser@2.2.6
       | |   +-- benchmark@1.0.0
       | |   +-- component-emitter@1.1.2
       | |   +-- debug@2.2.0
       | |   | `-- ms@0.7.1
       | |   +-- isarray@0.0.1
       | |   `-- json3@3.3.2
       | +-- source-map@0.5.6
       | +-- tmp@0.0.28
       | | `-- os-tmpdir@1.0.2
       | `-- useragent@2.1.9
       |   `-- lru-cache@2.2.4
       +-- karma-chrome-launcher@2.0.0
       | +-- fs-access@1.0.1
       | | `-- null-check@1.0.0
       | `-- which@1.2.12
       |   `-- isexe@1.1.2
       +-- karma-coverage@1.1.1
       | +-- dateformat@1.0.12
       | `-- istanbul@0.4.5
       |   +-- abbrev@1.0.9
       |   +-- escodegen@1.8.1
       |   | +-- estraverse@1.9.3
       |   | +-- optionator@0.8.2
       |   | | +-- deep-is@0.1.3
       |   | | +-- fast-levenshtein@2.0.5
       |   | | +-- levn@0.3.0
       |   | | +-- prelude-ls@1.1.2
       |   | | +-- type-check@0.3.2
       |   | | `-- wordwrap@1.0.0
       |   | `-- source-map@0.2.0
       |   +-- esprima@2.7.3
       |   +-- glob@5.0.15
       |   +-- js-yaml@3.6.1
       |   | `-- argparse@1.0.9
       |   +-- nopt@3.0.6
       |   +-- supports-color@3.1.2
       |   `-- wordwrap@1.0.0
       +-- karma-jasmine@1.0.2
       +-- karma-nyan-reporter@0.2.4
       | `-- cli-color@0.3.3
       |   +-- d@0.1.1
       |   +-- es5-ext@0.10.12
       |   | +-- es6-iterator@2.0.0
       |   | `-- es6-symbol@3.1.0
       |   +-- memoizee@0.3.10
       |   | +-- es6-weak-map@0.1.4
       |   | | +-- es6-iterator@0.1.3
       |   | | `-- es6-symbol@2.0.1
       |   | +-- event-emitter@0.3.4
       |   | +-- lru-queue@0.1.0
       |   | `-- next-tick@0.2.2
       |   `-- timers-ext@0.1.0
       +-- karma-sourcemap-loader@0.3.7
       +-- karma-spec-reporter@0.0.26
       | `-- colors@0.6.2
       +-- karma-webpack@1.8.0
       | +-- async@0.9.2
       | +-- source-map@0.1.43
       | `-- webpack-dev-middleware@1.8.4
       +-- lodash@3.10.1
       +-- moment@2.15.2
       +-- moxios@0.3.0
       +-- node-sass@3.13.0
       | +-- async-foreach@0.1.3
       | +-- chalk@1.1.3
       | | +-- ansi-styles@2.2.1
       | | +-- escape-string-regexp@1.0.5
       | | +-- has-ansi@2.0.0
       | | `-- supports-color@2.0.0
       | +-- cross-spawn@3.0.1
       | | `-- lru-cache@4.0.2
       | |   +-- pseudomap@1.0.2
       | |   `-- yallist@2.0.0
       | +-- gaze@1.1.2
       | | `-- globule@1.1.0
       | |   +-- glob@7.1.1
       | |   `-- lodash@4.16.6
       | +-- get-stdin@4.0.1
       | +-- glob@7.1.1
       | +-- lodash.assign@4.2.0
       | +-- lodash.clonedeep@4.5.0
       | +-- meow@3.7.0
       | | +-- camelcase-keys@2.1.0
       | | | `-- camelcase@2.1.1
       | | +-- loud-rejection@1.6.0
       | | | +-- currently-unhandled@0.4.1
       | | | | `-- array-find-index@1.0.2
       | | | `-- signal-exit@3.0.2
       | | +-- map-obj@1.0.1
       | | +-- minimist@1.2.0
       | | +-- normalize-package-data@2.3.5
       | | | +-- hosted-git-info@2.1.5
       | | | +-- is-builtin-module@1.0.0
       | | | | `-- builtin-modules@1.1.1
       | | | `-- validate-npm-package-license@3.0.1
       | | |   +-- spdx-correct@1.0.2
       | | |   | `-- spdx-license-ids@1.2.2
       | | |   `-- spdx-expression-parse@1.0.4
       | | +-- read-pkg-up@1.0.1
       | | | +-- find-up@1.1.2
       | | | | `-- path-exists@2.1.0
       | | | `-- read-pkg@1.1.0
       | | |   +-- load-json-file@1.1.0
       | | |   | +-- parse-json@2.2.0
       | | |   | | `-- error-ex@1.3.0
       | | |   | |   `-- is-arrayish@0.2.1
       | | |   | +-- pify@2.3.0
       | | |   | `-- strip-bom@2.0.0
       | | |   |   `-- is-utf8@0.2.1
       | | |   `-- path-type@1.1.0
       | | +-- redent@1.0.0
       | | | +-- indent-string@2.1.0
       | | | | `-- repeating@2.0.1
       | | | |   `-- is-finite@1.0.2
       | | | `-- strip-indent@1.0.1
       | | `-- trim-newlines@1.0.0
       | +-- mkdirp@0.5.1
       | +-- nan@2.4.0
       | +-- node-gyp@3.4.0
       | | +-- fstream@1.0.10
       | | +-- glob@7.1.1
       | | +-- npmlog@3.1.2
       | | | `-- gauge@2.6.0
       | | |   `-- has-color@0.1.7
       | | +-- osenv@0.1.3
       | | | `-- os-homedir@1.0.2
       | | +-- path-array@1.0.1
       | | | `-- array-index@1.0.0
       | | `-- tar@2.2.1
       | |   `-- block-stream@0.0.9
       | +-- npmlog@4.0.1
       | | +-- are-we-there-yet@1.1.2
       | | | `-- delegates@1.0.0
       | | +-- console-control-strings@1.1.0
       | | +-- gauge@2.7.2
       | | | +-- aproba@1.0.4
       | | | +-- has-unicode@2.0.1
       | | | +-- string-width@1.0.2
       | | | | +-- code-point-at@1.1.0
       | | | | `-- is-fullwidth-code-point@1.0.0
       | | | |   `-- number-is-nan@1.0.1
       | | | +-- supports-color@0.2.0
       | | | `-- wide-align@1.1.0
       | | `-- set-blocking@2.0.0
       | +-- request@2.79.0
       | | +-- aws-sign2@0.6.0
       | | +-- aws4@1.5.0
       | | +-- caseless@0.11.0
       | | +-- combined-stream@1.0.5
       | | | `-- delayed-stream@1.0.0
       | | +-- forever-agent@0.6.1
       | | +-- form-data@2.1.2
       | | | `-- asynckit@0.4.0
       | | +-- har-validator@2.0.6
       | | | +-- commander@2.9.0
       | | | | `-- graceful-readlink@1.0.1
       | | | +-- is-my-json-valid@2.15.0
       | | | | +-- generate-function@2.0.0
       | | | | +-- generate-object-property@1.2.0
       | | | | | `-- is-property@1.0.2
       | | | | `-- jsonpointer@4.0.0
       | | | `-- pinkie-promise@2.0.1
       | | |   `-- pinkie@2.0.4
       | | +-- hawk@3.1.3
       | | | +-- boom@2.10.1
       | | | +-- cryptiles@2.0.5
       | | | +-- hoek@2.16.3
       | | | `-- sntp@1.0.9
       | | +-- http-signature@1.1.1
       | | | +-- assert-plus@0.2.0
       | | | +-- jsprim@1.3.1
       | | | | +-- extsprintf@1.0.2
       | | | | +-- json-schema@0.2.3
       | | | | `-- verror@1.3.6
       | | | `-- sshpk@1.10.1
       | | |   +-- asn1@0.2.3
       | | |   +-- assert-plus@1.0.0
       | | |   +-- bcrypt-pbkdf@1.0.0
       | | |   +-- dashdash@1.14.1
       | | |   | `-- assert-plus@1.0.0
       | | |   +-- ecc-jsbn@0.1.1
       | | |   +-- getpass@0.1.6
       | | |   | `-- assert-plus@1.0.0
       | | |   +-- jodid25519@1.0.2
       | | |   +-- jsbn@0.1.0
       | | |   `-- tweetnacl@0.14.4
       | | +-- is-typedarray@1.0.0
       | | +-- isstream@0.1.2
       | | +-- mime-types@2.1.13
       | | | `-- mime-db@1.25.0
       | | +-- oauth-sign@0.8.2
       | | +-- qs@6.3.0
       | | +-- stringstream@0.0.5
       | | +-- tough-cookie@2.3.2
       | | +-- tunnel-agent@0.4.3
       | | `-- uuid@3.0.1
       | `-- sass-graph@2.1.2
       |   +-- glob@7.1.1
       |   +-- lodash@4.17.2
       |   `-- yargs@4.8.1
       |     +-- cliui@3.2.0
       |     | `-- wrap-ansi@2.1.0
       |     +-- get-caller-file@1.0.2
       |     +-- os-locale@1.4.0
       |     | `-- lcid@1.0.0
       |     |   `-- invert-kv@1.0.0
       |     +-- require-directory@2.1.1
       |     +-- require-main-filename@1.0.1
       |     +-- which-module@1.0.0
       |     +-- window-size@0.2.0
       |     +-- y18n@3.2.1
       |     `-- yargs-parser@2.4.1
       |       `-- camelcase@3.0.0
       +-- react@15.4.1
       | +-- fbjs@0.8.6
       | | +-- core-js@1.2.7
       | | +-- isomorphic-fetch@2.2.1
       | | | +-- node-fetch@1.6.3
       | | | | +-- encoding@0.1.12
       | | | | `-- is-stream@1.1.0
       | | | `-- whatwg-fetch@2.0.1
       | | +-- promise@7.1.1
       | | | `-- asap@2.0.5
       | | `-- ua-parser-js@0.7.12
       | `-- loose-envify@1.3.0
       +-- react-addons-test-utils@15.4.1
       +-- react-dom@15.4.1
       +-- react-redux@4.4.6
       | +-- hoist-non-react-statics@1.2.0
       | +-- invariant@2.2.2
       | `-- lodash@4.17.2
       +-- react-router@2.8.1
       | +-- history@2.1.2
       | | +-- deep-equal@1.0.1
       | | +-- query-string@3.0.3
       | | | `-- strict-uri-encode@1.1.0
       | | `-- warning@2.1.0
       | `-- warning@3.0.0
       +-- redux@3.6.0
       | +-- lodash@4.17.2
       | +-- lodash-es@4.17.2
       | `-- symbol-observable@1.0.4
       +-- redux-immutable-state-invariant@1.2.4
       | `-- json-stringify-safe@5.0.1
       +-- redux-thunk@2.1.0
       +-- sass-loader@4.0.2
       | `-- async@2.1.4
       |   `-- lodash@4.17.2
       +-- static-site-generator-webpack-plugin@3.1.0
       | `-- eval@0.1.1
       |   `-- require-like@0.1.2
       +-- style-loader@0.13.1
       +-- toastr@2.1.2
       +-- ts-loader@1.3.0
       | +-- arrify@1.0.1
       | +-- enhanced-resolve@0.9.1
       | | `-- memory-fs@0.2.0
       | `-- semver@5.3.0
       +-- tslint@3.15.1
       | +-- diff@2.2.3
       | +-- findup-sync@0.3.0
       | +-- glob@7.1.1
       | +-- resolve@1.1.7
       | `-- underscore.string@3.3.4
       |   +-- sprintf-js@1.0.3
       |   `-- util-deprecate@1.0.2
       +-- typescript@2.0.10
       +-- webpack@1.13.3
       | +-- acorn@3.3.0
       | +-- clone@1.0.2
       | +-- interpret@0.6.6
       | +-- memory-fs@0.3.0
       | | +-- errno@0.1.4
       | | | `-- prr@0.0.0
       | | `-- readable-stream@2.2.2
       | |   +-- buffer-shims@1.0.0
       | |   +-- isarray@1.0.0
       | |   `-- process-nextick-args@1.0.7
       | +-- node-libs-browser@0.6.0
       | | +-- assert@1.4.1
       | | +-- browserify-zlib@0.1.4
       | | | `-- pako@0.2.9
       | | +-- buffer@4.9.1
       | | | +-- base64-js@1.2.0
       | | | `-- ieee754@1.1.8
       | | +-- console-browserify@1.1.0
       | | | `-- date-now@0.1.4
       | | +-- constants-browserify@0.0.1
       | | +-- crypto-browserify@3.2.8
       | | | +-- pbkdf2-compat@2.0.1
       | | | +-- ripemd160@0.2.0
       | | | `-- sha.js@2.2.6
       | | +-- domain-browser@1.1.7
       | | +-- events@1.1.1
       | | +-- http-browserify@1.7.0
       | | | `-- Base64@0.2.1
       | | +-- https-browserify@0.0.0
       | | +-- os-browserify@0.1.2
       | | +-- path-browserify@0.0.0
       | | +-- process@0.11.9
       | | +-- punycode@1.4.1
       | | +-- querystring-es3@0.2.1
       | | +-- readable-stream@1.1.14
       | | | `-- isarray@0.0.1
       | | +-- stream-browserify@1.0.0
       | | | `-- readable-stream@1.1.14
       | | |   `-- isarray@0.0.1
       | | +-- string_decoder@0.10.31
       | | +-- timers-browserify@1.4.2
       | | +-- tty-browserify@0.0.0
       | | +-- url@0.10.3
       | | | +-- punycode@1.3.2
       | | | `-- querystring@0.2.0
       | | +-- util@0.10.3
       | | | `-- inherits@2.0.1
       | | `-- vm-browserify@0.0.4
       | +-- supports-color@3.1.2
       | | `-- has-flag@1.0.0
       | +-- tapable@0.1.10
       | +-- watchpack@0.2.9
       | | `-- async@0.9.2
       | `-- webpack-core@0.6.8
       |   `-- source-map@0.4.4
       `-- webpack-dev-server@1.16.2
       +-- compression@1.6.2
       | +-- accepts@1.3.3
       | | `-- negotiator@0.6.1
       | +-- bytes@2.3.0
       | +-- compressible@2.0.9
       | +-- debug@2.2.0
       | | `-- ms@0.7.1
       | +-- on-headers@1.0.1
       | `-- vary@1.1.0
       +-- connect-history-api-fallback@1.3.0
       +-- express@4.14.0
       | +-- accepts@1.3.3
       | | `-- negotiator@0.6.1
       | +-- array-flatten@1.1.1
       | +-- content-disposition@0.5.1
       | +-- cookie@0.3.1
       | +-- cookie-signature@1.0.6
       | +-- debug@2.2.0
       | | `-- ms@0.7.1
       | +-- encodeurl@1.0.1
       | +-- escape-html@1.0.3
       | +-- etag@1.7.0
       | +-- fresh@0.3.0
       | +-- merge-descriptors@1.0.1
       | +-- methods@1.1.2
       | +-- path-to-regexp@0.1.7
       | +-- proxy-addr@1.1.2
       | | +-- forwarded@0.1.0
       | | `-- ipaddr.js@1.1.1
       | +-- send@0.14.1
       | | +-- debug@2.2.0
       | | +-- destroy@1.0.4
       | | `-- ms@0.7.1
       | `-- serve-static@1.11.1
       +-- http-proxy-middleware@0.17.2
       | +-- is-glob@3.1.0
       | | `-- is-extglob@2.1.0
       | +-- lodash@4.17.2
       | `-- micromatch@2.3.11
       |   +-- arr-diff@2.0.0
       |   | `-- arr-flatten@1.0.1
       |   +-- braces@1.8.5
       |   | +-- expand-range@1.8.2
       |   | | `-- fill-range@2.2.3
       |   | |   +-- is-number@2.1.0
       |   | |   +-- isobject@2.1.0
       |   | |   `-- randomatic@1.1.6
       |   | +-- preserve@0.2.0
       |   | `-- repeat-element@1.1.2
       |   +-- expand-brackets@0.1.5
       |   | `-- is-posix-bracket@0.1.1
       |   +-- extglob@0.3.2
       |   | `-- is-extglob@1.0.0
       |   +-- filename-regex@2.0.0
       |   +-- is-extglob@1.0.0
       |   +-- is-glob@2.0.1
       |   +-- kind-of@3.0.4
       |   | `-- is-buffer@1.1.4
       |   +-- normalize-path@2.0.1
       |   +-- object.omit@2.0.1
       |   | +-- for-own@0.1.4
       |   | | `-- for-in@0.1.6
       |   | `-- is-extendable@0.1.1
       |   +-- parse-glob@3.0.4
       |   | +-- glob-base@0.3.0
       |   | | +-- glob-parent@2.0.0
       |   | | `-- is-glob@2.0.1
       |   | |   `-- is-extglob@1.0.0
       |   | +-- is-dotfile@1.0.2
       |   | +-- is-extglob@1.0.0
       |   | `-- is-glob@2.0.1
       |   `-- regex-cache@0.4.3
       |     +-- is-equal-shallow@0.1.3
       |     `-- is-primitive@2.0.0
       +-- open@0.0.5
       +-- serve-index@1.8.0
       | +-- accepts@1.3.3
       | | `-- negotiator@0.6.1
       | +-- batch@0.5.3
       | `-- debug@2.2.0
       |   `-- ms@0.7.1
       +-- sockjs@0.3.18
       | `-- faye-websocket@0.10.0
       |   `-- websocket-driver@0.6.5
       |     `-- websocket-extensions@0.1.1
       +-- sockjs-client@1.1.1
       | +-- eventsource@0.1.6
       | | `-- original@1.0.0
       | |   `-- url-parse@1.0.5
       | +-- faye-websocket@0.11.0
       | +-- json3@3.3.2
       | `-- url-parse@1.1.7
       |   `-- querystringify@0.0.4
       +-- stream-cache@0.0.2
       +-- strip-ansi@3.0.1
       | `-- ansi-regex@2.0.0
       `-- supports-color@3.1.2

       > farmbot-web-frontend@1.1.0 build /tmp/farmbot_frontend
       > node_modules/webpack/bin/webpack.js --config tools/webpack.config.prd.js --display-error-details

       ts-loader: Using typescript@2.0.10 and /tmp/farmbot_frontend/tsconfig.json
       Hash: 925969fe0cc2b11dc97b
       Version: webpack 1.13.3
       Time: 98714ms
       Asset       Size   Chunks             Chunk Names
       app-index.js.map     238 kB        0  [emitted]  app-index
       app-index.js    15.5 kB        0  [emitted]  app-index
       front_page.js     363 kB        2  [emitted]  front_page
       password-reset.js    15.5 kB        3  [emitted]  password-reset
       password_reset.js     358 kB        4  [emitted]  password_reset
       app-resources/styles.css    30.5 kB  1, 2, 4  [emitted]  app-resources/bundle, front_page, password_reset
       app-resources/bundle.js     963 kB        1  [emitted]  app-resources/bundle
       app-resources/bundle.js.map     7.7 MB        1  [emitted]  app-resources/bundle
       app-resources/styles.css.map  101 bytes  1, 2, 4  [emitted]  app-resources/bundle, front_page, password_reset
       front_page.js.map    3.81 MB        2  [emitted]  front_page
       password-reset.js.map     238 kB        3  [emitted]  password-reset
       password_reset.js.map    3.78 MB        4  [emitted]  password_reset
       app/index.html  559 bytes           [emitted]
       [1] ./src/static ^./.*.hbs$ 205 bytes {0} {3} [built]
       [676] ./public/app-resources/languages ^./.*.js$ 184 bytes {1} {2} {4} [built]
       [677] ./public/app-resources/languages/en.js 174 bytes {1} {2} {4} [optional] [built]
       [678] ./public/app-resources/languages/ru.js 225 bytes {1} {2} {4} [optional] [built]
       + 681 hidden modules

       ERROR in ./src/farm_designer/panel_2.tsx
       (17,32): error TS2345: Argument of type 'ComponentClass<any> | StatelessComponent<any>' is not assignable to parameter of type 'ComponentClass<any>'.
       Type 'StatelessComponent<any>' is not assignable to type 'ComponentClass<any>'.
       Type 'StatelessComponent<any>' provides no match for the signature 'new (props?: any, context?: any): Component<any, ComponentState>'

       ERROR in ./src/farm_designer/panel_1.tsx
       (41,32): error TS2345: Argument of type 'ComponentClass<any> | StatelessComponent<any>' is not assignable to parameter of type 'ComponentClass<any>'.
       Type 'StatelessComponent<any>' is not assignable to type 'ComponentClass<any>'.
       Child extract-text-webpack-plugin:
       + 2 hidden modules

-----> Caching build
       Clearing previous node cache
       Saving 2 cacheDirectories (default):
       - node_modules
       - bower_components (nothing to cache)

-----> Build succeeded!
       `-- (empty)

=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-ruby.git
=====> Detected Framework: Ruby
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.3.2
-----> Installing dependencies using bundler 1.9.7
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
       Using rake 11.3.0
       Using concurrent-ruby 1.0.2
       Using i18n 0.7.0
       Using minitest 5.9.1
       Using thread_safe 0.3.5
       Using builder 3.2.2
       Using erubis 2.7.0
       Using mini_portile2 2.1.0
       Using rack 2.0.1
       Using nio4r 1.2.1
       Using websocket-extensions 0.1.2
       Using mime-types-data 3.2016.0521
       Using arel 7.1.4
       Using bcrypt 3.1.11
       Using daemons 1.2.4
       Using database_cleaner 1.5.3
       Using orm_adapter 0.5.0
       Using method_source 0.8.2
       Using thor 0.19.4
       Using eventmachine 1.2.1
       Using ice_cube 0.14.0
       Using jwt 1.5.6
       Using mysql 2.9.1
       Using pg 0.19.0
       Using rack-cors 0.4.0
       Using bundler 1.9.7
       Using rails_serve_static_assets 0.0.5
       Using rails_stdout_logging 0.0.5
       Using nokogiri 1.6.8.1
       Using rack-test 0.6.3
       Using warden 1.2.6
       Using sprockets 3.7.0
       Using websocket-driver 0.6.4
       Using mime-types 3.1
       Using tzinfo 1.2.2
       Using thin 1.7.0
       Using rails_12factor 0.0.3
       Using loofah 2.0.3
       Using mail 2.6.4
       Using activesupport 5.0.0.1
       Using rails-html-sanitizer 1.0.3
       Using rails-dom-testing 2.0.1
       Using globalid 0.3.7
       Using activemodel 5.0.0.1
       Using mutations 0.8.0
       Using actionview 5.0.0.1
       Using activejob 5.0.0.1
       Using active_model_serializers 0.8.3
       Using activerecord 5.0.0.1
       Using actionpack 5.0.0.1
       Using actioncable 5.0.0.1
       Using actionmailer 5.0.0.1
       Using railties 5.0.0.1
       Using sprockets-rails 3.2.0
       Using responders 2.3.0
       Using rails 5.0.0.1
       Using devise 4.2.0
       Bundle complete! 21 Gemfile dependencies, 57 gems now installed.
       Gems in the groups development and test were not installed.
       Bundled gems are installed into ./vendor/bundle.
       Bundle completed (0.71s)
       Cleaning up the bundler cache.
-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       rake aborted!
       LoadError: Could not load 'active_record/connection_adapters/mysql_adapter'. Make sure that the adapter in config/database.yml is valid. If you use an adapter other than 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter gem to the Gemfile.
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specification.rb:174:in `spec'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_handling.rb:53:in `establish_connection'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/railtie.rb:125:in `block (2 levels) in <class:Railtie>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:324:in `<module:ActiveRecord>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:24:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/app/models/user.rb:2:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:380:in `block in require_or_load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:37:in `block in load_interlock'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies/interlock.rb:12:in `block in loading'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/concurrency/share_lock.rb:117:in `exclusive'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies/interlock.rb:11:in `loading'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:37:in `load_interlock'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:358:in `require_or_load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:511:in `load_missing_constant'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:203:in `const_missing'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:268:in `const_get'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:268:in `block in constantize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:266:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:266:in `inject'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:266:in `constantize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:583:in `get'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:614:in `constantize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:301:in `get'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:81:in `to'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:76:in `modules'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:93:in `routes'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:160:in `default_used_route'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:70:in `initialize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:331:in `new'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:331:in `add_mapping'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:241:in `block in devise_for'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:240:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:240:in `devise_for'
       /tmp/build/config/routes.rb:23:in `block in <top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in `instance_exec'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in `eval_block'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:371:in `draw'
       /tmp/build/config/routes.rb:1:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `block in load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `load_paths'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:16:in `reload!'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:26:in `block in updater'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/file_update_checker.rb:77:in `execute'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:27:in `updater'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/finisher.rb:119:in `block in <module:Finisher>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `instance_exec'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `run'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in `run_initializers'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in `initialize!'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/railtie.rb:193:in `public_send'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/railtie.rb:193:in `method_missing'
       /tmp/build/config/environment.rb:4:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:328:in `require_environment!'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:448:in `block in run_tasks_blocks'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
       LoadError: cannot load such file -- active_record/connection_adapters/mysql_adapter
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specification.rb:174:in `spec'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_handling.rb:53:in `establish_connection'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/railtie.rb:125:in `block (2 levels) in <class:Railtie>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:324:in `<module:ActiveRecord>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:24:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/app/models/user.rb:2:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:380:in `block in require_or_load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:37:in `block in load_interlock'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies/interlock.rb:12:in `block in loading'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/concurrency/share_lock.rb:117:in `exclusive'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies/interlock.rb:11:in `loading'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:37:in `load_interlock'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:358:in `require_or_load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:511:in `load_missing_constant'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:203:in `const_missing'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:268:in `const_get'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:268:in `block in constantize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:266:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:266:in `inject'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:266:in `constantize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:583:in `get'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:614:in `constantize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:301:in `get'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:81:in `to'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:76:in `modules'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:93:in `routes'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:160:in `default_used_route'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:70:in `initialize'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:331:in `new'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:331:in `add_mapping'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:241:in `block in devise_for'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:240:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:240:in `devise_for'
       /tmp/build/config/routes.rb:23:in `block in <top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in `instance_exec'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in `eval_block'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:371:in `draw'
       /tmp/build/config/routes.rb:1:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `block in load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `each'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in `load_paths'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:16:in `reload!'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:26:in `block in updater'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/file_update_checker.rb:77:in `execute'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:27:in `updater'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/finisher.rb:119:in `block in <module:Finisher>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `instance_exec'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in `run'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in `run_initializers'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in `initialize!'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/railtie.rb:193:in `public_send'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/railtie.rb:193:in `method_missing'
       /tmp/build/config/environment.rb:4:in `<top (required)>'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:328:in `require_environment!'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:448:in `block in run_tasks_blocks'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
       /tmp/build/vendor/bundle/ruby/2.3.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
       Tasks: TOP => environment
       (See full trace by running task with --trace)
       !
       !     Precompiling assets failed.
       !
To dokku@agro-bot.ru:agrobot
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@agro-bot.ru:agrobot'
RickCarlino commented 7 years ago

@Daniil145 I see the issue:

A few weeks ago, we (FarmBot) stopped using Dokku and started using Heroku instead.

Heroku prefers that we use Postgres instead of MySQL, so we switched over.

I never updated the Dokku deployment instructions to use Postgres instead of MySQL/MariaDB.

As a temporary fix, I have added gem 'mysql2' to the Gemfile. Please be aware I will eventually remove MySQL support from the project. Adding a Dokku plugin for Postgres would be a good idea. 1 2.

RickCarlino commented 7 years ago

Please let me know if it works for you now.

innovatemaker commented 7 years ago

I would use but heroku me off the need to add a credit card to work. Is it expensive? may be i use pg for dokku. i test it tommorow sorry i dont sleep any time

RickCarlino commented 7 years ago

@Daniil145 It's cheap for Hobby use ($0-7 USD / month) and eliminates a lot of the need to maintain servers. I will still need to update the README for Dokku users, but it might be worth trying out. It's a very simple solution.

innovatemaker commented 7 years ago

i git new version. and I get the same error again( sorry I understand heroku that this is easy, but do not want to depend on the cloud. for example in cases where I need a local server(no internet)

innovatemaker commented 7 years ago

=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-ruby.git =====> Detected Framework: Ruby -----> Compiling Ruby/Rails -----> Using Ruby version: ruby-2.3.2 -----> Installing dependencies using bundler 1.9.7 Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment Fetching gem metadata from https://rubygems.org/.......... Fetching version metadata from https://rubygems.org/... Fetching dependency metadata from https://rubygems.org/.. Using rake 11.3.0 Using i18n 0.7.0 Using concurrent-ruby 1.0.2 Using minitest 5.9.1 Using thread_safe 0.3.5 Using builder 3.2.2 Using erubis 2.7.0 Using mini_portile2 2.1.0 Using rack 2.0.1 Using nio4r 1.2.1 Using websocket-extensions 0.1.2 Using mime-types-data 3.2016.0521 Using arel 7.1.4 Using bcrypt 3.1.11 Using daemons 1.2.4 Using database_cleaner 1.5.3 Using orm_adapter 0.5.0 Using method_source 0.8.2 Using thor 0.19.4 Using eventmachine 1.2.1 Using ice_cube 0.14.0 Using jwt 1.5.6 Using mysql 2.9.1 Using pg 0.19.0 Using rack-cors 0.4.0 Using bundler 1.9.7 Using rails_serve_static_assets 0.0.5 Using rails_stdout_logging 0.0.5 Using tzinfo 1.2.2 Using nokogiri 1.6.8.1 Using websocket-driver 0.6.4 Using rack-test 0.6.3 Using warden 1.2.6 Using sprockets 3.7.0 Using mime-types 3.1 Using thin 1.7.0 Using rails_12factor 0.0.3 Using activesupport 5.0.0.1 Using loofah 2.0.3 Using mail 2.6.4 Using rails-dom-testing 2.0.1 Using globalid 0.3.7 Using activemodel 5.0.0.1 Using mutations 0.8.0 Using rails-html-sanitizer 1.0.3 Using activejob 5.0.0.1 Using active_model_serializers 0.8.3 Using activerecord 5.0.0.1 Using actionview 5.0.0.1 Using actionpack 5.0.0.1 Using actioncable 5.0.0.1 Using actionmailer 5.0.0.1 Using railties 5.0.0.1 Using sprockets-rails 3.2.0 Using responders 2.3.0 Using rails 5.0.0.1 Using devise 4.2.0 Installing mysql2 0.4.5 Bundle complete! 22 Gemfile dependencies, 58 gems now installed. Gems in the groups development and test were not installed. Bundled gems are installed into ./vendor/bundle. Bundle completed (19.47s) Cleaning up the bundler cache. -----> Preparing app for Rails asset pipeline Running: rake assets:precompile rake aborted! LoadError: Could not load 'active_record/connection_adapters/mysql_adapter'. Make sure that the adapter in config/database.yml is valid. If you use an adapter other than 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter gem to the Gemfile. /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inblock in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in load_dependency' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inrequire' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specification.rb:174:in spec' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_handling.rb:53:inestablish_connection' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/railtie.rb:125:in block (2 levels) in <class:Railtie>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:ininstance_eval' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:in execute_hook' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:45:inblock in run_load_hooks' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:in each' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:inrun_load_hooks' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:324:in <module:ActiveRecord>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:24:in<top (required)>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inblock in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in load_dependency' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inrequire' /tmp/build/app/models/user.rb:2:in <top (required)>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inrequire' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in block in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:inload_dependency' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:380:inblock in require_or_load' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:37:in block in load_interlock' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies/interlock.rb:12:inblock in loading' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/concurrency/share_lock.rb:117:in exclusive' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies/interlock.rb:11:inloading' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:37:in load_interlock' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:358:inrequire_or_load' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:511:in load_missing_constant' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:203:inconst_missing' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:268:in const_get' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:268:inblock in constantize' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:266:in each' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:266:ininject' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:266:in constantize' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:583:inget' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:614:in constantize' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:301:inget' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:81:in to' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:76:inmodules' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:93:in routes' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:160:indefault_used_route' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:70:in initialize' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:331:innew' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:331:in add_mapping' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:241:inblock in devise_for' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:240:in each' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:240:indevise_for' /tmp/build/config/routes.rb:23:in block in <top (required)>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:ininstance_exec' /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in eval_block' /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:371:indraw' /tmp/build/config/routes.rb:1:in <top (required)>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:inload' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in block in load' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:inload_dependency' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in load' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:inblock in load_paths' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in each' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:inload_paths' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:16:in reload!' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:26:inblock in updater' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/file_update_checker.rb:77:in execute' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:27:inupdater' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:7:in execute_if_updated' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/finisher.rb:119:inblock in ' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in instance_exec' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:inrun' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in block in run_initializers' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:inrun_initializers' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in initialize!' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/railtie.rb:193:inpublic_send' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/railtie.rb:193:in method_missing' /tmp/build/config/environment.rb:4:in<top (required)>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inblock in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in load_dependency' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inrequire' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:328:in require_environment!' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:448:inblock in run_tasks_blocks' /tmp/build/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in block (2 levels) in define' /tmp/build/vendor/bundle/ruby/2.3.0/gems/rake-11.3.0/exe/rake:27:in<top (required)>' LoadError: cannot load such file -- active_record/connection_adapters/mysql_adapter /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inblock in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in load_dependency' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inrequire' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_adapters/connection_specification.rb:174:in spec' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/connection_handling.rb:53:inestablish_connection' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/railtie.rb:125:in block (2 levels) in <class:Railtie>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:ininstance_eval' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:in execute_hook' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:45:inblock in run_load_hooks' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:in each' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:inrun_load_hooks' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:324:in <module:ActiveRecord>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activerecord-5.0.0.1/lib/active_record/base.rb:24:in<top (required)>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inblock in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in load_dependency' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inrequire' /tmp/build/app/models/user.rb:2:in <top (required)>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inrequire' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in block in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:inload_dependency' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:380:inblock in require_or_load' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:37:in block in load_interlock' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies/interlock.rb:12:inblock in loading' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/concurrency/share_lock.rb:117:in exclusive' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies/interlock.rb:11:inloading' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:37:in load_interlock' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:358:inrequire_or_load' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:511:in load_missing_constant' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:203:inconst_missing' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:268:in const_get' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:268:inblock in constantize' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:266:in each' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:266:ininject' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/inflector/methods.rb:266:in constantize' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:583:inget' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:614:in constantize' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:301:inget' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:81:in to' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:76:inmodules' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:93:in routes' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:160:indefault_used_route' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/mapping.rb:70:in initialize' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:331:innew' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise.rb:331:in add_mapping' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:241:inblock in devise_for' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:240:in each' /tmp/build/vendor/bundle/ruby/2.3.0/gems/devise-4.2.0/lib/devise/rails/routes.rb:240:indevise_for' /tmp/build/config/routes.rb:23:in block in <top (required)>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:ininstance_exec' /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:389:in eval_block' /tmp/build/vendor/bundle/ruby/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:371:indraw' /tmp/build/config/routes.rb:1:in <top (required)>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:inload' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in block in load' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:inload_dependency' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in load' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:inblock in load_paths' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:in each' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:40:inload_paths' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:16:in reload!' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:26:inblock in updater' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/file_update_checker.rb:77:in execute' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:27:inupdater' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/routes_reloader.rb:7:in execute_if_updated' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application/finisher.rb:119:inblock in ' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in instance_exec' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:inrun' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in block in run_initializers' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:inrun_initializers' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in initialize!' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/railtie.rb:193:inpublic_send' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/railtie.rb:193:in method_missing' /tmp/build/config/environment.rb:4:in<top (required)>' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inblock in require' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in load_dependency' /tmp/build/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:inrequire' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:328:in require_environment!' /tmp/build/vendor/bundle/ruby/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:448:inblock in run_tasks_blocks' /tmp/build/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:62:in block (2 levels) in define' /tmp/build/vendor/bundle/ruby/2.3.0/gems/rake-11.3.0/exe/rake:27:in<top (required)>' Tasks: TOP => environment (See full trace by running task with --trace) ! ! Precompiling assets failed. ! To dokku@agro-bot.ru:agrobot ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'dokku@agro-bot.ru:agrobot

RickCarlino commented 7 years ago

@Daniil145 If you're just running a a small server for your own personal use, you don't need Dokku or Heroku- just run the rails server on a different machine and run ./install_frontend. Example:


./install_frontend.sh

MQTT_HOST=localhost OS_UPDATE_SERVER=https://api.github.com/repos/farmbot/farmbot_os/releases/latest FW_UPDATE_SERVER=https://api.github.com/repos/FarmBot/farmbot-arduino-firmware/releases/latest rails s -b 0.0.0.0

That will expose a web server on all ports for the local machine. If you are running the server on a LAN, this is all you need to do. The Dokku / Heroku stuff is nice, but you don't necessarily need it.

The example above assumes that you are running an MQTT server on localhost. You will need to change that to the IP address of MQTT server on your LAN.

I won't have time to update the developer docs yet, but it is on my schedule. I will let you know when I am done.

innovatemaker commented 7 years ago

easy starts working well, but would like to run the system in an insulated container - it is at least interesting. I'll look forward to when you update the documentation. thx