Do I need to check if app.yml needs to be modified before every rebuild upgrade?

סיכום מבוסס בינה מלאכותית

该讨论围绕Docker部署Discourse时,每次rebuild升级前是否需要检查或修改app.yml文件展开。提问者sniper756表示长期未更改配置,询问每次升级前的必要检查步骤。Adam_Root明确指出,通常不需要在每次rebuild前修改app.yml,只要当前运行正常且服务器配置未变,即可继续正常升级。但他建议定期查阅官方发布说明,特别是针对重大更新时,以防需要配置变更,并强调在修改前备份app.yml是个好习惯。Rajat_99也同意此观点,补充说只需根据发布说明检查是否有必需的配置更改,并在必要时更新即可。此外,Ed_S提醒用户需特别注意app.yml中是否存在固定版本(pinned versions)的配置,因为多处自定义设置可能导致版本被锁定,从而影响升级过程。总的来说,常规升级无需修改配置文件,但应关注发布说明、确保无版本锁定并保留备份。

I use Discourse deployed with Docker and perform weekly rebuild upgrades. I haven’t edited or updated app.yml for a long time. Do I need to check if app.yml requires modifications before each rebuild upgrade? Thanks.

No, you don’t need to modify app.yml before every rebuild or upgrade.

If your Discourse installation is running fine and you haven’t made any changes to the server configuration, you can continue rebuilding as usual.

It’s still worth checking the official Discourse release notes occasionally, especially for major updates, in case any configuration changes are required.

Also, keeping a backup of your app.yml is a good idea before making changes to it.

@sniper756 Not at all. You Just check Discourse release notes for required configuration changes, keep a backup, and update only when necessary.

Be sure you don’t have any pinned versions - there are several places a person might have customised an app.yml which would pin a version.