You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@dokku3:~# dokku buildpacks
! `buildpacks` is not a dokku command.
! See `dokku help` for a list of available commands.
>cat .env
export BUILDPACK_URL='https://github.com/AdmitHub/meteor-buildpack-horse.git'
((( I wish there WERE a version )))
Logs
#dokku config:set trial ROOT_URL=http://trial.apps.example.com
#dokku config:set trial MONGO_URL=mongodb://<myuser>:<mypass>@dsXXXXXX.mon
golab.com:XXXXX/test30?autoReconnect=true
~# dokku config trial
=====> trial env vars
DOKKU_APP_TYPE: herokuish
MONGO_URL: mongodb://<myuser>:<mypass>@dsXXXXX.mongolab.com:XXXXX/test30?autoReconnect=true
ROOT_URL: http://trial.apps.example.com
remote: + echo ' ++ export ROOT_URL=http://trial.apps.example.com'
remote: ++ export ROOT_URL=http://trial.apps.example.com
remote: + for line in '$(docker logs "$CID" 2>&1)'
remote: + dokku_log_verbose_quiet '++ ROOT_URL=http://trial.apps.example.com'
remote: + declare 'desc=log verbose formatter (with quiet option)'
remote: + [[ -z '' ]]
remote: + echo ' ++ ROOT_URL=http://trial.apps.example.com'
remote: ++ ROOT_URL=http://trial.apps.example.com
remote: + for line in '$(docker logs "$CID" 2>&1)'
remote: + dokku_log_verbose_quiet '+ for file in '\''$app_path/.profile.d/*.sh'\'''
remote: + declare 'desc=log verbose formatter (with quiet option)'
remote: + [[ -z '' ]]
remote: + echo ' + for file in '\''$app_path/.profile.d/*.sh'\'''
remote: + for file in '$app_path/.profile.d/*.sh'
remote: + for line in '$(docker logs "$CID" 2>&1)'
remote: + dokku_log_verbose_quiet '+ source /app/.profile.d/mongo_url.sh'
remote: + declare 'desc=log verbose formatter (with quiet option)'
remote: + [[ -z '' ]]
remote: + echo ' + source /app/.profile.d/mongo_url.sh'
remote: + source /app/.profile.d/mongo_url.sh
remote: + for line in '$(docker logs "$CID" 2>&1)'
remote: + dokku_log_verbose_quiet '++ '\''['\'' -z '\'']'\'''
remote: + declare 'desc=log verbose formatter (with quiet option)'
remote: + [[ -z '' ]]
remote: + echo ' ++ '\''['\'' -z '\'']'\'''
remote: ++ '[' -z ']'
remote: + for line in '$(docker logs "$CID" 2>&1)'
remote: + dokku_log_verbose_quiet '++ export MONGO_URL='
remote: + declare 'desc=log verbose formatter (with quiet option)'
remote: + [[ -z '' ]]
remote: + echo ' ++ export MONGO_URL='
remote: ++ export MONGO_URL=
remote: + for line in '$(docker logs "$CID" 2>&1)'
remote: + dokku_log_verbose_quiet '++ MONGO_URL='
remote: + declare 'desc=log verbose formatter (with quiet option)'
remote: + [[ -z '' ]]
remote: + echo ' ++ MONGO_URL='
remote: ++ MONGO_URL=
remote: + for line in '$(docker logs "$CID" 2>&1)'
remote: + dokku_log_verbose_quiet '++ '\''['\'' -z '\'']'\'''
remote: + declare 'desc=log verbose formatter (with quiet option)'
remote: + [[ -z '' ]]
remote: + echo ' ++ '\''['\'' -z '\'']'\'''
remote: ++ '[' -z ']'
remote: + for line in '$(docker logs "$CID" 2>&1)'
remote: + dokku_log_verbose_quiet '++ echo '\''meteor-buildpack-horse: MONGO_URL missing, you must define it for meteor to work.'\'''
remote: + declare 'desc=log verbose formatter (with quiet option)'
remote: + [[ -z '' ]]
remote: + echo ' ++ echo '\''meteor-buildpack-horse: MONGO_URL missing, you must define it for meteor to work.'\'''
####### normal output:
remote: -----> Adding PATH environment
remote: -----> Running extras
remote: -----> Adding profile script to resolve MONGO_URL from mongolab addon
remote: -----> Adding profile script to resolve ROOT_URL from heroku app name
remote: -----> Discovering process types
remote: Default types for -> web
remote: -----> Releasing trial (dokku/trial:latest)...
remote: -----> Deploying trial (dokku/trial:latest)...
remote: -----> Attempting to run scripts.dokku.predeploy from app.json (if defined)
remote: -----> App Procfile file found (/home/dokku/trial/DOKKU_PROCFILE)
remote: -----> DOKKU_SCALE file found (/home/dokku/trial/DOKKU_SCALE)
remote: =====> web=1
<snip>
remote: =====> trial web container output:
remote: meteor-buildpack-horse: MONGO_URL missing, you must define it for meteor to work.
remote: /app/.meteor/heroku_build/app/programs/server/node_modules/fibers/future.js:245
remote: throw(ex);
remote: ^
remote: Error: MONGO_URL must be set in environment
remote: at Object.<anonymous> (packages/mongo/remo.......
Deployment target
Dokku on Digital Ocean
The text was updated successfully, but these errors were encountered:
Type of problem
Summary
MONGO_URL missing error - but it IS set. I have no idea why the buildpack does not see it.
Using instructions from https://maxmalm.se/blog/2015-06-12-digitalocean-dokku-meteor
Contents of
.meteor/release
Buildpack version
Logs
Deployment target
Dokku on Digital Ocean
The text was updated successfully, but these errors were encountered: