Recently I got GeekRoom.Tech fully operational and federating properly. However, before full success, I ran into a lot of issues and at one point had the domain as www.GeekRoom.Tech.
What is the best way to resolve that? I assume that those instances are actively trying to push activities but are constantly failing, potentially eating up bandwidth for them.
Disclaimer: I'm not an instance admin, just a user. I hope it's okay to post here.
Problem
I had several photos which wouldn't post for some reason. After poking around a bit, I found out that my home server has an upload size limit of 5 MB.
Now, an upload size limit is perfectly reasonable. Storage is expensive, and Lemmy is primarily designed for link aggregation and discussion, not file hosting.
However, the way Lemmy currently behaves when it encounters a large file is not ideal, and varies depending on the app/UI.
At best, you get a cryptic error message like {"data":{"msg":"Exceeded maximum dimensions","files":null},"state":"success"} or {"data":{"files":null,"msg":"Too many pixels"},"state":"success"}, and at worst, your webpage/app stalls for an indefinite amount of time.
Solution?
Obviously, it would be prudent to improve the comprehensibility of the error messages, but if there were a way to automatically compress large images to below the size limit, that woul
I just bought a new domain and would like to point it at my Lemmy instance.
There's nothing in the admin panel that allows me to do that. The docs describe running a script against the database, is that the accepted way to change domains?
Good afternoon! Newbie here, I've tried to install Lemmy using Ansible (Debian stable) and I ended up having an issue with the Postgresql connectivity (localhost via socket).
The error message I have is:
undefined
thread 'main' panicked at 'Error connecting to postgresql:///lemmy?user=lemmy&host=/var/run/postgresql: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
I have updated my /etc/postgresql/15/main/pghba.conf from peer to trust to md5 with no success (rebooting Postresql each time).
This is a quick write up of what I had spent a few weeks trying to work out.
The adventure happened at the beginning of October, so don't blindly copy paste
queries without making absolutely sure you're deleting the right stuff. Use
select generously.
When connected to the DB - run \timing. It prints the time taken to execute
every query - a really nice thing to get a grasp when things take longer.
I've had duplicates in instance, person, site, community, post and
received_activity.
The quick gist of this is the following:
Clean up
Reindex
Full vacuum
I am now certain vacuuming is not, strictly speaking, necessary, but it makes me
feel better to have all the steps I had taken written down.
\d - list tables (look at it as describe database);
\d tablename - describe table.
`\o filename\ - save all output to a file on a filesystem
Why, when I search for a community my instance is not yet aware of, does it sometimes not bring back any posts in that community? This community is in example of that.
Most new additions will redline the CPU but then come back with a populated page for the community. Sometimes that doesn't happen and no amount of purging and retrying will cause it to.
I'm currently unable to subscribe to anything on Beehaw. I just get subscription pending and there is no content sent my way. Statistically they're also more likely to encounter no. 1 above. Can I fix this?
I’m using the Lemmy ansible installation method. I’ve been trying to add sendgrid to the postfix section of the config.hjson file on my local machine. But where do I add the API key and username? I used port 587 but nothing works. Can anyone help walk me through how to integrate sendgrid into Lemmy-Ansible? Thanks!!
the email section of config.hjson looks like this, did I do this right?
I haven't tried this, but maybe someone will find it useful and test it out. You could probably also easily do it in the database instead of using the API call.
I put the middle finger emoji under their newest piracy announcement and they banned me from Lemmy World for a week. I can argue that it was ambiguous. It could have been against Lemmy for letting pirates back in, or it could have been against the pirates. So damn quick to judge.
I've been thinking about writing a website to monitor Lemmy instances, much in the same vein as lemmy-status.org, to help people like me, who are interested in the operational health of their favourite servers, have a better understanding of patterns and be notified when things go wrong.
I thought I'd share my thoughts w/ you and ask for your feedback before going down any potential rabbit hole.
1.1 Public-facing monitoring solution external to a cluster
I don't wish to add any more complexity to a Lemmy setup. Rather I'm thinking about a solution which is totally unknown to a Lemmy server AND is publicly available.
I'm sure one could get quite a decent monitoring solution whi
I'm looking into migrating (part of) my ever-growing pictrs data to something cheaper than the VPS disk it's currently on. Ideally I'd like to use minio's Object Tiering to migrate object to/from cheaper storage.
Anybody using Backblaze's cloud storage product? What other options are out there and what potential pitfalls should I be aware of?
#3799 has a bug, so I fixed it up alongside simplifying the logic slightly and adding a config flag to opt in to this new behaviour.
Currently live on https://campfyre.nickwebster.dev
Woke up in the morning and my selfhosted Lemmy server was basically braindead. I installed it in a Proxmox lxct container using the ansible playbook. It spams my logs with this:
undefined
target: "lemmy_server::root_span_builder", name: "HTTP request", fields: "http.method=POST http.scheme=\"https\" http.host=lemmy.ohaa.xyz http.target=/inbox otel.kind=\"server\" request_id=8206186d-eaf9-486d-99ad-d9c5def188c8", file: "src/root_span_builder.rs", line: 16 }] }
lemmyohaaxyz-lemmy-1 | 2023-08-22T05:16:08.001260Z WARN lemmy_server::root_span_builder: data did not match any variant of untagged enum AnnouncableActivities
lemmyohaaxyz-lemmy-1 | 0: lemmy_apub::activities::community::announce::receive
lemmyohaaxyz-lemmy-1 | at crates/apub/src/activities/community/announce.rs:46
lemmyohaaxyz-lemmy-1 | 1: lemmy_server::root_span_builder::HTTP request
lemmyohaaxyz-lemmy-1 | with http.method=POST http.scheme="https" http.host=lemmy.ohaa.xyz http.target=/inbox otel.kind="ser
My pictrs volume got quite huge and I wanna delete pics cached from other instances. The thing is I'm not sure which pics are from my instance and which aren't, because they all have cryptic filenames. Anyone knows of a way to differentiate?
What does that mean? I currently cannot do anything on Lemmy World. Am I shadowbanned? I can read the feed but I cannot look at my notifications or profile nor can I upvote or downvote posts.