Lemmy Support
- Pict-rs fails to start after .5 upgrade
Hi all,
Hoping someone can help me out here. I just did the upgrade, I've updated my ENV variables, and started, and I get:
2024-05-18T19:13:07.047224829Z 2024-05-18T19:13:07.046998Z INFO migrate_04: pict_rs::repo::migrate: Running checks 2024-05-18T19:13:08.177484313Z 2024-05-18T19:13:08.177294Z INFO migrate_04: pict_rs::repo::migrate: Checks complete, migrating repo 2024-05-18T19:13:08.177524752Z 2024-05-18T19:13:08.177323Z INFO migrate_04: pict_rs::repo::migrate: 362224 hashes will be migrated
I then proceed to get the following item for 110,670 files:
2024-05-18T19:13:08.196186995Z 2024-05-18T19:13:08.196036Z ERROR pict_rs::repo::migrate: Failed to migrate hash 0000181884f6a92c7f6ee411dc8049474b2872204fafebbc6b0170e7499d902b, skipping 2024-05-18T19:13:08.207066220Z 2024-05-18T19:13:08.207078792Z 0: Error in store 2024-05-18T19:13:08.207089618Z 1: Requested file is not found 2024-05-18T19:13:08.207099605Z 2: No such file or directory (os error 2) 2024-05-18T19:13:08.207109313Z 2024-05-18T19:13:08.207119231Z Location: 2024-05-18T19:13:08.207129638Z /drone/src/src/repo/migrate.rs:32
And then pict-rs just exits.
Turning on debug gives me more info, but nothing helpful after each of the above errors:
|lemmy-pictrs | 2024-05-18T19:21:15.631508936Z 2024-05-18T19:21:15.631417Z DEBUG sled::pagecache::iobuf: advancing offset within the current segment from 102576771 to 102576797 |lemmy-pictrs | 2024-05-18T19:21:15.631606646Z 2024-05-18T19:21:15.631504Z DEBUG sled::pagecache::iobuf: advancing offset within the current segment from 102576797 to 102576823 |lemmy-pictrs | 2024-05-18T19:21:15.631643803Z 2024-05-18T19:21:15.631531Z DEBUG sled::pagecache::iobuf: wrote lsns 3029152387-3029152412 to disk at offsets 102576771-102576796, maxed false complete_len 26 |lemmy-pictrs | 2024-05-18T19:21:15.631661473Z 2024-05-18T19:21:15.631541Z DEBUG sled::pagecache::iobuf: advancing offset within the current segment from 102576823 to 102576849 |lemmy-pictrs | 2024-05-18T19:21:15.631676419Z 2024-05-18T19:21:15.631549Z DEBUG sled::pagecache::iobuf: mark_interval(3029152387, 26) |lemmy-pictrs | 2024-05-18T19:21:15.631689340Z 2024-05-18T19:21:15.631561Z DEBUG sled::pagecache::iobuf: new highest interval: 3029152387 - 3029152412
My env (left old values in, too):
- PICTRS_OPENTELEMETRY_URL=http://otel:4137 - PICTRS__API_KEY=... - PICTRS__SERVER__API_KEY=... - RUST_LOG=debug #- RUST_BACKTRACE=full - PICTRS__MEDIA__VIDEO_CODEC=vp9 - PICTRS__MEDIA__GIF__MAX_WIDTH=256 - PICTRS__MEDIA__GIF__MAX_HEIGHT=256 - PICTRS__MEDIA__GIF__MAX_AREA=65536 - PICTRS__MEDIA__GIF__MAX_FRAME_COUNT=400 - PICTRS__MEDIA__ANIMATION__MAX_WIDTH=256 - PICTRS__MEDIA__ANIMATION__MAX_HEIGHT=256 - PICTRS__MEDIA__ANIMATION__MAX_AREA=65536 - PICTRS__MEDIA__ANIMATION__MAX_FRAME_COUNT=400 - PICTRS__MEDIA__VIDEO__ENABLE=True - PICTRS__MEDIA__VIDEO__MAX_FILE_SIZE=20
Any idea how to get pict-rs started? Or what I should look to for figuring this out.
Edit: Scanning the logs more closely I see that I never get the
Migration complete
message from here https://git.asonix.dog/asonix/pict-rs/src/commit/d45e3fa386e62e0538b3d7ba399ceaec80fdd7ca/src/repo/migrate.rs#L175, but I do get percentage completes up toMigration 59% complete - 213698/362224
. Nothing else indicates, though. - [closed] Lemmy + Cloudflared help
I currently have my instance running on my local network. I now have to expose it to the internet and want to use cloudflared for this. Unfortunately it doesn't seem to work.
I am using the default nginx config. Here is my docker-compose.yml https://pastebin.com/6awxsZn8
EDIT: adding network_mode: 'host' to cloudflared fixed it.
- Constant warnings for what seems like ordinary activity
I setup a new instance a week or two ago, and have some subscriptions to communities on
lemmy.world
. The logs for the Lemmy process are currently showing a constant flood of warnings for what look like ordinary activity (likes, creates, undos, etc). Here are two recent entries:lemmy-1 | 2024-05-13T21:41:48.243217Z WARN lemmy_server::root_span_builder: Unknown: lemmy-1 | 0: lemmy_apub::insert_received_activity lemmy-1 | with ap_id=Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("lemmy.world")), port: None, path: "/activities/announce/like/3a96d6df-3229-4e5a-a6d1-ce2f6f3ca3d5", query: None, fragment: None } lemmy-1 | at crates/apub/src/lib.rs:198 lemmy-1 | 1: lemmy_apub::activities::community::announce::receive lemmy-1 | at crates/apub/src/activities/community/announce.rs:153 lemmy-1 | 2: lemmy_server::root_span_builder::HTTP request lemmy-1 | with http.method=POST http.scheme="http" http.host=leftopia.org http.target=/inbox otel.kind="server" request_id=43212a7e-1c3c-4b6a-84d6-4cd6082af392 lemmy-1 | at src/root_span_builder.rs:16 lemmy-1 | 2024-05-13T21:41:48.356594Z WARN lemmy_server::root_span_builder: Unknown: lemmy-1 | 0: lemmy_apub::insert_received_activity lemmy-1 | with ap_id=Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("lemmy.world")), port: None, path: "/activities/announce/like/9f70cd5b-175a-4ac3-a852-322494f01981", query: None, fragment: None } lemmy-1 | at crates/apub/src/lib.rs:198 lemmy-1 | 1: lemmy_apub::activities::community::announce::receive lemmy-1 | at crates/apub/src/activities/community/announce.rs:153 lemmy-1 | 2: lemmy_server::root_span_builder::HTTP request lemmy-1 | with http.method=POST http.scheme="http" http.host=leftopia.org http.target=/inbox otel.kind="server" request_id=050271b4-2081-4264-936a-329d70374239 lemmy-1 | at src/root_span_builder.rs:16
Tailing the Docker logs is like watching a torrent of these warnings, and I'm worried about the stress its adding to my fairly meager VM. Any tips on how to debug this? I'm proficient with Rust, so I'm willing and able to jump into the code if it'll help.
- Lemmy.world sync time is really bad...[Any problems on my end or is this a server problem?]
Edit: updated title to add a question
I am looking at communities I am trying to follow on lemmy.world.
On lemmy.world account it shows a post was added 2hrs ago.
On lemmy.ml it shows that a post was added 2 months ago...
- Error trying to follow remote community
I am trying to follow !tenforward@lemmy.world from my self hosted instance. When I search for it on my instance (with the "All" tab selected) I get no results found. When I go to the community https://lemmy.world/c/tenforward, click subscribe, enter my instance name, I'm redirected back to my instance, but there's a "Cannot fetch !tenforward@lemmy.world" error in the UI, and in my server logs I see this:
Caused by: The webfinger object did not contain any link to an activitypub item 0: lemmy_apub::fetcher::search::search_query_to_object_id at crates/apub/src/fetcher/search.rs:19 1: lemmy_apub::api::resolve_object::resolve_object with data=Query(ResolveObject { q: "!tenforward@lemmy.world" }) local_user_view=Some(REDACTED) at crates/apub/src/api/resolve_object.rs:19 2: lemmy_server::root_span_builder::HTTP request with http.method=GET http.scheme="https" http.host=REDACTED http.target=/api/v3/resolve_object otel.kind="server" request_id=04b362f0-91fc-401c-bcbe-6a8317e0a768 http.status_code=400 otel.status_code="OK" at src/root_span_builder.rs:16
```Server OS:
Ubuntu Jammy
uname:
5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Browser console errors:
None - Firefox 125.0.2 (64-bit) / Windows
Lemmy Server Version
BE: 0.19.3
Lemmy Instance URL
lemmy.cringecollective.io
This is only happening for some communities, for example, subscribing to this community worked fine, and I was able to subscribe to other communities on lemmy.world. (3dprinting@lemmy.world worked fine)
Any ideas why this is happening? Is this on my end?
- Password reset not working
I've been trying to log in to my account but my password – which I have written down – is apparently not even long enough to be valid. I don't know when this started happening but the point is that I can't log back in.
I tried resetting my password but the email never came to me. I've tried multiple different emails, and have confirmed that the email is not only already in use (meaning that there is an account tied to it), but I've got a lemmy notification in my email inbox to show for it as well.
If anyone could help out and/or point me in the right direction, that would be greatly appreciated.
- Antipsychiatry forum removed?
Who deleted c/antipsychiatry and why? Or is it not deleted? The community has about 46k subscribers on Reddit
- Federation questions on a new server
I setup a new server a couple of days ago using the Ansible playbook, and some communities are federating successfully even though they're labeled as "subscribe pending", and others that are not populating even though they're labeled as "joined". See attached image.
Q1: What does "subscribe pending" mean? The Memes and Politics communities shown in the image were setup a couple of days ago, but the content is flowing despite them still saying "subscribe pending".
Q2: Why would a community be marked "joined" without the content flowing? I just subscribed to Lemmy Support about 15 minutes ago, and content doesn't seem to be flowing yet despite the status having quickly moved to "joined".
Q3: How can I check the status of things like this either in the database or in the logs? Looking for some general troubleshooting tips, since the logs for the
lemmy
Docker container are a bit spammy.Here's something I noticed in the logs right after I initiated the subscription to
lemmy_support
:lemmy-1 | 2024-05-06T22:28:43.257408Z WARN lemmy_utils: error in spawn: Unknown: Failed to parse object https://lemmy.ml/c/lemmy_support/outbox with content {"error":"unknown","message":"Record not found"}: missing field `type` at line 1 column 48
I believe I saw this same issue when I first subscribed to Memes and Politics the other day. What's the best way to debug this?
Thanks in advance everyone, and thanks for all the amazing work.
- Getting better contrast colors for up/down vote buttons in darkly-compact theme?
I use the darkly-compoact theme in the web interface for lemmy, here on lemmy.world. How can I get the blue and red colors for up and down vote to be higher contrast? As-is, the pastel blue is so close to the default grey that I end up thinking an upvote didn't register. I'd prefer not to have to install some browser script just for this, and that the theme just be more inclusive of people with vision issues such as color blindness or looking for higher contrast colors.
- Why can't I see a specific post in !caps@lemmy.world from lemmy.ml when the same post is visible on other instances? [SOLVED]
EDIT: After discussing this on Matrix, I believe the answer is in the mod logs. The author of the post in question was issued a temporary ban in another community on lemmy.ml, which I suspect is affecting the display of this user’s content across all of lemmy.ml even though the post in question is in a different community from the one that issued the ban (which is kinda screwy tbh).
Description of the problem
The last several months, I've been trying to build up the community over at !caps@lemmy.world. It's going mostly well, but one thing that has me scratching my head lately is that when I'm browsing from lemmy.ml (i.e. <https://lemmy.ml/c/caps@lemmy.world>), which is 99% of the time, I can't see the most recent post. Oddly enough, the author is also from lemmy.ml, and I have previously interacted w/ the same user in the comments of older posts, so I know it's not a user-specific issue. I've double checked my profile settings and haven't blocked the community, instance, or user. This issue seems specific to lemmy.ml because I can see it when I browse to the community from other instances.
Any ideas why this could be happening and what I can do to resolve it? Thanks.
Steps to reproduce the issue
- Visit <https://lemmy.world/c/caps> and sort by Active or New. You'll see a post called "Thanks for the chats guys" with one comment.
- Visit <https://lemm.ee/c/caps@lemmy.world> - again, the post is visible.
- Now head over to <https://lemmy.ml/c/caps@lemmy.world> and look at the feed.
Actual result
The post is not there.
Expected result
The post should show up in the feed.
- !music@midwest.social: couldnt_find_community -- CLOSED
When either logged in at lemmy.ml or merely just visiting, I can't see the community !music@midwest.social, which does exist and is visible from (at least) midwest.social, lemmy.world and sh.itjust.works.
At the bottom of my posts (please see below Examples) there are three links to communities I'm involved in. From lemmy.ml clicking the first two links work correctly. !music@midwest.social doesn't.
When following a direct link to https://lemmy.ml/c/music@midwest.social it lands on an error page:
> Error! > > The server returned this error: couldnt_find_community. This may be useful for admins and developers to diagnose and fix the error
Refreshing the page multiple times, which usually resolves the problem on the first refresh, does nothing in this case.
Any insights? Thank you.
- !detroit@midwest.social <-- this works
- !michigan@midwest.social <-- this works
- !music@midwest.social <--
this doesn'tinexplicably now working!
EDIT 2024-05-01, 19:33:20, CEST: after literally weeks and hundreds of tries (possibly thousands) https://lemmy.ml/c/music@midwest.social works. No longer do I see the error page. I theorize that previously I was the only one looking for that community on the lemmy.ml instance but maybe someone else saw this post, possibly @Nemo@midwest.social, and tried to browse !music@midwest.social, thus "propagating the federation"…?
Oh, the many mysteries of Lemmy, the Tupolev TU-144 of social media®.
- Receiving error when trying to mod someone in community
I recently created a private instance and I'm trying to make a mod in my community but when I add their name I receive the object not found error. I'm typing in the name as @(username)@(name of my instance).com. Am I doing something wrong or is there a fix to this error?
- All the posts I've liked
Is there a way for me to get a list of all the posts I've liked/disliked?
- How to export blocks?
I'm moving to try a different instance and want to export my blocks from my previous instance because i hate meme communities. the export settings option only exported my subscribed communities
- Why can I upload an image with a maximum size of 8MB in some instances but can't upload a video with a maximum size of 8MB?
Doesn't seem to make sense, shouldn't the file size be the only problem?
- Keyboard Navigation
Is there any official support for keyboard navigation, or failing that a recommended plugin/script? I'm just after some basic functionality to key through my feed, open posts, reply to them, jump through comments, etc.
- How to get servers to re-federate/re-subscribe after a time offline?
Hey all,
My personal home-hosted server ran out of disk space and so went offline while I was away and I didn't notice it for a week or two.
This meant that federation requests (or subscriptions requests) went offline and now most of the servers I'm federated with are lagging. I'm only getting updates from a couple.
Is there a way to trigger federated servers back to life so I get the subscription updates? Federation does seem to be working, given some servers seem to federate fine and this post was via federation and has worked.
- Is there a way to view the frontpage of another server, or get an RSS feed of another server's single community?
My lemmy account is on the programming.dev instance but I use newsboat for RSS reading of some lemmy.ml communities, along with browsing the local homepage of lemmy.ml and some other instances in a regular browser. Is there a way to do either of these things from the programming.dev instance so that I can easily comment on posts without having to manually locate the same post by browsing to
/c/foo@lemmy.ml
on my own instance? - Post link sometimes goes to the wrong place
Here's the post in question: https://midwest.social/post/10123989
Which linked to my blog here: https://wumpus-cave.net/post/2024/03/2024-03-20-moores-law-is-dead/index.html
On my instance (midwest.social), this works fine. However, some other users were reporting a broken link, and I also see a broken link when using my mobile app (Summit). When it breaks, I see these calls in the server logs:
GET /api/v3/post?id=2024
GET /api/v3/comment/list?max_depth=6&post_id=2024&sort=Top&type_=All
Which appear to be Lemmy API calls with some of the actual link data built in.
- Is there a way to receive notifications for new comments on a post some other user posted?
Would I receive notifications for new comments on posts I saved?
- feddit.de seems to have issues. lemmyverse.net shows 99% uptime though. Anyone know why?
I saw a community from feddit.de on lemmyverse.net which I wanted to explore but I got a server error opening the community. I thought it might be abandoned or deleted but feddit.de seems completely unreachable atm.
I also checked with multiple devices in case I would have been banned for some reason.
Does anyone know why that is the case? Have a good one.
Feel free to lmk if I need to ask this somewhere else.
- Does lemmy.film still exist?
When I search for communities about animation on the web interface, I see one called !animation@lemmy.film
There has been no activity in the /c for 6 months.
It's not my native instance, but I can read posts and comments in the /c, and I can even create a post in the /c.
But when I try to visit http://lemmy.film in a browser, I get a "Web Server Is Down" page.
Is the content in !animation@lemmy.film a ghost of cached content on my native instance?
- What is the data / content retention duration on lemmy.ml?
Hello, I noticed some of my early posts (less than a year ago) disappeared. I did not receive notification about the removal. Hence I suppose it could be due to one of those:
- the instance hosting the community got defederated
- the community I posted in was removed
- there is some automatic cleanup job of old posts on Lemmy.ml
This is not mentioned in Lemmy.ml's presentation section. Does this instance implement pruning? (if so; what is the retention duration?) Is it possible to check the retention policy of a Lemmy instance?
- Does discussion around forced sterilization (NOT EUGENICS) get me banned?
Hello. Wondering if discussion around forced sterilization that has nothing to do with genetics will get me banned.
For example: if a pedophile rapes and impregnates a child they could be a candidate for forced sterilization.
Has nothing to do with eugenics. Completely void of using genetics to identify a person.
Thanks!
- Post sorting methods seem broken recently
Hi all, a few weeks ago I started noticing a change to the active and hot sorting methods. They show stale topics and I miss the boat on conversations. Seems like something changed and just curious if it’s just me or if others are seeing this too?
- For Yiffit users that cannot use the instance
I just saw in the admin Mastodon account that you need to clear your cookies, and that's it, which actually worked for me. I'm not sure why.
- Checking federation issue; can you see this post?
Our instance upgraded to 0.19 and it seems there are some users experiencing issues with comments and posts being seen. Are you able to see this post?
- Lemmy instance without federated images
I'm on the edge of hosting my own lemmy instance but I have a problem of the theoretically infinitely ballooning space requirements.
Are there any options for not saving all the federated images locally? I'd settle for a jank solution such as wiping it via cron or similar.
Thank you
- can i add an integrated auto translator for lemmy?
No idea if this is possible but i would like to make it so that i receive posts in as many languages as possible but have them automatically translated in the jerboa app.
Could i write a script (or is one already available) that would do this for me locally? Would it be easier to self host an instance that does this instead? How would i go about that etc etc.
Sorry if this isn't really the place for this sort of question but i wasn't sure what community would be more appropriate.
- Weird loading screen username
Hi! Thank you for Lemmy! So, when I load the page with Chrome, I'm always shown as logged out. I have to refresh the page, and then suddenly I'm logged in. I found that this bug exists only on Chrome, on all OSes (Linux, Windows, and Mac), and it exists both on lemmy.ml, and on lemmy.world.
But that's not the weird part.
The weird part is that when I reload the page, half of the times, the username becomes something like "killingcore" or something like that (it doesn't stay On for very long, so I can't read it well) before it changes to "Eugenia". I don't understand what that username is. Is it some kind of security problem? Or some cache, part of the normal code? It's really weird.
I noticed that that weird username happens only on lemmy.ml, not on .world.
Edit: I reloaded the page a bunch of times to retest, and what I'm reading is something killthrillrope or something like that. And it changes back to Eugenia almost instantaneously. It happens now once every 4-5 reloads of the page.
Edit 2: A few hours later, and it now loads this user for half a second before it loads mine: https://lemmy.ml/u/cypherpunks Not only that, but it loads his dark theme for that half second (my default is light theme).
- What is AutoMod? It deleted my post because crazy excuse
I got a message that my post was "anti derechos humanos" (anti human rights). That is crazy, do not understand. Is this a common mistake or what? I do not even remember a post with the human rights subject.
- What happens with mastodon and lemmy on the same host?
Hello, here we are again =) Environment:
- I've brought up mastodon and lemmy with docker on host B (let's call it BackEnd)
- I created 2 nginx virtalhosts: one called mastodon.cyberveins.eu and the other orion.cyberveins.eu.
- Both of them are behind cloudflare argo tunnel.
- Both of them can federate with other servers (as you see I can write here on orion and you are receiving my messages)
- You can find my username with mastodon looking for cyberpingu@mastodon.cyberveins.eu
BUT If you try a cross-find,
- you can find me on mastodon.cyberveins.eu FROM my orion.cyberveins.eu
- you CANNOT find me on orion.cyberveins.eu FROM mastodon.cyberveins.eu
- if you look for @cyberpingu@orion.cyberveins.eu from ANOTHER mastodon you will end up finding... @cyberpingu@orion.cyberveins.eu BUT instead of my orion's profiles, it shows up RANDOM!!!! (literally see screenshots!)
... I'm requesting help to understand what is going on -.- ! !
- Any way to run lemmy => 0.19.2 in docker on arm64? It crashes with error 139
@dessalines@lemmy.ml (I mention you since you are the image maintainer...)
Summary
Using docker images > 0.19.1 leads to crash of the lemmy-1 process (exit code 0 and then 139) on ARM64 (not tested on X86_64)
Steps to Reproduce Take a WORKING docker-compose file such as:
``` version: "3.7"
x-logging: &default-logging driver: "json-file" options: max-size: "50m" max-file: "4"
services:
lemmy: image: dessalines/lemmy:0.19.1 hostname: lemmy restart: unless-stopped environment: - RUST_LOG="warn,lemmy_server=debug,lemmy_api=debug,lemmy_api_common=debug,lemmy_api_crud=debug,lemmy_apub=debug,lemmy_db_schema=debug,lemmy_db_views=debug,lemmy_db_views_actor=debug,lemmy_db_views_moderator=debug,lemmy_routes=debug,lemmy_utils=debug,lemmy_websocket=debug" - RUST_BACKTRACE=full ports: - "8536:8536" - "6669:6669" volumes: - ./lemmy.hjson:/config/config.hjson:Z depends_on: - postgres - pictrs logging: *default-logging
lemmy-ui: # use "image" to pull down an already compiled lemmy-ui. make sure to comment out "build". image: dessalines/lemmy-ui:0.19.1 ports: - "1235:1234" environment: - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536 - LEMMY_UI_LEMMY_EXTERNAL_HOST=192.168.153.3:8536 - LEMMY_UI_HTTPS=false - LEMMY_UI_DEBUG=true depends_on: - lemmy restart: unless-stopped logging: *default-logging init: true
pictrs: image: asonix/pictrs:0.5.0-rc.2 hostname: pictrs environment: - PICTRS_OPENTELEMETRY_URL=http://otel:4137 - PICTRS__API_KEY=API_KEY - RUST_LOG=debug - RUST_BACKTRACE=full - PICTRS__MEDIA__VIDEO_CODEC=vp9 - PICTRS__MEDIA__GIF__MAX_WIDTH=256 - PICTRS__MEDIA__GIF__MAX_HEIGHT=256 - PICTRS__MEDIA__GIF__MAX_AREA=65536 - PICTRS__MEDIA__GIF__MAX_FRAME_COUNT=400 user: 991:991 ports: - "127.0.0.1:8537:8080" - "127.0.0.1:6670:6669" volumes: - ./volumes/pictrs:/mnt:Z restart: unless-stopped logging: *default-logging
postgres: image: postgres:16-alpine hostname: postgres command: [ "postgres", "-c", "session_preload_libraries=auto_explain", "-c", "auto_explain.log_min_duration=5ms", "-c", "auto_explain.log_analyze=true", "-c", "track_activity_query_size=1048576", ] ports: - "5433:5432" environment: - POSTGRES_USER=lemmy - POSTGRES_PASSWORD=REDACTED - POSTGRES_DB=lemmy volumes: - ./volumes/postgres:/var/lib/postgresql/data:Z restart: unless-stopped logging: *default-logging
Change the image of lemmy (lemmy-ui can be whatever, it's not a problem) to a > 0.19.1
version: "3.7"x-logging: &default-logging driver: "json-file" options: max-size: "50m" max-file: "4"
services:
lemmy: image: dessalines/lemmy:0.19.3 hostname: lemmy restart: unless-stopped environment: - RUST_LOG="warn,lemmy_server=debug,lemmy_api=debug,lemmy_api_common=debug,lemmy_api_crud=debug,lemmy_apub=debug,lemmy_db_schema=debug,lemmy_db_views=debug,lemmy_db_views_actor=debug,lemmy_db_views_moderator=debug,lemmy_routes=debug,lemmy_utils=debug,lemmy_websocket=debug" - RUST_BACKTRACE=full ports: - "8536:8536" - "6669:6669" volumes: - ./lemmy.hjson:/config/config.hjson:Z depends_on: - postgres - pictrs logging: *default-logging
lemmy-ui: # use "image" to pull down an already compiled lemmy-ui. make sure to comment out "build". image: dessalines/lemmy-ui:0.19.3 ports: - "1235:1234" environment: - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536 - LEMMY_UI_LEMMY_EXTERNAL_HOST=192.168.153.3:8536 - LEMMY_UI_HTTPS=false - LEMMY_UI_DEBUG=true depends_on: - lemmy restart: unless-stopped logging: *default-logging init: true
pictrs: image: asonix/pictrs:0.5.0-rc.2 hostname: pictrs environment: - PICTRS_OPENTELEMETRY_URL=http://otel:4137 - PICTRS__API_KEY=API_KEY - RUST_LOG=debug - RUST_BACKTRACE=full - PICTRS__MEDIA__VIDEO_CODEC=vp9 - PICTRS__MEDIA__GIF__MAX_WIDTH=256 - PICTRS__MEDIA__GIF__MAX_HEIGHT=256 - PICTRS__MEDIA__GIF__MAX_AREA=65536 - PICTRS__MEDIA__GIF__MAX_FRAME_COUNT=400 user: 991:991 ports: - "127.0.0.1:8537:8080" - "127.0.0.1:6670:6669" volumes: - ./volumes/pictrs:/mnt:Z restart: unless-stopped logging: *default-logging
postgres: image: postgres:16-alpine hostname: postgres command: [ "postgres", "-c", "session_preload_libraries=auto_explain", "-c", "auto_explain.log_min_duration=5ms", "-c", "auto_explain.log_analyze=true", "-c", "track_activity_query_size=1048576", ] ports: - "5433:5432" environment: - POSTGRES_USER=lemmy - POSTGRES_PASSWORD=REDACTED - POSTGRES_DB=lemmy volumes: - ./volumes/postgres:/var/lib/postgresql/data:Z restart: unless-stopped logging: *default-logging ```
docker-compose up
<-- this leads to an exit code 0 and then 139 of contain lemmy-1Technical Details
File lemmy_log.out
postgres-1 | postgres-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization postgres-1 | postgres-1 | 2024-03-19 23:30:55.483 UTC [1] LOG: starting PostgreSQL 16.2 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit postgres-1 | 2024-03-19 23:30:55.483 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 postgres-1 | 2024-03-19 23:30:55.483 UTC [1] LOG: listening on IPv6 address "::", port 5432 postgres-1 | 2024-03-19 23:30:55.494 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres-1 | 2024-03-19 23:30:55.508 UTC [24] LOG: database system was shut down at 2024-03-19 23:30:51 UTC postgres-1 | 2024-03-19 23:30:55.519 UTC [1] LOG: database system is ready to accept connections lemmy-ui-1 | (node:7) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. lemmy-ui-1 | (Use node --trace-deprecation ... to show where the warning was created) lemmy-ui-1 | Lemmy-ui v0.19.3 started listening on http://0.0.0.0:1234 pictrs-1 | 2024-03-19T23:30:55.258805Z INFO actix_server::builder: starting 4 workers pictrs-1 | 2024-03-19T23:30:55.258850Z INFO actix_server::server: Tokio runtime found; starting in existing Tokio runtime
As you see lemmy-1 doesn't even start nor get loggedOn the STDOUT (for example with tag:dev)
root@vega:/opt/lemmy/docker# docker compose up [+] Running 4/4 ✔ Container docker-pictrs-1 Created 0.0s ✔ Container docker-postgres-1 Created 0.0s ✔ Container docker-lemmy-1 Recreated 0.8s ✔ Container docker-lemmy-ui-1 Recreated 0.1s Attaching to lemmy-1, lemmy-ui-1, pictrs-1, postgres-1 postgres-1 | postgres-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization postgres-1 | pictrs-1 | 2024-03-19T23:41:47.038498Z INFO actix_server::builder: starting 4 workers pictrs-1 | 2024-03-19T23:41:47.038776Z INFO actix_server::server: Tokio runtime found; starting in existing Tokio runtime postgres-1 | 2024-03-19 23:41:47.129 UTC [1] LOG: starting PostgreSQL 16.2 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit postgres-1 | 2024-03-19 23:41:47.130 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 postgres-1 | 2024-03-19 23:41:47.130 UTC [1] LOG: listening on IPv6 address "::", port 5432 postgres-1 | 2024-03-19 23:41:47.140 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres-1 | 2024-03-19 23:41:47.152 UTC [24] LOG: database system was shut down at 2024-03-19 23:33:52 UTC postgres-1 | 2024-03-19 23:41:47.166 UTC [1] LOG: database system is ready to accept connections lemmy-1 exited with code 0 lemmy-1 exited with code 139 lemmy-ui-1 | (node:7) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. lemmy-ui-1 | (Use `node --trace-deprecation ...` to show where the warning was created) lemmy-ui-1 | Lemmy-ui v0.19.3 started listening on http://0.0.0.0:1234
Version BE >= 0.19.2 - Are there plans to hide deleted messages again?
This makes me far more reluctant to engage in general.
Ethically, I think there should at least be an option to filter these messages from the personal profile feed. Everyone should have a right to forget about encounters with negative people or take action to protect their own mental health above any beyond any platform functionality. If a person is encountering hate, abuse, or for any arbitrary reason, they should not be confronted with any form of reminder when they choose to remove the reference.
(Currently on .world @ version 19.3)
Also, the comments counter for a post and blocked users do not jive.
- How can I see a list of all communities on a different instance?
I see the option for all, subscribed and local but I can't seem to figure out how to find a list for a different instance
- Is it possible that Yiffit will stop being defederated with Lemmy.ml in the future?
I have been an active user of different Lemmy.ml communities for a long time but for personal reasons I want to migrate from Dbzer0 to Yiffit, unfortunately to my surprise Lemmy.ml stopped federating with Yiffit a few months ago and honestly it saddens me because there are communities like c/linux, c/privacy, c/firefox, c/fdroid that are extremely useful and I love to participate in them.
Is there any chance that Yiffit will be federated again? And why was it defederated from Lemmy.ml?
The admin of Yiffit is an incredibly nice person and I'm sure he will want to come to collaborate to be able to federate again with Lemmy.ml. As a user I find it a little unfair not to be able to participate in these communities from this instance but I understand and respect that each instance has its own policies and decisions.
- Can I debug why I'm not seeing something?
In the post https://lemmy.world/post/13123859 @phorq@lemmy.ml replied to my comment. I got a notification for the comment. But when I go to the post I cannot see their comment. Only a link saying "1 more reply" but when I click it nothing happens.
When I watch the same post logged out on my instance I can see the comment. When I watch the user's history logged in I can only see 4 months old comments. When I do the same logged out I can see all their comments.
I haven't blocked them and I haven't blocked their instance.
Is there some way for me to find out why I'm not seeing their comment? I'm the only user and admin of my instance so I can look at the logs.
- Email not set up correctly
Hi, I just installed my instance with Ansible.
Now following this doc to check if email is set up correctly. However I didn't receive an email to reset the password.
I doubled checked that I have email in my account settings. Used
telnet localhost 25
to verify the hostname is my domain.What am I missing?
- Where are my "upvotes"?
cross-posted from: https://lemmy.ml/post/13008029
> i'm pretty new to lemmy > > i know that in reddit there was list of everything i upvoted and downvoted > > am i missing something or this feature does not exists in lemmy? > > is it on a roadmap or is it some kind of security issue that i'm not aware >