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

June 2025

S M T W T F S
1 234 5 67
891011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Page Summary