Redirect discourse URL

(Mohanapriya) #1

Hi,

I have created the new discourse URL http://www.mysite.com. Now need to change the redirect to discourse site http://www.mysite.com/forum. how to change this URL. Please, anyone provides me a solution.

0 Likes

(Bhanu Sharma) #2

You will essentially take a backup of discourse and start afresh with a subfolder install. Not recommended.
for subfolder install,

I’d recommend try moving to forum.mysite.com instead.

2 Likes

(Mohanapriya) #3

Hi Bhanu sharma,

Thank you for your quick reply.
Subfolder support with Docker - As per the URL mentioned i followed the procedure. But i can’t change my discourse host URL. it’s displayed oops error :frowning:

0 Likes

(Bhanu Sharma) #4

You probably have done something wrong.
I highly suggest you start fresh, take a backup of the current install, deploy a subfolder Install and test it before proceeding.

0 Likes

(Mohanapriya) #5

Now i installed fresh discourse.after changing the app.yml file after i run the “./launcher bootstrap app” finally i got the below error. how to resolve this issue.

FAILED
--------------------
Pups::ExecError: socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1 failed with return #<Process::Status: pid 46 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params "socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1"
d162b0ab728b5835c7bc683f24b69f6cc6e9f97b8c32bfdde531371deb5f62ba
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
0 Likes

(Stephen) #6

Subfolder installs have a lot of technical pitfalls with no appreciable benefit. They’re highly inadvisable.

5 Likes