..:: tchncs ::..

1272 readers
2 users here now

Your friendly https://tchncs.de community! Discuss whats happening in the tchncs world and/or just use it as a community forum.

German and english allowed.

If you are looking for a way to support tchncs, please check out https://tchncs.de/donate


founded 1 year ago
MODERATORS
26
7
Broken 2FA even on 0.19.0 (discuss.tchncs.de)
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 
 

When the server upgraded to 0.19.0 and everyone's 2FA was reset, I again setup my 2FA. It accepted my code and 2FA was enabled. I tried to login again but it said multiple times that the code generated by the app was invalid. I try to disable this multi factor authentication but even that won't work since it asks for the TOTP code which it marks as invalid. How is a TOTP code generated by Lemmy's link and accepted by it's servers to validate 2FA in the first place be invalid?

I am effectively now logged out from this account of mine because I can't sign into a new session and if I logout of this session, then boom, this account of mine is as good as dead.

27
 
 

Crossgeposted von: https://lemmy.ml/post/9347983

What is Lemmy?

Lemmy is a self-hosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top.

Major Changes

This release is very large with almost 400 commits since 0.18.5. As such we can only give a general overview of the major changes in this post, and without going into detail. For more information, read the full changelog and linked issues at the bottom of this post.

Improved Post Ranking

There is a new scaled sort which takes into account the number of active users in a community, and boosts posts from less-active communities to the top. Additionally there is a new controversial sort which brings posts and comments to the top that have similar amounts of upvotes and downvotes. Lemmy's sorts are detailed here.

Instance Blocks for Users

Users can now block instances. Similar to community blocks, it means that any posts from communities which are hosted on that instance are hidden. However the block doesn't affect users from the blocked instance, their posts and comments can still be seen normally in other communities.

Two-Factor-Auth Rework

Previously 2FA was enabled in a single step which made it easy to lock yourself out. This is now fixed by using a two-step process, where the secret is generated first, and then 2FA is enabled by entering a valid 2FA token. It also fixes the problem where 2FA can be disabled without passing any 2FA token. As part of this change, 2FA is disabled for all users. This allows users who are locked out to get into their account again.

New Federation Queue

Outgoing federation actions are processed through a new persistent queue. This means that actions don't get lost if Lemmy is restarted. It is also much more performant, with separate senders for each target instance. This avoids problems when instances are unreachable. Additionally it supports horizontal scaling across different servers. The endpoint /api/v3/federated_instances contains details about federation state of each remote instance.

Remote Follow

Another new feature is support for remote follow. When browsing another instance where you don't have an account, you can click the subscribe button and enter the domain of your home instance in the popup dialog. It will automatically redirect you to your home instance where it fetches the community and presents a subscribe button. Here is a video showing how it works.

Authentication via Header or Cookie

Previous Lemmy versions used to send authentication tokens as part of the parameters. This was a leftover from websocket, which doesn't have any separate fields for this purpose. Now that we are using HTTP, authentication can finally be passed via jwt cookie or via header Authorization: Bearer <jwt>. The old authentication method is not supported anymore to simplify maintenance. A major benefit of this change is that Lemmy can now send cache-control headers depending on authentication state. API responses with login have cache-control: private, those without have cache-control: public, max-age=60. This means that responses can be cached in Nginx which reduces server load.

Moderation

Reports are now resolved automatically when the associated post/comment is marked as deleted. This reduces the amount of work for moderators. There is a new log for image uploads which stores uploader. For now it is used to delete all user uploads when an account is purged. Later the list can be used for other purposes and made available through the API.

Cursor based pagination

0.19 adds support for cursor based pagination on the /api/v3/post/list endpoint. This is more efficient for the database. Instead of a query parameter ?page=3, listing responses now include a field "next_page": "Pa46c" which needs to be passed as ?page_cursor=Pa46c. The existing pagination method is still supported for backwards compatibility, but will be removed in the next version.

User data export/import

Users can now export their data (community follows, blocklists, profile settings), and import it again on another instance. This can be used for account migrations and also as a form of backup. The export format is designed to remain unchanged for a long time. You can make regular exports, and if the instance becomes unavailable, register a new account and import the data. This way you can continue using Lemmy seamlessly.

Time zone handling

Lemmy didn't have any support for timezones, which led to bugs when federating with other platforms. This is now fixed by using UTC timezone for all timestamps.

ARM64 Support

Thanks to help from @raskyld and @kroese, there are now offical Lemmy releases for ARM64 available.

Activity now includes voters

Upgrade instructions

Follow the upgrade instructions for ansible or docker. The upgrade should take less than 30 minutes.

If you need help with the upgrade, you can ask in our support forum or on the Matrix Chat.

