Slashzero

u/slashzero@lemmy.world
6 posts · 27 comments

Recent posts

Recent comments

For me, I have to do ‘url: “http://pictrs:8080/” ‘ instead of 127.0.0.1 in the config.hjson file

I checked this, and my lemmy.hconf file already has the host for pictrs set to http://pictrs:8080.

The only thing that has worked so far is manually unsetting my site's image icon by unsetting it directly int he Database.

I also added the proxy network to both lemmy-ui and pictrs, but that did not resolve the issue.

I had to manually remove the sites icon from the database for the site to start working again.

update site set icon = null where id = 1;

I’m going to try removing the proxy network and instead use pictrs:8080 on the internal network as that feels more secure.


Update: What “fixed” the pictrs issue for me was changing it from the internal address to my web site domain / external address.

Still not 100% though, plenty of other errors in the logs.

Note: this seems like it has something to do with the database, and something getting royally messed up post upgrade.

After trying all sorts of network hacks and updates, I eventually just decided to backup my Postgres container, and nuke it.

With a fresh Postgres DB running along with 0.18.0, my self hosted site is back online. Of course, my local post history and all my subs are gone... but at least my site is operational again.

I'd advise anyone self-hosting to not upgrade to 0.18.0 yet.

Have you tried enabling the slow query logs @ruud@lemmy.world? I went through that exercise yesterday to try to find the root cause but my instance doesn’t have enough load to reproduce the conditions, and my day job prevents me from devoting much time to writing a load test to simulate the load.

I did see several queries taking longer than 500ms (up to 2000ms) but they did not appear related to saving posts or comments.