Experience and tips based off these Ubuntu 20.04 instructions:
https://join-lemmy.org/docs/en/administration/from_scratch.html
I thought trying to detail problems and extra steps in public might help some people.
Experience and tips based off these Ubuntu 20.04 instructions:
https://join-lemmy.org/docs/en/administration/from_scratch.html
I thought trying to detail problems and extra steps in public might help some people.
Ok, that seems to have helped!
curl localhost:8536/api/v3/site
now works!Nice! Sorry my notes are a mess and nothing is in order since I was trying a lot of different things at the time.
Lemmy logs everything, and I mean everything. I haven’t found a setting to dial it back so I’ve banned it from writing to syslog and moved journal to memory only. Here is what I ran to stop it from filling up my disk with logs.
echo 'if $programname == "lemmy_server" then stop' >> /etc/rsyslog.d/ignore-lemmy_server.conf
systemctl restart rsyslog
sed -i 's/#SystemMaxUse=/SystemMaxUse=25M/g' /etc/systemd/journald.conf
sed -i 's/#Storage=auto/Storage=volatile/g' /etc/systemd/journald.conf
systemctl restart systemd-journald