this post was submitted on 10 Jun 2023
187 points (100.0% liked)

Beehaw Support

41 readers
1 users here now

Support and meta community for Beehaw. Ask your questions about the community, technical issues, and other such things here.

A brief FAQ for lurkers and new users can be found here.

Our June 2023 financial update is here.

For a refresher on our philosophy, see also What is Beehaw?, The spirit of the rules, and Beehaw is a Community


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

we accidentally did the upgrade just now, which is what you just experienced. anyways we're at like double the power and processing, and three times the storage we were previously at so yeah hopefully that'll be good. anyways i guess i'll leave this post stickied until i go to sleep in like an hour

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 38 points 1 year ago (1 children)

I thought Reddit hugged yall to death again

[–] [email protected] 40 points 1 year ago (2 children)

oh god hopefully not with what we're running now lol, we'll see on the 12th i guess but for some perspective we can probably handle traffic of three to five times the intensity of what we did today (eyeballing it) based on just the metrics i can quickly reference now (i am not our tech person)

[–] [email protected] 24 points 1 year ago* (last edited 1 year ago) (1 children)

With r/spez's AMA going the way it did I wouldn't be surprised

[–] [email protected] 23 points 1 year ago (1 children)

If the Reddit admins weren’t deleting every post and comment about Lemmy, possibly there would be an influx.

[–] [email protected] 20 points 1 year ago* (last edited 1 year ago) (2 children)

there actually was a mass influx and there still is

[–] [email protected] 10 points 1 year ago

Holy shit that’s almost a 90deg angle lmao!

Maybe admins should set up one of these donations pages with current donations for the month/monthly operational costs, so we can help when the maintenance budget gets a bit tight? I can help build that, if need be.

[–] [email protected] 9 points 1 year ago (2 children)

Where is this from, please?

[–] [email protected] 7 points 1 year ago

I don’t know what that other link posted is, which I got warning for when I tried to visit, but I believe Beehaw primarily uses OpenCollective, and this is overview: https://opencollective.com/beehaw

[–] [email protected] 17 points 1 year ago

Would it be worth adding a CDN (eg cloudflare or fastly) as a preventative measure? I don't know what your traffic distribution is between static and dynamic content, but i imagine being able to offload image GETs would at least prevent you from getting surprise egress traffic bills.

CF also has an "always online" feature to serve a cached version of the site of the server is down. It won't allow people to post it comment, but it might provide a smoother user experience.

[–] [email protected] 24 points 1 year ago

At least the turnaround was quick

[–] [email protected] 24 points 1 year ago (1 children)

Nothing makes you sweat like an accidental deployment! Looks like it worked, mark that as a win!

[–] [email protected] 17 points 1 year ago (1 children)

"Wait, why's the test server getting so much traffic all of a sudden...?"

[–] [email protected] 6 points 1 year ago

Can't get surprise load on test servers if you test in prod!

/taps head

[–] [email protected] 19 points 1 year ago (1 children)

Damn, that's some really quick updating. Nice job.

[–] [email protected] 19 points 1 year ago* (last edited 1 year ago)

Thanks for the recognition. We aren't a big silicon valley conglomerate, just a few people trying to make a better service for others.

[–] [email protected] 17 points 1 year ago (1 children)

It's ok Beehaw you're doing your best

[–] [email protected] 23 points 1 year ago (4 children)

They really are like oh my

[–] [email protected] 9 points 1 year ago

Beehaw: minds its own business with a couple hundred users, nothing big

Redditors: “Hold my karma.”

[–] [email protected] 9 points 1 year ago (1 children)
[–] [email protected] 4 points 1 year ago

🚀➡️🌛

[–] [email protected] 7 points 1 year ago (1 children)

Blame Reddit for the sudden spike.

[–] [email protected] 5 points 1 year ago

pointing at the spike like Janet on the Good Place, pointing at the Jeremy Bearimy That's my cake day!

[–] [email protected] 6 points 1 year ago

This looks really cool, did not know images in comments were supported

[–] [email protected] 17 points 1 year ago

I'm primarily watching from the sidelines and able to test things if needed for you guys, but I can definitely say this sudden influx is such a rare opportunity for us tech folks (SWEs and sysadmins) to get a real look at what breaks when you do a real load/soak test of a service.

Post-mortems are amazing for tech knowledge, so seeing it kind of "live" is even better.

Good job folks!

[–] [email protected] 14 points 1 year ago

Thank you guys for working to keep things efficient for the community!!

[–] [email protected] 13 points 1 year ago

Nice to see you guys growing!

[–] [email protected] 11 points 1 year ago

Haha I was wondering... Thanks for your hard work!

[–] [email protected] 10 points 1 year ago (1 children)

If you don't mind my asking, what hardware were y'all using beforehand? I'm looking to host my own instance, but starting as a noob. I know how to build computers but I'm trying to go further.

