Uploads Path Should Update When URL Changes in app.yml During Container Rebuild

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.


Okay, thanks very much!