在容器重建期间,应用程序.yml中的URL更改后,上传路径应更新

When Discourse is restored from a backup, it automatically updates the paths for all uploaded content to match the current site URL. However, if the site’s DNS settings are changed and app.yml is modified and the container is rebuilt, this update does not occur. This results in all uploads being inaccessible after the rebuild. The simplest workaround I’ve found is to backup and restore the site, but should this check be included in the container rebuild process?

The correct process that should be followed can be found here

Maybe that topic needs to be linked in a comment in the template.

3 个赞

Okay, thanks very much!

This topic was automatically closed after 3 days. New replies are no longer allowed.