[–] [email protected] 11 points 1 year ago (2 children)

Beehaw is hosted on DigitalOcean, not sure what price range at this point as I know it's been upgraded recently. It's really easy to spin up one of their "droplets" and get started on a project.

I just got a 14$ droplet with 1 vCPU and 2 gigs of ram with weekly backups. I like their interface and have been happy with it overall so far. Hoping to start up my own lemmy instance for learning purposes, though a bit daunting as apparently the docker instructions are incomplete.

[–] [email protected] 5 points 1 year ago (1 children)

Using Docker is not much harder, actually, at least if you go the docker compose route. You download the docker-compose.yml file, the example config file, and the nginx config file, fill in your domain in the right places, and run docker compose up -d.

The database will provision itself and Lemmy will run all the migrations. Caveat: don't be a smartass like me, the migrations need the Lemmy user to be a superuser so if you use an existing database, you need to either grant temporary superuser permissions or you need to do some manual migrating.

You need an HTTPS certificate, but if you follow the guide that can be set up in as little as two commands (sudo snap install --classic certbot, sudo certbot -d yourdomain.com).

The only problem I ran into was that somehow my admin account wasn't activated. I had to manually enable it (docker compose exec -ti postgres psql, update local_user set accepted_application = true).

If you want a challenge, perhaps consider installing Kbin instead. It mostly interoperates with Lemmy and Mastodon (though it uses boosts ("retweets") rather than likes for upvotes so you may annoy Mastodon people) and it's more manual work to set up, has more optional features to explore (such as S3 file hosting, which you can combine with self-hosted S3 like Minio if you want even more of a learning experience). It also looks better in my opinion.

As for the droplet: I don't know your requirements, but I'm hosting most of my stuff on Contabo because it's a lot cheaper. I probably wouldn't host a business site on there, but it's perfect for hobby projects. You can also try Oracle's free tier*, which has a slightly annoying bandwidth cap of 50mbps but gives you a free/several free (ARM) server(s) with up to 24GB of RAM.

*: Oracle is a terrible company to do business with, make sure not to buy anything from them. After your first month you'll get a phone call from a marketeer, your special cloud credits disappear, and you can keep using your free servers indefinitely.

[–] [email protected] 1 points 1 year ago (1 children)

Well I'm glad to hear it's working properly. Will give it a go soon. My only concern is whether I can use traefik with it rather than/with nginx. Can they work together?

I've gotten much more comfortable with traefik and would like to use it with my instance. I already default to using compose for my projects so no worries there.

[–] [email protected] 2 points 1 year ago (1 children)

It can work with any reverse proxy. I've also ripped out the built-in nginx config myself to make it work with my existing setup.

You can do so by removing/commenting the entries you don't need in the docker-compose.yml. The project provides an example file for nginx so I'd start by translating that config into traefik config. That should probably do the trick.

I've also ripped out the internal networks (and the references to it) so that I don't need to jump through hoops to connect to the application from my reverse proxy, you may want to consider doing that as well.

[–] [email protected] 1 points 1 year ago
[–] [email protected] 5 points 1 year ago (1 children)

apparently, and I know next to nothing about this, you can use an automated option via Ansible.

https://github.com/LemmyNet/lemmy-ansible

[–] [email protected] 2 points 1 year ago (2 children)

I also know pretty much nothing about ansible. And while that could be a learning opportunity in itself, I'd like to challenge myself to get it running through docker. It would be one of the more complex things I've set up.

load more comments (2 replies)
[–] [email protected] 10 points 1 year ago

Congrats on the upgrade! Funnily enough, I decided to finally check if my registration was approved, managed to log in, and immediately wasn't able view the stickied post talking about Beehaw's vision. Glad I didn't kill the site like I thought!

[–] [email protected] 9 points 1 year ago (1 children)

I just went and put some laundry in and I guess it happened then. I remember a time when it would take that long, or longer just to load a single image on a webpage :P

[–] [email protected] 5 points 1 year ago

Dialup sucked so much.

[–] [email protected] 7 points 1 year ago

Great job guys. Keep it up!

[–] [email protected] 7 points 1 year ago

Awesome! Thanks for the transparency

[–] [email protected] 5 points 1 year ago
[–] [email protected] 4 points 1 year ago (1 children)

Where do you host ? What are the specs of the server?

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

https://beehaw.org/post/416496

Here is a post from 8 days ago. I assume it's now outdated.

Hosted on Digital Ocean.
In that post they had just upgraded from a $12 to $18 per month instance.
I assume it's a larger instance now

[–] [email protected] 4 points 1 year ago

Welp, it still works, so I guess that's a win. 👍

[–] [email protected] 2 points 1 year ago

How many activ users do you think can be supported?

load more comments
view more: next ›