GoToSocial | Mastodon Alternative
-
@yusf The startup script configures this for you. I am trying to find a way to make that configurable pre-install like some apps can change their ports pre install. Otherwise it defaults to the current app domain.
Also, if you wanna get weird with it, you can change that value but then drop the table in postgresql for the app (PROCEED WITH CAUTION)
-
@yusf You can't move domain once it's installed unless you drop the database it uses (see that same config for the creds, db name, etc)
be aware this will erase any user data on the instance.
But yes - it will recreate database and tables.
-
@murgero It's not clear to me how to do that. I tried
ALTER DATABASE mydb CONNECTION LIMIT 0;
andSELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE datname = 'mydb';
but I only managed to lock myself out before being able to
DROP DATABASE mydb;
How should I drop the database? No matter what I try I get
ERROR: cannot drop the currently open database`
-
-
@doodlemania2 Repo is in the original post