-
Notifications
You must be signed in to change notification settings - Fork 686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Ghost 2.0 #156
Comments
Did you try upgrading it locally with Does it deploy successfully? Please let us know your findings. Feel free to open a Pull Request for the upgrade. |
I did the update following @mars command and everything is working fine. The only thing that I can mention is that a bunch of posts were created and published, so make sure to remove them before pushing to Heroku. |
@mars I tried upgrading to v2.0.3. Everything works fine such as uploading images to S3 and sending emails. Oh. Be sure to upgrade the Casper theme to v2.5.1, otherwise, the post images will be over-sized. |
Did you guys have to create |
I didnt, and you're right about the casper |
and it works |
actually I just did where ncu is npm check updates |
@octave I checked that |
I was unable to upgrade with npm install [email protected] |
I'm still not able to start Ghost 2.1.1 on Heroku. How should I specify host and ports? They should be an enviroment variable but in Ghost 2 the config is JSON which AFAIK does not support variables. |
@heruan this Heroku app generates the config JSON when it starts up with this Node script. It’s interesting that noone else has reported that problem yet, but if the config does need to be tweaked, feel free to figure it out and open a pull request 🙏 |
worked for me but I did it myself my relevant dependencies
|
@AlvaroR156 it will not automatically upgrade on each deploy, unless you delete the |
Hi all. Heroku is consistently throwing 503 or application errors after the attempted upgrade to 2.x. The steps I followed (adapted from this thread and a how-to) are in this Gist. I've tried to piece together everything I can have tried this dozens of time, learning a bit along the way but I've hit a firm road block. Any help would be appreciated. Thank you! N.B. I tried |
@eiknarr Try to remove package-lock.json and make
|
@kirylpl That worked! Thank you, very much. The one caveat was that I did not have a package-lock.json file, but a yarn.lock file (having used I've updated my Gist with the steps that worked. Thanks to everyone in this thread and Andrew at InitialApps for the help. |
In my case I had to follow these steps:
Hope it helps. Take care! |
I have directly upgraded to newest version via package.json (ghost and theme). Everything is working good. |
I managed to update to Ghost 2 using the the steps outlined above, but found it didn't run correctly when pushing to my existing app on Heroku. To combat this, I started a new app, deployed to this, set it up with a new database, then used the export/import tools to bring my content across. The issue I was having had something to do with migrations failing, which might have been my fault from previous botched attempts to update, so a fresh start with a new database seems to resolve these issues. For what it's worth, my repo is here: https://github.com/LimeBlast/maker.limeblast.co.uk - no idea if it contains anything useful for anyone else. |
I got this error "npm WARN [email protected] requires a peer of ajv@^5.0.0 but none is installed" How to fix it ? |
Might I suggest checking out a repository I have made by forking cobyism's ghost-on-heroku. I have updated it to ghost 2.9.1. You can find it on github here (scroll down to the readme section for a deploy button). Or if you prefer a webpage with a quick deploy button, you can go to this page. I also added a cloudinary adapter for image and video CDN. It also has a few free themes preinstalled. |
@SNathJr thanks! I was getting the DB migration fail issues, but your repo saved the day and many hours |
Hi @SNathJr, the deploy button method gives an error because of the existence of both @mars I tried |
for upgrading, Do I have to fork this repo and run |
Please upgrade to Ghost 2.0
Thank you.
The text was updated successfully, but these errors were encountered: