Got a strange error when I transferred our forum to the new server and new domain

AI-generated summary

A user, Alienazk, encountered a strange error after transferring their forum to a new server and domain, with repeated HTML elements and a broken layout. They followed the domain change guide https://meta.discourse.org/t/change-the-domain-name-or-rename-my-discourse/16098 and restored from a backup, but the issue persisted. pfaffman suggested checking for cached content and using an incognito window, and later confirmed the site was not properly running. The user resolved the issue by enabling safe-mode Alienazk, and pfaffman requested the solution be marked to tidy up the thread.

The error is shown below.


And, rendered html, Ummm…just be like the screenshot and you can see discourse-root div is repeated many times.
Really don’t know how to fix this error, please help me.
Thank you very much.

Oh..I meet the problem after restoring with a backup

How did you move to the new domain? Did you use Change the domain name or rename my Discourse? Another way is to backup and restore. Restoring on a new domain name will update the hostname.

Thanks Jay!
I just follow the step Change the domain name or rename your Discourse.
And I meet the problem after restoring from a backup(old domain).

Is your site http://tartali.online/? That isn’t running a web server. Maybe you see a cached version? Try an incognito window.

Getting the site working is the first step. Then you might try safe-mode.

Thank you!
I solved the problem with safe-mode.

Great! If you’d mark my post (or yours for that matter) as the solution it’ll tidy things up a bit.

Thanks