heroku-toolbelt

Heroku deploy deletes server files automatically?

心不动则不痛 提交于 2019-12-08 18:05:07
问题 I'm new to HEROKU APPS . In my heroku app i have a problem. that is I'm using a php script to save data on server. Example : <?PHP $file = "example.txt"; $data = "Something..."; file_put_contents($file,$data); ?> This PHP script run successfully and save data perfectly. But, when I deploy my APP to HEROKU to update -> in this precess example.txt file is automatically deleted. 回答1: Heroku File Systems Heroku behavior varies depending a little on the stack you use. With Bamboo, most of the file

heroku pg: pull not fetching tables from heroku database

拟墨画扇 提交于 2019-12-08 04:24:28
问题 I'm trying to pull a heroku database to my local Windows computer by using heroku bash command heroku pg:pull HEROKU_POSTGRESQL_COLOR mydatabase --app appname , when I running above command I get the following error: 'env' is not recognized as an internal or external command, operable program or batch file.! But local database 'mydatabase' is created, but without any tables. My heroku app's database has a table in it, but it is not getting pulled to my local database. Help me to solve it. 回答1

Pip not found when deploying Django app to Heroku

一世执手 提交于 2019-12-08 03:42:02
问题 I'm trying to deploy a python 2.7.5 Django app to heroku, but I'm getting an error when heroku compiles the project. Specifically, the problem seems to be with pip, and when trying to install it. The first i tried, I got this error: "no such option: --allow-all-external". Heroku Output: PS C:\(...)> git push heroku master Fetching repository, done. Counting objects: 7, done. Delta compression using up to 4 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 499 bytes,

Heroku Toolbelt PPA update check failing

*爱你&永不变心* 提交于 2019-12-08 01:30:08
问题 For the past day or so, the Ubuntu repository for Heroku Toolbelt has been reporting the following: Failed to fetch http://toolbelt.heroku.com/ubuntu/./Packages 302 Moved Temporarily [IP: 23.21.198.2 80] What gives? 回答1: I assume some configuration on the Heroku servers is broken. If I edit the file /etc/apt/sources.list.d/heroku.list and replace the existing line deb http://toolbelt.heroku.com/ubuntu ./ with deb https://s3.amazonaws.com/heroku-toolbelt/ apt/ I can run apt-get update but I

The `heroku' command exists in these Ruby versions:

不羁岁月 提交于 2019-12-07 11:49:38
问题 I'm having major issues with the heroku toolbelt. I'm using the cedar 14 stack and when I am trying to use a ruby version that isn't ruby 2.0.0-dev I get this error. rbenv: heroku: command not found The `heroku' command exists in these Ruby versions: 2.0.0-dev I need heroku to be working with ruby 1.9.3 and I don't think cedar 14 supports that version of ruby. Can someone explain first, why I am only allowed to use heroku with ruby 2.0.0-dev and also how I can install a older stack that

Heroku Toolbelt PPA update check failing

风格不统一 提交于 2019-12-06 13:35:23
For the past day or so, the Ubuntu repository for Heroku Toolbelt has been reporting the following: Failed to fetch http://toolbelt.heroku.com/ubuntu/./Packages 302 Moved Temporarily [IP: 23.21.198.2 80] What gives? I assume some configuration on the Heroku servers is broken. If I edit the file /etc/apt/sources.list.d/heroku.list and replace the existing line deb http://toolbelt.heroku.com/ubuntu ./ with deb https://s3.amazonaws.com/heroku-toolbelt/ apt/ I can run apt-get update but I still can't download any packages. I assume this is a temporary issue, but I've reported it to the Heroku

Heroku thinks I have more than one app remote, when I don't

六眼飞鱼酱① 提交于 2019-12-06 11:21:41
问题 These are my remotes: Jordans-MacBook-Pro:appname jordan$ git remote -v heroku https://git.heroku.com/appname.git (fetch) heroku https://git.heroku.com/appname.git (push) origin git@github.com:jfeldstein/appname.git (fetch) origin git@github.com:jfeldstein/appname.git (push) But when I use the Heroku toolbelt, I get the error that I have more than one app... Jordans-MacBook-appname jordan$ heroku run echo 'hi' ! Multiple apps in folder and no app specified. ! Specify app with --app APP. I don

E: Unable to locate package heroku-toolbelt

别等时光非礼了梦想. 提交于 2019-12-06 10:27:49
问题 I am trying to install the Heroku Toolbelt on Linux Mint 15 Olivia (x86-64) When i try to run the standard command for installing on Debian machines: wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh I get: W: Failed to fetch http://toolbelt.heroku.com/ubuntu/./Packages 302 Moved Temporarily [IP: 23.21.198.2 80] ... E: Unable to locate package heroku-toolbelt I have also got the heroku.list repo in my etc/apt/sources/ : deb http://toolbelt.heroku.com/ubuntu ./ When i try to add the

Heroku trouble - uninstall/reinstall heroku toolbelt ubuntu

大憨熊 提交于 2019-12-06 09:35:50
问题 I'm running an Ubuntu instance on Amazon Web Services for development of a Ruby on Rails app (which is being used to test running the local rails server) and am pushing the app to Heroku for deployment. This setup has worked for me without issues until yesterday when I wanted to push the contents of my development database to production rather than just the app itself. After some quick googling, this seemed to be easily accomplished by using Taps . I wasn't sure whether or not taps was

Heroku config:push not updating environment variables

元气小坏坏 提交于 2019-12-06 03:19:28
问题 I've deployed an app to Heroku, and I'm currently storing my environment variables in an .env file. I used heroku config:push to push the variables up to heroku, and that worked fine. Now, I want to update one of them. I changed it in my .env file, and ran heroku config:push again. The push said it was successful, but when I run heroku config , I can see that the values actually haven't changed. I've tried running heroku restart , but that didn't do anything. How can I update my environment