thelovekesh / ghost-v4-on-heroku Goto Github PK
View Code? Open in Web Editor NEWDeploy the latest ghost v4 on Heroku
Home Page: https://ask.codebulbs.com
License: MIT License
Deploy the latest ghost v4 on Heroku
Home Page: https://ask.codebulbs.com
License: MIT License
Hello,
After installing your repo, I git this error message:
Critical security update available β please update Ghost as soon as possible. Details here: GHSA-9fgx-q25h-jxrg
Fixed in 4.3.3, all 4.x sites should upgrade as soon as possible.
As the endpoint is unused, the patch simply removes it.
Currently, some users are facing an issue during the deployment of Ghost v4 on Heroku. During the deployment, an error is being shown related to the Heroku policies.
I believe it is due to some outdated project dependencies in Ghost v4.2 and the dependencies might have some vulnerabilities that's why Heroku is unable to deploy the Ghost apps.
Tasks to be done:
package.json
I have used this version of ghost on three publications but the favicon/publication icon does not work or does not show up.
What I have tried already
Any help on resolving this will be highly appreciated.
Thank you
Hi,
Thanks for your job with this plugin π .
I'm having trouble creating new integrations and don't know why. I'm logged in with role Owner.
See attached screenshot.
This is a fresh install on a heroku dyno by clicking the button on github. Version 4.9.3 with mysql (JawsDB).
Any idea how to proceed with this?
Sidenote: I cannot remove previously created users either only create new ones..
Any plans on moving this deployment somewhere else as heroku will no longer be free?
I get this
TypeError: Cannot read property 'connection' of undefined
remote: οΏ½[1G at exports.Provider.sanitizeDatabaseProperties (/app/node_modules/ghost/core/shared/config/utils.js:103:25)
remote: οΏ½[1G at Object.loadNconf (/app/node_modules/ghost/core/shared/config/index.js:54:11)
remote: οΏ½[1G at Object.<anonymous> (/app/node_modules/ghost/core/shared/config/index.js:93:27)
remote: οΏ½[1G at Module._compile (node:internal/modules/cjs/loader:1092:14)
remote: οΏ½[1G at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
remote: οΏ½[1G at Module.load (node:internal/modules/cjs/loader:972:32)
remote: οΏ½[1G at Function.Module._load (node:internal/modules/cjs/loader:813:14)
remote: οΏ½[1G at Module.require (node:internal/modules/cjs/loader:996:19)
remote: οΏ½[1G at require (node:internal/modules/cjs/helpers:92:18)
remote: οΏ½[1G at bootGhost (/app/node_modules/ghost/core/boot.js:238:18)
Env variables:
APP_PUBLIC_URL: ββββββ.βββ.βββββ.βββ
DATABASE_URL: mysql://mysql:ββββββββββββ@dokku-mysql-ββββββ:3306/ββββββ
DOKKU_APP_TYPE: herokuish
MAILGUN_API_KEY: βββ-ββββββββββ
MAILGUN_DOMAIN: βββββ.βββββββ.βββ
MAILGUN_PUBLIC_KEY: βββββββ-ββββββββββββββββββββ
MAILGUN_SMTP_LOGIN: postmaster@βββββ.ββββββ.βββ
MYSQL_DATABASE_URL: mysql://mysql:ββββββββββββ@dokku-mysql-ββββββ:3306/ββββββ
S3_ACCESS_KEY_ID: ββββββββββββββββββββ
S3_ACCESS_SECRET_KEY: ββββββββββββββββββββββββββββββββββββββββ
S3_ASSET_HOST_URL: ββββββ.ap-south-1.ββββββ.βββ
S3_BUCKET_NAME: ββββββ
S3_BUCKET_REGION: ap-south-1
Hi thelovekesh,
please make backblaze b2 integrate as storage,
or if it's possible make rclone config integrate ,
waiting for your commits
finest regards
Hi,
I was successfully able to create an app with the ghost template. But, when I tried cloning it to my local using the git commands, it gives me an empty repo. How do I get the source code of the heroku app into my GIT?
Can you please help me with this issue?
Thanks,
Neha
Mysql (Jawsdb) on Heroku will ignore connection pool settings to spawn a new connection for every alteration. If you're editing posts on Ghost beyond x amount of time (15m for me), it will exceed the database limit and you're effectively locked out.
FWIW I'm on a Nextjs front-end, deployed on Vercel.
I suppose upgrading the database plan might fix this, but a seemingly light activity shouldn't cause this issue to begin with. I would expect needing to upgrade if I was publishing 2-3 blog posts a day, not editing one for two hours π₯²
EDIT: I have confirmed that the error goes away when you upgrade the database base plan (I did Kitefin -> Leopard), so it's definitely related to the db limit.
When deployed via the button in this repo, I am unable to get the git access to further customize & develop the application.
For example the command heroku git:clone -a APP-NAME
returns an empty repo.
However, as per doc, I was able to download code using the below command:
heroku slugs:download -a APP-NAME
But the download is not a git repo. What is the right method to continue development once the deployment is done? For example, how can I make changes in the code or install a new plugin or update the version of ghost deployed to heroku via this repo?
"We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy."
Heroku dynos have ephemeral storage so the cloudinary/s3 storage adapters take care of images. But other items such as the all important routes.yaml which is uploaded via Settings>Labs doesn't persist
I already had to find a work around for custom themes uploaded too by committing them into my fork of this repo.
But am not sure where to include routes.yaml / if even possible. Maybe a postinstall script?
I'm new to ghost.
Can anyone help / advise?
All of Ghostβs routing configuration is defined in content/settings/routes.yaml - which you can edit directly, but you can also upload/download this file from within your Ghost admin panel under Settings Β» Labs.
seems like overwriting content/settings/routes.yaml
with a local committed file will work
Seems that simply committing my routes.yaml to content/settings/routes.yaml inside this repo works
Closing issue - but will leave for future reference
node thelovekesh.js
TypeError: Cannot read property 'connection' of undefined
at exports.Provider.sanitizeDatabaseProperties (/Users//Repositories/ghost-v4-on-heroku/node_modules/ghost/core/shared/config/utils.js:103:25)
at Object.loadNconf (/Users//Repositories/ghost-v4-on-heroku/node_modules/ghost/core/shared/config/index.js:54:11)
at Object. (/Users//Repositories/ghost-v4-on-heroku/node_modules/ghost/core/shared/config/index.js:93:27)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at bootGhost (/Users//Repositories/ghost-v4-on-heroku/node_modules/ghost/core/boot.js:250:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node thelovekesh.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Hello,
I would like to update the ghost version to v5 since I need some of the new features. Is it even possible with this repo?
Hello,
thanks for the great blog. I cannot start blogging because of:
does this app needs a paid account on heroku or it will still use the free tier but somehow heroku just require the cc for this app?
Heroku auto detect that the code violates their terms of usage and doesnt allow the deployment of this repo
I've used your repo to create a new Ghost v4 site. Thank you!
I updated the Mailgun account so I can send emails. I've updated the DNS settings, SMTP credentials, Mailgun domain, API keys, etc. I've tested these manually using curl and received the email. But when I try to send an email from the website (subscription confirmation), it doesn't work. Mailgun isn't even reporting the attempt.
Are you able to help, please?
...got this error on mailgun:
An error was encountered when contacting the add-on partner to create mailgun:starter. Please try again later.
What to do now?
Thanks again!
Best regards
Gerrit
Hello all,
deploying ghost V4 with AWS S3 credentials to heroku gives the following error:
"messageItem could not be created:
We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy.
"
Please check the issue!
Thanks!
Best regards
Gerrit
When trying to deploy on Heroku, I get the following error:
Recreate: Log in to Heroku. Click on the Deploy to Heroku button on the "ghost-v4-on-heroku" github page. Fill out the app name and APP_PUBLIC_URL. Click Deploy app.
The app fails and the above error message pops up in the top right.
Is anyone else experiencing this issue?
I get this error message Client request for 4.8 does not match server version 4.2.2
when setting up an app with the deploy button and going to https://YOURAPPNAME.herokuapp.com/ghost
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.