Skip to content

Instantly share code, notes, and snippets.

@fizerkhan
Last active August 29, 2015 14:18
Show Gist options
  • Select an option

  • Save fizerkhan/9997a3b2a0cece6f5c50 to your computer and use it in GitHub Desktop.

Select an option

Save fizerkhan/9997a3b2a0cece6f5c50 to your computer and use it in GitHub Desktop.
MongoDB auth issue in Dokku

When i run MongoDB dokku plugin, it does not work with my NodeJS app. Also dokku mongodb:list does not work. It throws MongoError: auth failed docker

It can be fixed by setting proper locals:

 sh -c "echo 'LANG=en_US.UTF-8\nLC_ALL=en_US.UTF-8' > /etc/default/locale"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment