discourse remap talk.foo.com talk.bar.com This command will update the database, right?
Yes indeed it will and does
What does the command
rake posts:rebake do? It also will update the database?
Rebaking will convert the raw markdown of all posts to HTML again. It should be run when you have manually changed the markdown and want the changes to appear
Thanks for explanation @fefrei
Do I need to rebuild when my domain name changes?
discourse remap talk.foo.com talk.bar.com
THIS TASK WILL REWRITE DATA, ARE YOU SURE (type YES)
So type YES and check Enter button?
Yes. You want it to make the change as you describe.
You should make a backup first in car something good wrong.
I made changes in Admin settings with new website name. and mails are sending with new name but it is saying “sent through old website name”
will update after changes.
Hey, @codinghorror. Perhaps add here that you can re-run
discourse-setup rather than editing
Another complication that isn’t handled (and I don’t have a simple, clean solution for off-hand) is that if you change https://xxx.com to https://yyy.com, you get the ugly warning about the site not being the right one.
Sure I made it a wiki so edit away!
I wanted to know what is the procedure for dual container install with separate container for Data and Web.
My installation is on dual container.
Edit the web container’s .yml for
DISCOURSE_HOSTNAME and rebuild that container. Everything else is the same.
Thank you @mpalmer
I completed the renaming of my website successfully using the procedures explained here.
after entering into containers, I did not know how to come out of it.
but issued Exit command. it worked.
Thank you guys.
It is time to change SSL. but it is not complaining so far using SSL certificate of the old site itself ?.
I am unable to send mails from Admin/Email. I changed postmaster @ oldsite dot com also to new postmaster @ newsite dot com. may be need to update password for mailgun ?
Did it also. now mails are working.
But my original purpose of renaming of website was to avoid mails going to spam folder. this renaming did not solve it. Found website name is not the problem.
Need to look at something else on this.
Discourse emails are marked as spam on GMail
The highlight.js file still inside “localhost” folder somehow even we changed the domain from “localhost” to “abc.example.com”. The Url pointed to “/abc.example.com/highlight.js” but the js file is inside localhost folder so it can not be found and we can’t have highlight on posts. Please help me I took so many times to figure out this issue.
My forum recently changed the domain name and we’ve encountered a problem. We noticed that when emails were being sent out, they were still referencing the old domain. I took a look at the templates and found that the problem is occurring with the base URL. as a temporary fix to what our user base would most commonly utilise the emails for, I simply changed a few (like 4-5 of them, not all of them) of the templates to substitute the base url for the current domain.
More recently though, we added an admin to our forum. The email that was generated linked to the old domain and I suspect it is the same issue. The problem with this one is I cant find the email for confirming an admin addition in the email templates. In any sense, how do I go about changing the base url to the current domain from the console, since I know thats whats going to solve the problems we’ve encountered?
This should be the
DISCOURSE_DOMAIN_NAME in your app.yml.
i went into the app.yml and didnt find that string, even after performing a search. there is a
DISCOURSE_HOSTNAME string in the file, however that already contains the correct domain name. are there any other places to look? or any other strings it would be stored under?
Site setting : notification email
That’s also already correct