I'm trying to add / modify Config Var, when I try to save the change I get a message:
Item could not be updated:
Unknown Error. Please contact support.
Any ideas on what may be wrong?
The below command solved my issue. Hope it works for others too.
Using Heroku CLI:
heroku config:set DB_PASSWORD=secret -a [heroku-app-name]
Bonus Points:
If Heroku CLI is not installed, you could use NPM to install it easily in [windows] system.
npm install -g heroku
heroku login
Try to update in incognito mode or in different browser. It worked for me.
Related
I am trying to update the Heroku CLI, however, without success.
Current version of Heroku CLI is
heroku-cli/6.15.5-1f03166 (win32-x64) node-v9.3.0
When running
heroku update
I get the following error
C:\>heroku update
CLI is updating... !
! 'ELOCK': write lock exists: update
I didnt' find any solution to this problem so far as I am hesitating to just uninstall and re-install the Heroku CLI (all my configs are lost then).
I solved this problem by uninstalling heroku and installing via command line:
npm install -g heroku
So I got the most current version.
Updating heroku worked for me:
npm update -g heroku
Not sure what the cause of this was but restarting solved the issue for me. Good luck!
11:53:26 | ~ : heroku update
heroku-cli: Updating CLI from 6.15.26-5726b6f to 6.15.30-e7b41cd...
done
Updating plugins, node version changed to 9.7.1... done
heroku-cli: Updating plugins... done
I had the same problem and I solved removing this file:
/Users/YOUR_USER/Library/Caches/heroku/update.lock
I use mac, but I guess you will have same file in a similar location
I had the same problem on the Mac - solved it by running htop, filtering by heroku and killing all processes.
TLDR; kill running Heroku processes
I also had the same problem and solved it by removing error.log from the following directory in Windows 10: C:\Users\Behzad\.heroku\error.log
heroku create error
I'm trying to learn ruby on rail and I followed the heroku steps to the t.
when I enter "heroku create" i get the error message in the img.
I had the same error on Windows. I guess my installed version of the Heroku CLI was outdated because all I did was uninstall and reinstall the Heroku CLI and everything is working again.
Everytime I try to install Homestead on 5.4, I cannot. Here is the error message I get from the terminal. I have tried to look at the path, but I see no issues. Aside from this, I have no clue what to do. Any troubleshooting tips would be appreciated.
link to issue (picture)
Two ways to fix this
Disable tls composer config -g -- disable-tls true - not recommended
Enable the openssl extension in your php.ini file extension=php_openssl.so
I'm trying to push a new app to Heroku but I'm getting this libsass error:
Error: ´libsass´ bindings not found. Try reinstalling ´node-sass´?
I've looked all around but the solutions I've found are for a local environment, but I have no problem on my machine.
One of the things I found was to use node 0.12.0, I was on 0.10, but Heroku is already on 0.12.0
What else can I do on Heroku?
I assume you have node-sass in your package.json if so setting NODE_MODULES_CACHE to false may help
You can do it on heroku.com or in CLI:
heroku config:set NODE_MODULES_CACHE=false
I am getting the following message when I try to load a rails console in heroku:
→ heroku run rails console -a myapp
▸ cli.Spinner is not a function
Output from checking heroku version:
→ heroku --version
heroku-toolbelt/3.42.47 (x86_64-darwin10.8.0) ruby/1.9.3
heroku-cli/4.29.3-7996295 (amd64-darwin) go1.6
=== Installed Plugins
heroku-apps#1.7.3
heroku-cli-addons#0.3.0
heroku-fork#4.1.2
heroku-git#2.4.5
heroku-local#5.0.1
heroku-orgs#1.0.5
heroku-pg-extras
heroku-pipelines#1.1.3
heroku-run#3.1.1
heroku-spaces#2.1.2
heroku-status#2.1.2
It has worked for me in the past but now I get this error. I've reinstalled the Heroku CLI using both the Heroku provided package and with brew install heroku. I am able to use the CLI for logs with heroku logs -a myapp. Any thoughts about what might be the issue?
You can fix this by removing your ~/.heroku directory and running heroku update. If you have manually installed plugins you will have to manually reinstall them.
This solution actually works in linux. A friend next to me have the issue, and we just remove the ~/.heroku and run heroku again, because all the files were deleted is just install all the updates.