Pict-rs 0.5 is also close to releasing. The upgrade takes a while due to a database migration, so read the migration guide to speed it up. Note that Lemmy 0.19 still works perfectly with pict-rs 0.4.

Thanks to everyone

We'd like to thank our many contributors and users of Lemmy for coding, translating, testing, and helping find and fix bugs. We're glad many people find it useful and enjoyable enough to contribute.

Support development

We (@dessalines and @nutomic) have been working full-time on Lemmy for over three years. This is largely thanks to support from NLnet foundation, as well as donations from individual users.

This month we are running a funding drive with the goal of increasing recurring donations from currently €4.000 to at least €12.000. With this amount @dessalines and @nutomic can each receive a yearly salary of €50.000 which is in line with median developer salaries. It will also allow one additional developer to work fulltime on Lemmy and speed up development.

Read more details in the funding drive announcement.

28
 
 

Mobilizon is federated software in the same network as Lemmy (but with some intentional restrictions*), to help you organize your online or offline events!

The instance is now slowly opening its doors. For now, logins are restricted to our accountsystem at auth.tchncs.de but this might relax once a few things have been figured out.

At the end of january 2024, i might evaluate whether people are actually using that instance and if it makes sense to keep it online.

* you may only follow groups, not individual accounts

29
1
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 
 

Not sure if this is the right place to report problems with todo.tchncs.de, but here is my issue:

I created a project and task, with start date, end date, due date, notification yesterday. Today I tried to mark the task completed. However, the checkbox does not stay in "done" state and the task goes back to the "incomplete" state. Also, I get a green popup on the bottom momentarily with the message:

I did try this on a private window as well, so clearing cache wouldnt help I suppose

30
32
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 
 

Crossgeposted von: https://lemmy.ml/post/5712032

cross-posted from: https://lemmy.ml/post/5712030

What is Lemmy?

Lemmy is a self-hosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top.

Major Changes

This release fixes a problem with federation of moderation actions performed by admin accounts. Specifically there is an check when receiving remote federation actions, which is incorrectly rejecting them in some cases. The problem is fixed by this release.

There are no other changes, and no updated lemmy-ui version.

Support development

@dessalines and @nutomic are working full-time on Lemmy to integrate community contributions, fix bugs, optimize performance and much more. This work is funded exclusively through donations.

If you like using Lemmy, and want to make sure that we will always be available to work full time building it, consider donating to support its development. No one likes recurring donations, but they’ve proven to be the only way that open-source software like Lemmy can stay independent and alive.

Upgrade instructions

Follow the upgrade instructions for ansible or docker. There are no config or API changes with this release.

If you need help with the upgrade, you can ask in our support forum or on the Matrix Chat.

Changes

