Lemmy.world updated to 0.18.1-rc
Looks like it works.
Edit still see some performance issues. Needs more troubleshooting
Update: Registrations re-opened We encountered a bug where people could not log in, see https://github.com/LemmyNet/lemmy/issues/3422#issuecomment-1616112264 . As a workaround we opened registrations.
Thanks
First of all, I would like to thank the Lemmy.world team and the 2 admins of other servers @[email protected] and @[email protected] for their help! We did some thorough troubleshooting to get this working!
The upgrade
The upgrade itself isn't too hard. Create a backup, and then change the image names in the docker-compose.yml and restart.
But, like the first 2 tries, after a few minutes the site started getting slow until it stopped responding. Then the troubleshooting started.
The solutions
What I had noticed previously, is that the lemmy container could reach around 1500% CPU usage, above that the site got slow. Which is weird, because the server has 64 threads, so 6400% should be the max. So we tried what @[email protected] had suggested before: we created extra lemmy containers to spread the load. (And extra lemmy-ui containers). And used nginx to load balance between them.
Et voilà. That seems to work.
Also, as suggested by him, we start the lemmy containers with the scheduler disabled, and have 1 extra lemmy running with the scheduler enabled, unused for other stuff.
There will be room for improvement, and probably new bugs, but we're very happy lemmy.world is now at 0.18.1-rc. This fixes a lot of bugs.
Really like seeing posts like this that explain what's going on. Thanks for all the hard work!
Thanks a lot for your hard work, take your time with your children
This post encapsulates what I love about this place.
So no more random sports posts at the top of every thread? That was a weird bug.
Good work upgrading! I can't imagine it being too easy with a big instance.
I had issues with comments not federating to my own instance before this update (showing 0 for hours). Opening up this up now showed most of them right away if not all. Hopefully that means 0.18.1 fixed a fair few issues people had with federation.
Well done! Thank you for your efforts, cheers!
For everyone experiences issues during the login,
This is caused by an issue in the latest RC of the Lemmy UI. It's already been reported, and ruud will probably decide how to deal with it tomorrow.
The current workaround
Make sure you are on the main page (https://lemmy.world) and not looking at any posts or something like that before hitting the login button.
If you encounter other issues, please make sure to clear the browser cache. The latest upgrade also made changes to the API, which can cause issues with the cached version of the website.
https://github.com/LemmyNet/lemmy-ui/issues/1740
A bit off topic, but does anyone else hate how when you click on a post and then go back, the page auto-resets to the top? Wish it would remember how far down you scrolled and return to that point.
Huge thanks to the lemmy.world team over the last couple of days to scale and maintain the instance! There's a link for donating on the sidebar for lemmy.world - just a couple bucks a month can help us support this instance!
Only being on Lemmy.world for a day. It seems smoother ...yes I am a reddit user trying to find a new home. 😂
I cannot connect with Jerboa, it always says user or password incorrect 🙁
Edit: worked after a few minutes
Congratulations! I can’t believe how much you get done, Ruud! You are crushing it
Looks like the server is choking again, we've had ~7k new signups so far today 😅
Well, I hope I'm not the only one but I cannot log in. It's been 4 hours already. Something went wrong. I'm on Firefox mobile.
--> few hours later everything is back to normal
Let us know where donations can go, suspect a stacked docker-compose will reach limits very quickly
Can I actually post from Jerboa now?! Edit - Great success!!
Good bloody job admins, thank you heaps for your perseverance on this.
Lemmy feels much smoother now after hours of being overloaded, what changed?
Thanks again admin team, you rock!
When not overloaded the site works better now than ever. But in general this instancen is kind of unusable now as everything is too slow.
So some strange behaviour: When I pressed the upvote arrows in 0.17.4, it'd immediately show this in the UI. Right now, it does not. The response appears quite slow. Is this a function of 0.18.1-rc or a function of the traffic of the Reddit-fugees?
Eyyyy, nice. I can use Jerboa again. Thanks for your work!
I had a strange bug today where I wasn't able to upvote comments. So I cleared out my website data like the website suggested and I started having problems logging in. It would log in but then when I refreshed it wasn't logged in anymore. It stopped after a while but then when I clicked on an old tab when I refreshed I was logged out again. So, the log in issue must be something to do with how iOS Safari handles web cache on tabs.
🎉🎉
Woohoo! I'm in fellas
Definitely encountering bugs but I appreciate the work. Growing pains can be good!
Am I the only one that just keeps seeing only the same 10 posts on the front page? Almost all about Reddit. Is there just no new content on this app?
Very nice. I see there are lots of little UI changes too. Thank you for your time and effort.
Nice work!
I'm not sure if this has been said but, when I open lemmy on browser, my account would sometimes be someone elses. I don't know if it's a bug and I saw it happen three times to me so far, and it even happened again a few minutes ago. It's like I i logged into someone elses account, I saw three other usernames so far. A few minutes ago it said my account was Professor -?-?-?- with that account's profile picture shown too. It only does that for half a second before it returns back to my account.
I'm just making sure this is said because I don't want to one day accidentally log into someone else's account by accident.
We did it Lemmit!
...oh wait
love the transparency and how fast this is!! looks like we will do it lemmy! and reddit can suck a dick
Thank you!
Nice. I can use jerboa now.
Dumb question: how can I set up a small ongoing donation to lemmy.world specifically? I can't seem to find it on the mobile site.
Thanks a bunch for your hard work, Ruud and other admin folks! It's so damn GOOD to be able to use Jerboa again!
Also, it's really nice to see the breakdown of your work, helps a lot in understanding what you go through and maybe even of there's anything we can help with. Keep it up!
Thanks. Made a one-time 50€ contribution and started monthly payments as well. Hopefully this can help fund a server upgrade.
I'm one of the many who have had trouble logging in, and this issue is surely underreported as those affected generally aren't able to report it. It also seems like I'm not able to upvote or downvote. I'll update with any more issues that I come across but I only just now became able to log-in after a long wait and several different browsers.
Edit: it seems like I can successfully upvote/downvote, but the updated vote count and my blue/red arrow only show after refreshing the page. Thanks for all the work you put into this instance btw
Edit 2: All problems seem to have resolved now
Real challenging this morning posting and commenting. Circle of death waiting for something to post. Then getting multiple posts if it does go through.
Still early days y’all.
I am having some issues logging in to my lemmy.world account atm, just a heads up. I'm sure you folks are slammed right now, thanks for all the work you're doing!
I may not be a user on your instance, but either way, thanks for the upgrade. I was noticing a lot of issues with federation from lemmy.world, and it seems like this upgrade more-or-less fixed them.
I'm just running a tiny, single-user instance, but I want you to know that I appreciate the work you're putting in! I run large-scale infra as my day job, so I understand how challenging this sudden influx of users (and federated servers!) is.
hehe first :)
Awesome work!
I'd like to know more about the exact container topology you have, since I may try something similar on my instance as well.
Is it something like this?
Thank you! :3
Thank you Ruud and those who helped to make it happen!
thank you for letting us know behind-the-scene stuffs.
me myself is a sysadmin and really like story of successfully scaling up servers. very satisfy to hear.
once again, thank you!
Is up/down voting not working for anyone else, or is it just me?
Lot of network errors, but it could be jerboa.
Is anyone else seeing duplicate and triplicate posts on the feed?
Thank you! I can finally log into jerboa now, much appreciated for your hard work
Fantastic work!
Amazing work. Thankyou :)
Jerboa 0.0.37 now working fine for me, been hanging out to update.
Really appreciate the transparent communications.
Thank you for everything you are doing to update the community and make this space better for everyone!
Thank you for your effort in running this instance and also for being so transparent about the whole process.
Everything was loading so slow 2 hours ago. Hope it will get better from there.
Edit: When I press "Post", it doesn't respond very long time, but reloading page helps.
Great work on moving away from the websockets
It has been near unusable since the upgrade.
Loving lemmy more and more!
Just so refreshing getting this much transparency.
It's faster now, and we finally have buttons for rich text features! Congratulations!
Update: upvotes are a bit broken and weird right now, I need to refresh every time to see that I upvoted. But that's really the only issue I see right now.
Lemmy seems pretty slow. I wonder how many more people have joined here now.
Profile pictures on user profiles are still stretched, and now the upvote arrows doesn't turn blue until you refresh the page when you press it
Other than that, this is a fantastic design update
Will confirm at least for me I'm no longer having any issues.
Thank you for all your hard work!
I'm sure there will be bugs for others but it's smooth and bug free for me. Thanks so much for the devs and contributors.
Awesome to see the transparency and some tech details of what these updates entail! I’m loving the bug fixes 0.18 brought too
Wow - we have a new defniition of 'awesome dudes'.
Thank you.
I really appreciate the transparency in this post. There's enough information for me to feel like I kind of know what's going on, and I can go dig into it deeper if I feel like it. This is a breath of fresh air from what I'm used to, thanks so much!
YOU'RE DOING GOD'S WORK, SON! Keep up the good work! 🏆
Thanks! Now I can use Connect™ for Lemmy without problems. 👍🙂
was struggling for a while, but it seem to be nice and fast now.. thank you!
Updated Jerboa. Thanks for your efforts, transparency and insights.
Favicon seems to be missing now. Just a heads up! @[email protected]
@ruud oh wow 0.18.1 fixed the broken federation/webfinger issue!!! this is great news
Thank you from England for all the hard work AND for giving such interesting details, especially as it will encourage others to set up their own instances, and help them cross similar hurdles!!
So, basically I can't see any content from lemmyworld, I'm commenting right now from another instance. When I logged into my Lemmy world account its just empty, zero content, any solutions?
Hey, thanks for your hard work, just want to let you know that login doesn't work for me in incognito mode or on any app.
The instance just got so much more faster and stable, it's amazing. Keep up the good work!
🎉 Great work!
Thank you for the hard work! Enjoying Lemmy.world quite a bit. :)
I am still getting errors half the time I do anything while using jerboa
Website is working great though
Edit: It's suddenly working a lot better now. Hopefully I am not jinxing myself.
Lot of network errors, but it could be jerboa.
Having login issues on the browser. Not logging in at all. But on liftoff where I was already logged in, everything seems to be working.
Had no idea nginx did that. There's so much I need to learn
thank you for letting us know behind-the-scene stuffs.
me myself is a sysadmin and really like story of successfully scaling up servers. very satisfy to hear.
once again, thank you!
Not sure what fixed it (I'm sure though on my side I did nothing since the last failed login) but the login form finally works again!
Login problem is fixed for me, yay! Back on Jerboa and here on the browser! Thanks for your hard work and for putting up with me, lol.
I'm getting network errors that aren't allowing me to actually view content on Jerboa right now, though, but at this point I'm assuming it's a Jerboa thing and not a problem with the instance.
Excellent. Now I can login with jerboa 🎉
Just signed up and everythings working well for me!
I'm curious; is this instance pysically running on a local private server somewhere or in the cloud in some data center?
To everyone having a login problem, it seems that resetting the password solves the issue! Maybe this means that the upgrade corrupted the stored hashes somehow?
Federation overheard is putting a lot of load on servers. Creating one task for every single post, comment, and vote in RAM-only queue.... pending changes: https://github.com/LemmyNet/lemmy/pull/3466
Thanks! Seems to be working fine so far.
Thank you! I love it here. Sending good vibes
Really like seeing posts like this that explain what's going on. Thanks for all the hard work!
We're alive!!!
Thank you :)
I really enjoy how lemmy is growing!
Warning: Be careful, this might trigger this bug here: https://github.com/LemmyNet/lemmy/issues/3422#issuecomment-1616112264
Many thanks for the transparency! This is great.
Special thanks to the other guys for helping make this update possible. Site is snappier than ever and the UI looks fantastic.
My first comment on here! Thanks for creating this, this looks fantastic and a great Reddit alternative. Keep up the great work.
Nice, really liking the update! Some questions about development for the fediverse: Is the code for running Lemmy written by one or person or a smome core team?
Is there any decision making process as to which features will be worked on in the next release or which bugs to prioritize?
In theory what would happen if the original developers started making changes that other people don't agree with? Would we get a fork then where servers have to choose to adopt it or not?
Thanks for the update. I especially like the transparency on not only the “upgrade” itself but also the potential issues encountered, together with the solutions. Seems rare nowadays, or I’m just seeing less and less people doing this.
Fuck yeah upgrade hype
Even using Tor, the site load-times seem a lot snappier. Exciting times.
This looks like it’s exposed some weaknesses, and it sounds like the team has it under control.
I’m moving right now and can’t dedicate time to development, but once I’m up and running I should be able to start contributing.
Scalability is always a concern with these sites, so there’s plenty to do to improve that
Thank you!!
Is there a way to follow the update status while this instance is down?
I knew the update was coming, so I expected the downtime, but I could not find any info about when it was expected to be up and running again?
Thanks for the great and ongoing work put into managing this endeavor!
Excellent news! I can browse Lemmy on my phone again, many thanks to you @Ruud and everyone else who worked on this!
I can finally login!
It keeps logging me out, plus when I log in, alarmingly other users' profile names flash in the top right corner for a second.
Awesome work guys! The NEW front page of the internet is born.
Nice
This is really cool that this gets shared. Thanks for all of the info!
I like it.
The site feels a lot better to me, and seems significantly gentler in terms of browser resource consumption.
Have you considered running your Lemmy instance on more than a single machine? If it is possible to run two lemmy containers anyway (ie, lemmy is not a singleton), why not run them on separate machines? With load balancing you could achieve a more stable experience. It might be cheaper to have many mediocre machines rather than a single powerful one too, as well as more sustainable long-term (vertical vs horizontal scaling).
The downside would be that the set-up would be less obvious than with Docker compose and you would probably need to get into k8s/k3s/nomad territory in order to orchestrate a proper fleet.
We're back baby!
Its been pretty snappy for me all afternoon! No errors to speak of.
Nice work!
Great stuff!
I survived!
I really enjoy how lemmy is growing!
I really enjoy how lemmy is growing!
Just want to say thank you. Your hard work is very much appreciated.
I can't login from my main browser even if I clear the cache and cookies, if I use other browser it works
Edit: I fixed it just by changing my browser language to English and restarting it, hope this is useful for someone.
Also, thanks to Ruud and team for the hard work, everything seems to work really well and fast.
Thanks so much for everything!
Is there a issue with the api? ( Because the api wrapper lemmy-js-client doesnt work on login. ) I tried it yesterday but not today yet. I will test it when i can :)
Hey man I just want to say thank you for your hard work.
This is awesome. Was a fun read too. Super cool to see what was going on behind the scenes.
💯 💯 💯 💯 💯 💯 💯 💯 💯 💯
🙌 Great work team!!!
Thanks for all the time and work you put towards making this community better! It's really appreciated!
0.18 looks a lot better. Far better use of screen real estate on PCs.
Lag is still very prevalent though. Page loading, upvote delay. It's frustrating.
Live comments (like on new Reddit) does not seem to be working on 0.18, so I have to manually refresh the page each time. That also resets the comment sort to Hot, causing further annoyance.
Hurray! Works well for me so far.
Quick everyone show Appreciation before they notice
Cool
Thanks for all the time and work you put towards making this community better! It's really appreciated!
Yay, i could finally login. Thank you for the great work and thank you for keeping us updated!
Excellent work!
Amazing work! It seems much more performant now, everything seems to be loading faster.
Thanks for getting the update out!
Definitely weird that it was 1500 instead of some power of 2*100!
Also, when we finally get a 128 thread machine just think of the meme potential!
Logging in works now! Also got 2FA enabled without issues.
obviously not critical, but it looks like there's a small sidebar bug (or feature?) that puts the pic near the instance name if it is the first thing in its description?
Would you mind sharing your docker-compose.yml file (sanitized, of course)? I am trying to spin up an instance on Google Cloud.
Signed into Jerboa! Thanks devs!
Nice work :)
It seems that I can't log out in my browser. The page simply reloads after clicking the button.
@ruud awesome!
Is Rust HTTP server running into thread limits? database connection pooling? All kinds of internal questions bout that solution.
Absolutely loving the new UI changes. Thanks for being so transparent with us as well!
Running so many Lemmy instances against the same database doesn't cause race conditions? I wonder why that "just worked" so easily, usually load balancing DB-backed apps is a whole beast on its own.
Seems to work good enough!
Working well here and can use Jerboa again. Although wefwef is really growing on me!
Edit: couldn't post from Jerboa, got network error. But wefwef worked.
Thanks a lot, you’re great
It seems there is still some performance issues.
Maybe consider a webcache like varnish to take some of the load off?
thank you for upgrading! I much prefer the new URL structure of this version
Seems that sometimes the hot algorithm gets messed up :/
Hey ruud. Is there Patreon we can sign up to help with the hardware upgrades/upkeep?
YAY! Looks like federation from lemmy.world is working a heck of a lot better now with my instance!
Waiting for the part where this instance moves to a k8s cluster
Thanks for all the hard work!
Much love for your work
Thank you so much!
Thanks so much for all your hard work, love Lemmy world! Enjoy the time with family!
Congratulations! Works perfectly for me, thank you! 🤙
Thank you for your hard work.
Quaint!
Still seeing a lot of 504s, and this is at a time where the site shouldn't be super busy
thank you for all you’re doing on this. godspeed
Much love for your work
How beautiful and cute the new lemmy world looks. thanks boss.
Que bonito y lindo se ve el nuevo lemmy world. gracias jefe.
Amazing! Thank you ruud and everyone who helped you push through it.
Posting this from Jerboa. I am grateful for the hard work!
Amazing work team 💪🏻
❤️
Thanks for all your work! Love the new look and it’s working great now
Does browsing with Incognito/Private mode opens up new bugs, or does the refreshing thing kept the same principle? I should be stayed as logged on, but for some reason - after this update - whenever I open a new private tab from the tab I'm logged on I am indicated as not logged in.
U peeps are awesome. 🙏🙇
Thanks dude
🧌
I was having trouble earlier but now able to log in just fine on browser. Voting on posts doesn't seem to be working for me on desktop or apps. In apps I keep seeing error notices about votes not going through and desktop browser (Firefox) doesn't work but there's no notification there. Anyone else? Maybe everything needs a little time to sync up.
Posting this from Jerboa. I am grateful for the hard work!
Love the update, all back up and running again :) I joined this morning after discovering this awesome Apollo replacement and was so disappointed that it was down already! Understand that the sudden surge must be huge, looking forward to seeing the data of amount of users gained by Lemmy!
Honestly praying this is the solution we all want and need!
Tried to login but nothing happen except a "?" was added into the link. Tried delete data, cookie, etc but the probelm still persist. Comment from other instance
I cannot see my subscriptions, not sure if its me or what. On Jerboa 0.34
Great work, and thank you for the thorough updates?
Thank you! I’m hoping this solves a lot of the issues!
Is the sort algorithm still messed up? In other instances it shows more recent posts in the hot section.
You know, this is a nice post because now I understand what was happening to me as a user. Thanks for confirming that I am not insane! Well, maybe I'm insane, but what I was trying to do and couldn't was real, not something I was doing wrong. Also, thanks for updating the stuff that makes it work.
Thanks for all the hard work and documentation!
Love the teamwork
Thanks for the hard work!, I had an issue the first minutes where every time I logged in I got logged in with a different stranger account, now it doesn't happen but I can't login haha.
Browser still not working for me. The interface loads but there's no content. Also can't login on browser, after entering user and password and clicking login nothing happens.
Thank you for everything that you do!
Are you hosting on AWS?
Looks like everything is working well so far. Browsing from Wefwef and Liftoff.
Thank you!
Showing us the true value of horizontal instead of vertical scaling! Kubernetes when?
Thanks for your hard work and goodnight to Rudd juniors!
Will confirm at least for me I'm no longer having any issues.
Thank you for all your hard work!
thank u for letting us know what happening behind the scene. Me myself is a sysadmin and really love to read story about scaling up servers and it actually works! Once again. Thank you.
YEAH BABEYYY
On a somewhat related note, how are you coping with the scaling from the Reddit migration?
Thank you for all you do for the interwebs, fellow dad.
Thank you for your hard work!!
Thanks for your time and effort! After the kids have gone to bed, grab yourself a beer and put your feet up!
lemmy.world finally fast as fuck and the login form seems to work again, thanks for all your hard work!
This runs quite smoothly for me as a Persistent Web App, thanks for your hard work!
looks like commenting got faster too?
Thank you for everything that you do!
Thanks ruud
Thanks for your time and effort! After the kids have gone to bed, grab yourself a beer and put your feet up!
You guys are awesome!! Thanks
Thank you for al the work. Do you have a need or plans for community help at all? Outside of content moderation? Not quite sure how I could help but I do software for a living.
Congratulations on getting it up and running!
Just came to congratulate you for all the hard work. Thank you for making this possible!
@ruud Thank you! This is an important one for the community! And maybe the servers too. ;)
Quick everyone show Appreciation before they notice
Seems to be working great so far.
Question @[email protected] why update to the release candidate? Just want to help testing? Or was there some readdition (ie: captcha) that had you quick on the trigger?
🎉
Cool beans, WefWef also seems to work now again :)
Thank you for the work and all the transparency Ruud, glad to have you as our Admin.
Great work! 👏 glad to be on the newer release with lemmy.world
Amazing work! Kids first, internet things later!
Great work, thanks!
Thank you! Your hard work is truly appreciated.
This whole upgrade process reminded me to check the patreon donation stuff for y'all.
Nice they finally updated after forever lol j/k wefwef and some other third-party said are getting rate limited. Wefwef is unusable
Thanks very much for your time and effort Ruud, it's much appreciated! Now, after you've put the kids to bed, grab yourself a beer and put your feet up!
Nice, hopefully this'll fix the auto refreshing new posts on PC! Thanks man ^^
good job
Clearing the cache seems to have fixed the login bug.
There is another big going on where I'm seemingly logged out all the time though.
Yay, thank you!
Good job! 🎉🎉
Thanks for your work!
U peeps are awesome. 🙏🙇
Congratulations on getting it up and running!
Congrats on figuring it out! I'm just wading into docker in a professional capacity so I admit some of it feels like magic to my traditional developer brain but glad it worked out.
Woo! Great work!
Well done guys. Love the new update
Thank you for your hard work getting this working. It's much appreciated :)
Posting this from Jerboa! Thank you for the hard work.
Thx for all the hard work!
Thanks for being both informative and open about this issue. Hope it works out.
Thanks for all the work!! Now go enjoy the rest of your weekend 😋
Could finally login back to my lemmy.world account on Jerboa. Thanks for all the work, Ruud!
Hopefully the performance issue will be resolved soon, I can imagine lots of new refugees will be migrating to this instance.
Can't edit profile settings / info. Pushing Save does nothing.
They're on virtual tin and didn’t configure properly. There are limits in the flat files you need to change by hand to get it to scale properly, it’s tricky.
Thanks for being both informative and open about this issue. Hope it works out.
Edit: The first two versions of this post didn't seem to send: spinning post button. Maybe it's not fixed or it's struggling?
Awesome, Jerboa revived!
Congratulations on the upgrade - thanks for hanging in there for the community!
Nice work guys!
Works with Jerboa again (yay).
Kinda makes sense that multiple containers might scale better. The actual processes within the container may have some limitations in terms of how well they thread etc.
Well done! Know that your efforts are greatly appreciated. Thank you!
Thank you so much for doing this! The having an instance this big really made the difference for leaving reddit. I really missed jerboa and am glad to have it back as a client.
Thanks for the monster effort on the update, these things are never trivial.
Good to see this for the Lemmy website. This will do a lot.
Bug I’m running into -
When my mobile browser (Firefox, iOS) language is set to something other than English, not content loads and I am unable to log in.