gpt4 book ai didi

node.js - Heroku fork - 该附加计划仅适用于特定用户

转载 作者:搜寻专家 更新时间:2023-10-31 22:23:16 25 4
gpt4 key购买 nike

我在 Heroku 上部署了一个生产阶段的应用程序。我想 fork 该应用程序以创建暂存环境。

Input
heroku fork --from <app_name>-production --to <app_name>-staging

Output
Forking <app_name>-production... done. Forked to <app_name>-staging
Setting buildpacks... done
Adding newrelic:wayne to <app_name>-staging as NEW_RELIC... done
Adding deployhooks:http to <app_name>-staging as DEPLOYHOOKS_HTTP... done
Adding heroku-postgresql:standard-yanari to <app_name>-staging as HEROKU_POSTGRESQL_MAROON...!
That add-on plan is only available to select users.
There was an error forking to <app_name>-staging.

我不确定我是否需要更新 postgresql 数据库,或者通过 Heroku 购买一些额外的附加组件。因为我是新手,而且这是我雇主的应用程序,所以我不愿意进行任何可能导致数据丢失的更改。谢谢!

最佳答案

我在遗留“开发”计划中遇到了类似的问题,Heroku 支持人员的回应是......

Sorry it's a bit of an issue with older apps. The heroku-postgresql:dev plan is no longer available - it's heroku-postgresql:hobby-dev. You could either try a pg:copy to move this app to hobby-dev or use the --skip-pg flag to skip the database creation and set that part up manually (you can pg:copy between apps with heroku pg:copy <source app>::<db name> DATABASE -a <target app>).

希望对你有帮助

关于node.js - Heroku fork - 该附加计划仅适用于特定用户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38753442/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com