Lemmy

  • Fix federation of admin actions (#3988)
31
 
 

Hi,

I signed up for a tchncs.de account and I wanted to try out Element-X android app. It's login asks me for a password, which fails login, and I don't see the tchncs authentication method. Has anyone got it working?

32
 
 

@tchncs is there something going on with tube.tchncs.de ? I’m getting errors when trying to connect.

33
 
 

Using this alternative front end mlmym. (example: https://old.lemmy.world/, https://old.lemmy.ca/, https://old.lemmy.sdf.org/ )

34
 
 

Since the federation the comment sections got so inflammatory. Literally everything gets turned into some political "capitalism bad" or "the west bad" discussion. It made Lemmy very annoying for me to use....

35
 
 

Hello all!

I was looking at tchncs.de and all it federated services offerings. I was wondering if, having a lemmy account here, I could log in to Mastodon and Pixelfed.

When I tried just now, I couldn't. Is there a way to do this and I was too dumb to figure it out, or I need an account for each service?

Thanks!

36
 
 

[email protected] went down with lemmy.fmhy.ml when mali took back its domains about a month ago. See here. I am trying to make a replacement.

This seems like this is the most active technical themed server, would this be a good place for it? Are there any rules or complications I'm missing? Thanks!

37
 
 

cross-posted from: https://lemmy.ml/post/3021118

What is Lemmy?

Lemmy is a self-hosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top.

Major Changes

This version fixes the problem of comment context not loading properly. It also fixes a couple other bugs.

Support development

@dessalines and @nutomic are working full-time on Lemmy to integrate community contributions, fix bugs, optimize performance and much more. This work is funded exclusively through donations.

If you like using Lemmy, and want to make sure that we will always be available to work full time building it, consider donating to support its development. No one likes recurring donations, but they’ve proven to be the only way that open-source software like Lemmy can stay independent and alive.

Upgrade instructions

Follow the upgrade instructions for ansible or docker. There are no config or API changes with this release.

If you need help with the upgrade, you can ask in our support forum or on the Matrix Chat.

38
9
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
 

Am I the only one where the "Show context" button doesn't do anything, when I look at a reply to one of my comments?

It works in Apps, but not when using the normal website.

39
 
 

I remember when I joined here that tchncs did not federate with Lemmygrad. Is there a reason why it is now? I don't think it's a good instance, since it full of (roleplaying) communists hating on the western world... and I wouldn't want that shit in my "All" feed. Thank you.

40
8
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
 

Is it possible to block a community on system level? i.e. [email protected] is a massive nswf spam sink of hundreds kbin.social local accounts. Or should we rather remove/purge it entirely?

41
 
 

As of deep last light (cest), the error was identified and tchncs started to inform other servers about the events they were missing out on. It wasn't processing one of the outgoing queues correctly due to a well hidden typo in a configfile – causing one of the federation senders not identifying itself correctly.

You may run into a few recent messages that can't be decrypted, but otherwise everything federation related should be back to normal.

Sorry about this mess and thanks to everybody who has helped in identifying the issue.

42
 
 

Well hello again, I have just learned that the host that recently had both nvme drives fail upon drive replacement, now has new problems: the filesystem report permanent data errors affecting the database of both, Matrix server and Telegram bridge.

I have just rented a new machine and am about to restore the database snapshot of the 26. of july, just in case. All the troubleshooting the recent days was very exhausting, however, i will try to do or at least prepare this within the upcoming hours.

Update

After a rescan the errors have gone away, however the drives logged errors too. It's now the question as to whether the data integrety should be trusted.

Status august 1st

Well ... good question... optimizations have been made last night, the restore was successful and ... we are back to debugging outgoing federation :(


The new hardware also will be a bit more powerful... and yes, i have not forgotten that i wanted to update that database. It's just that i was busy debugging federation problems.

References

43
 
 

Just in case we have people here who could not see the infobox on the statuspage due to adblockers :)

44
 
 

Crossgeposted von: https://lemmy.ml/post/2540925

cross-posted from: https://lemmy.ml/post/2540874

What is Lemmy?

Lemmy is a self-hosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top.

Major Changes

This version brings major optimizations to the database queries, which significantly reduces CPU usage. There is also a change to the way federation activities are stored, which reduces database size by around 80%. Special thanks to @phiresky for their work on DB optimizations.

The federation code now includes a check for dead instances which is used when sending activities. This helps to reduce the amount of outgoing POST requests, and also reduce server load.

In terms of security, Lemmy now performs HTML sanitization on all messages which are submitted through the API or received via federation. Together with the tightened content-security-policy from 0.18.2, cross-site scripting attacks are now much more difficult.

Other than that, there are numerous bug fixes and minor enhancements.

Support development

@dessalines and @nutomic are working full-time on Lemmy to integrate community contributions, fix bugs, optimize performance and much more. This work is funded exclusively through donations.

If you like using Lemmy, and want to make sure that we will always be available to work full time building it, consider donating to support its development. No one likes recurring donations, but they’ve proven to be the only way that open-source software like Lemmy can stay independent and alive.

Upgrade instructions

Follow the upgrade instructions for ansible or docker. There are no config or API changes with this release.

This upgrade takes ~5 minutes for the database migrations to complete.

You may need to run sudo chown 1000:1000 lemmy.hjson if you have any permissions errors.

If you need help with the upgrade, you can ask in our support forum or on the Matrix Chat.

45
 
 

Für deine/eure klasse Arbeit hier!

Hoffe, du/ihr habt die Nacht gut überstanden. ;-)

Mit meiner neuen 'F-Droid' App auf Android 'Thunder' für Lemmy, klappt es hier besonders gut. 😃

46
47
 
 

Erwähnung von tchncs.de auf Golem (3. Seite)!

48
 
 

All of a sudden mentioning an ActivityPub e.g. Mastodon group does not create its Lemmy community posting anymore, see https://social.tchncs.de/@erAck/110758480657084086 That worked before..

49
 
 

Hi there! Last time I posted here, my problem was solved quickly so I'll try one more time. :)

I would like to migrate/mirror one of my reddit subs on here including a lot if not all posts. This would mean the following things in excalating order:

  • Make a bot crosspost every new post on the sub
  • Copy seed content (like 50 or 100 posts?)
  • Copy the entire sub history

I have read that this can strain an instance (at least the last one I suppose) and I would like to know if it is ok to do so and if I need any help from someone with high permissions. Optimally, I'd do point three but 1 or 2 would be good as well.

Have a good one! :)

50
 
 

Hi there! Not sure if this is the right place to ask but I tried to upload an icon and a banner to a community I recently made. It's throwing this error: {"data":{"msg":"Error interacting with filesystem","files":null},"state":"success"} both on firefox and chrome. I filed an issue on github with the frontend but I thought maybe it's just me making an error that is known here. Mods: Feel free to delete if this is the wrong place to post.

Have a great day! :)

view more: ‹ prev next ›