dokku

Dokku Compilation Error - django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: No module named 'psycopg2'

喜欢而已 提交于 2021-02-11 14:54:17
问题 I've been attempting to setup my built-up Django Instance as a Database Server. Had chosen DigitalOcean as my platform and had read that Dokku is a useful PaaS system that will enable better scalability for this API I'm trying to deploy. I have been at this problem for the last 3-4 days straight and really had gone through every potential means of solution I could have found online. Being more of a front-end developer, I'm pretty bad at this backend installation matter. At first I thought

Deploying to dokku (repo does not exist)

匆匆过客 提交于 2021-02-08 06:36:39
问题 Hi I've been having trouble with dokku and basically it boils down to this: git remote add dokku jasonh@app.com:ruby-getting-started and then I get: git push dokku master jasonh@app.app.com's password: fatal: 'ruby-getting-started' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. dokku ssh-keys:list - had my SSH key included. (created in Dokku and added to github) dokku apps

Container NAMES when deploying with Docker

时间秒杀一切 提交于 2021-02-04 19:21:51
问题 I've just done my first ever Docker deployment, when i run this command to see the status of recent processes... docker ps -a I get this output My question is; what are those name referring to? 回答1: Those are random names generated for each container you are running. You can see those names at pkg/namesgenerator/names-generator.go. // Docker, starting from 0.7.x, generates names from notable scientists and hackers. // Please, for any amazing man that you add to the list, consider adding an

Dokku: PHP extension mbstring is missing when deploying Laravel application

隐身守侯 提交于 2020-12-08 03:27:25
问题 I am still getting this error below saying that PHP extension mbstring is missing when deploying my Laravel application (version 6.17.1 ) using Dokku (version 0.18.3 ) even though I have followed the documentation (https://devcenter.heroku.com/articles/php-support#using-optional-extensions). -----> Cleaning up... -----> Building laravel-app from herokuish... -----> Adding BUILD_ENV to build environment... -----> Warning: Multiple default buildpacks reported the ability to handle this app. The

Dokku: PHP extension mbstring is missing when deploying Laravel application

半腔热情 提交于 2020-12-08 03:27:05
问题 I am still getting this error below saying that PHP extension mbstring is missing when deploying my Laravel application (version 6.17.1 ) using Dokku (version 0.18.3 ) even though I have followed the documentation (https://devcenter.heroku.com/articles/php-support#using-optional-extensions). -----> Cleaning up... -----> Building laravel-app from herokuish... -----> Adding BUILD_ENV to build environment... -----> Warning: Multiple default buildpacks reported the ability to handle this app. The

Dokku: PHP extension mbstring is missing when deploying Laravel application

不问归期 提交于 2020-12-08 03:25:21
问题 I am still getting this error below saying that PHP extension mbstring is missing when deploying my Laravel application (version 6.17.1 ) using Dokku (version 0.18.3 ) even though I have followed the documentation (https://devcenter.heroku.com/articles/php-support#using-optional-extensions). -----> Cleaning up... -----> Building laravel-app from herokuish... -----> Adding BUILD_ENV to build environment... -----> Warning: Multiple default buildpacks reported the ability to handle this app. The

Error when deploying with git (dokku) - timeout / broken pipe

ぃ、小莉子 提交于 2019-12-30 09:33:46
问题 I use dokku with digital ocean for a while now without any problem I have a problem now when deploying to dokku leveraging the following command: git remote add dokku dokku@some-ip:myapp git push dokku develop:master I have the following problem: Counting objects: 528, done. Delta compression using up to 4 threads. Compressing objects: 100% (509/509), done. packet_write_wait: Connection to some-ip port 22: Broken pipe fatal: The remote end hung up unexpectedly error: failed to push some refs

Error when deploying with git (dokku) - timeout / broken pipe

ⅰ亾dé卋堺 提交于 2019-12-30 09:33:23
问题 I use dokku with digital ocean for a while now without any problem I have a problem now when deploying to dokku leveraging the following command: git remote add dokku dokku@some-ip:myapp git push dokku develop:master I have the following problem: Counting objects: 528, done. Delta compression using up to 4 threads. Compressing objects: 100% (509/509), done. packet_write_wait: Connection to some-ip port 22: Broken pipe fatal: The remote end hung up unexpectedly error: failed to push some refs

Django + Haystack + Whoosh, no results in production

耗尽温柔 提交于 2019-12-25 04:04:00
问题 I'm building a Django application using Haystack+Whoosh for search. In the development environment, search works as expected. However, in production, searches consistently return no results. Development: $> python manage.py rebuild_index ... All documents removed. Indexing 8 categories Indexing 4 documents $> python manage.py shell ... >>> from haystack.query import SearchQuerySet >>> SearchQuerySet().all().count() 12 Production: $> dokku run proj python manage.py rebuild_index -v2 ... All

Rails Dokku deployments to Digitalocean receives random ports

戏子无情 提交于 2019-12-24 14:49:24
问题 I created a rails app and have successfully deployed it to DigitalOcean. Every time I make a deployment, the port changes. First question, how do I get it to stop, and how do I get my application to respond to port 80 so I can hit it from the outside world without specifying the port number? Part of me wants to go back to heroku and just pay more because I don't get these headaches... 回答1: Unless you configure Dokku to use your domain name, it will serve the app at a random port. Put your