Mastodon using old name location after changing cloudron location field.
-
I could use some help.
When looking at one's cloudron apps page there is a "location" field. For some reason when I was setting up mastodon this field had "cloud" in it. So the URL for my mastodon server became cloud.prolegom.com
Sooo... I was like, "Hey, I don't want that. I just want it at prolegom.com." So I deleted "cloud" from the Location field. ALL GOOD. My mastodon server is now at plain old prolegom. com
HOWEVER... all of my new users are being given user names as if mastodon was still at the OLD "cloud." prefixed URL location.....
(Should say): yournamehere@prolegom.com
(Actually says): yournamehere@cloud.prolegom.com
How How can I remove the "cloud" prefix? The application is not at cloud.prolegom.com so I'm not sure why cloudron or mastodon is inserting cloud as a prefix before prolegom.com in everyones user names?
-
@jgentile The
@xxx
is called theLOCAL_DOMAIN
in mastodon terminology. In Cloudron package, this defaults to where you installed it.To change it, see https://docs.cloudron.io/apps/mastodon/#changing-local_domain . However, please note that existing accounts are not migrated and there are probably other implications because mastodon does not support changing the domain after the app is in use (IOW, I have no idea what happens when you change this after you have many users).
-
@girish Thank you for your help. I Found the LOCAL_DOMAIN was in a filed called env.production. I had to install "locate" command in terminal on digital ocean. Thats how I found it. Not sure if its sitting "above" the cloudron stuff in the directory tree.
Made and commented the change in LOCAL_DOMAIN. and will restart the server. We only have 3 users. Things appear fine on the site. Names changed as I wanted, however... I'll have to see if there are any unknown ramifications.
-
@jgentile oh wow, "locate" is not at all necessary. You should just use the web terminal or even better the file manager to edit files related to apps.