Clone to a new server; Change Domain; New Topic Asking for Login Everytime

hi, new to discourse.

I need to clone an environment.

What I did:

  • rsync -a from dirs discourse_docker and discourse_volumes
  • moved the dirs to a new server
  • changed discourse_docker/containers/app.yml (the domain name)
  • generated new certs to new domain, moved cert and key to discourse_volumes/shared/standalone/ssl
  • ran ./launcher rebuild app on new server

Works great, everything appears normal. When I repply a topic works. But when I create a “New Topic" it sends me to the login page.

What am I doing wrong? Any hint?

Does that happen in safe mode?

i think you need to do a another task to map the topics from the old domain name to the new domain name

2 Likes

Many thanks for this info.
Problem solved with your help.

In safe mode it worked ok.

Exited safe mode and as long as I disabled each plugin I retested the functionality.

One plugin was causing the trouble.

But fortunately when I reenabled it the functionality worked ok. I did not know what happened. Maybe a remap on backstage when I disabled and reenabled it.

Problem solved

Very precious advice @Ethsim2

As stated in my earlier post, the problem was solved, disabling and reenabling the offending plugin.

But as a novice in discourse I will definitely do your advice on this new environment.

2 Likes