Nov. 16th, 2022

solarbird: (vision)
hm hm hm I think I made a mistake setting up mastodon

so i usually set up my servers to have a separate /home partition and naturally did that here too, with a / of 30gb, which is normally totally fine, i run lean installs.

the problem of course is that postgresql is storing the local database in /var/lib, oops. so we're fine for now but not forever.

is there any reason not to create /home/postgres, clone /var/lib/postgres contents over, and softlink /var/lib/postgres to /home/postgres?

or is it better to clone then edit postgresql.conf to point to /home/postgres?

eta: another mastodon instance administration told me to clone then edit postgresql.conf because system call reasons. and it worked! very cleanly too. genuine "phew" moment lol

April 2025

S M T W T F S
   1 2 3 45
6 78910 1112
131415 16 1718 19
20 212223242526
27282930   

Most Popular Tags

Page Summary