Forem Creators and Builders 🌱

Discussion on: Change domain after install Forem on digitalocean (not solved)

 
ellativity profile image
Ella (she/her/elle)

Can you try logging in as core and see what happens?

Thread Thread
 
ellativity profile image
Ella (she/her/elle)

Also, if you destroyed your Droplet you could reconfigure your Forem with your chosen URL before rerunning the playbook.

That's one way around this issue, for now 😉

Thread Thread
 
varhal profile image
Varhal • Edited

The authorization is successful under the core user.

I have a large wordpress site. I want to migrate from wordpress to forem. But first, I need to create a website on forem, transfer all the information, make the necessary settings, and only then change the domain to the main one.

Thread Thread
 
ellativity profile image
Ella (she/her/elle)

Ah, I see! Thanks for clarifying.

And thanks for confirming that core works for you ☺️

Thread Thread
 
varhal profile image
Varhal

I understand that there is no solution to this problem yet? Maybe I can log into the site using the ip, not the domain? Or, for example, bypass the system by binding another domain (by editing DNS records). There must be another way out)

Thread Thread
 
ellativity profile image
Ella (she/her/elle)

Sorry, @varhal , I understood that you had successfully logged in as core?

Thread Thread
 
varhal profile image
Varhal

Yes, i authorization is successful under the core user. But need under root user

Thread Thread
 
ellativity profile image
Ella (she/her/elle)

I haven't tried these instructions for myself but I'm curious if you already tried to SSH using core instead of root and then su - root?

Thread Thread
 
ellativity profile image
Ella (she/her/elle)

Please remember that Forem Self-host is intended to be self-administrated, so while we will assist you to use Forem we don't provide instructions on how to use Linux:

Please note that Forem is a complex piece of software, and hosting and managing it in a cloud environment is non-trivial. While the recipes and scripts here are expected to work for the limited scenarios we tested against, use and modification of the recipes, or altering the deployed environment, may require familiarity with the following layers of the tech stack we built with, and ongoing maintenance of the deployed system may require interacting with any of these technologies:
-Ansible
-Your chosen cloud provider - both CLI and UI use
-Python 3 and pip3
-systemd
-Podman
-General Linux administration, especially Fedora CoreOS, including:
-Butane
-Ignition

Thread Thread
 
varhal profile image
Varhal

Thanks for the answer. I have experience using the terminal on linux. What password should I enter when using the command su ? Doesn't accept passwords

Thread Thread
 
varhal profile image
Varhal

I seem to understand how it works, thank you. I will write instructions for other users on how to change the domain if everything works out

Thread Thread
 
ellativity profile image
Ella (she/her/elle)

You've got it? Hope this works out!

Thread Thread
 
varhal profile image
Varhal

Hey @ellativity !

Domain change succeeded! After changing the domain, all images in articles and avatars were no longer displayed, since they refer to the old domain. Could you help me with this?