LemmyNet / lemmy-ui

The official web app for lemmy.
https://join-lemmy.org/
GNU Affero General Public License v3.0
886 stars 332 forks source link

Issues after the latest upgrade #674

Closed nicfab closed 2 years ago

nicfab commented 2 years ago

I have some issues after the latest upgrade because I cannot use my Lemmy instance like it was before. I run docker-compose logs -f lemmy and I see (I post the latest lines):

lemmy_1     | 2022-05-28T16:23:18.080467Z  INFO HTTP request{http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=77e2f4aa-543c-43ba-a553-2f30e5b85997}:shared_inbox: lemmy_apub::http: Received shared inbox activity {"@context":"https://www.w3.org/ns/activitystreams","id":"https://mastodon.cc/users/Takanori#delete","type":"Delete","actor":"https://mastodon.cc/users/Takanori","to":["https://www.w3.org/ns/activitystreams#Public"],"object":"https://mastodon.cc/users/Takanori","signature":{"type":"RsaSignature2017","creator":"https://mastodon.cc/users/Takanori#main-key","created":"2022-05-28T16:23:05Z","signatureValue":"qyehm0ey2Fvg4WUqgwcmVBoGuHC0HzBcezDEmIMtV22wQZDOOBUeOKkkj+xW8u/bcXQvS5XjkwC3Bh098tOPCEA51nxKcXpLa2KbR+FGs758YGO4FmniikItVsDy5ktieE3UewB7bcKLQtyU+VyrCr8Rve6BWHKHBC19p6N7KZndjbeQ1D0M7dTZ0L47MgdyNKMNQeeGR1k9ZBuMxQ+S6+K909OySDasniu/OWJp5AGVci1q7FnCP8ZpMGBeThHdyrIYx48x1SMZdZ6nZ6xOGJJSXL+ga29INhUbDijb6jbgl4oT7wYwNv+dHujsNhvefAfZtYgcA+UePtSIv0qCQw=="}}
lemmy_1     | 2022-05-28T16:23:18.081871Z  INFO HTTP request{http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=77e2f4aa-543c-43ba-a553-2f30e5b85997}:shared_inbox:receive_activity: lemmy_apub_lib::utils: Fetching remote object https://mastodon.cc/users/Takanori
lemmy_1     | 2022-05-28T16:23:18.993120Z  WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: error decoding response body: data did not match any variant of untagged enum PersonOrGroup
lemmy_1     |    0: lemmy_apub::http::receive_activity
lemmy_1     |              at crates/apub/src/http/mod.rs:79
lemmy_1     |    1: lemmy_apub::http::shared_inbox
lemmy_1     |              at crates/apub/src/http/mod.rs:41
lemmy_1     |    2: lemmy_server::root_span_builder::HTTP request
lemmy_1     |            with http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=77e2f4aa-543c-43ba-a553-2f30e5b85997 http.status_code=400 otel.status_code="OK"
lemmy_1     |              at src/root_span_builder.rs:16
lemmy_1     | LemmyError { message: None, inner: error decoding response body: data did not match any variant of untagged enum PersonOrGroup
lemmy_1     |
lemmy_1     | Caused by:
lemmy_1     |     data did not match any variant of untagged enum PersonOrGroup, context: "SpanTrace" }
lemmy_1     | 2022-05-28T16:25:04.657146Z  INFO HTTP request{http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=cb72153a-74d6-493c-8b12-dcafd228f821}:shared_inbox: lemmy_apub::http: Received shared inbox activity {"@context":"https://www.w3.org/ns/activitystreams","id":"https://mastodon.cc/users/savohead#delete","type":"Delete","actor":"https://mastodon.cc/users/savohead","to":["https://www.w3.org/ns/activitystreams#Public"],"object":"https://mastodon.cc/users/savohead","signature":{"type":"RsaSignature2017","creator":"https://mastodon.cc/users/savohead#main-key","created":"2022-05-28T16:24:49Z","signatureValue":"IOkh3YCMTc54SI9b3Q/27xgynDdeFQ8oTWt46qAmimVWxdb4B4uUFTgn6Azlv++TbEJLxQbJIdlP8w7fqommY9N5SemCGbDKoYy2lJ+6ZZlMs5HzLGzhbZ84J4IqshX134TyZBhgZ0qXBZirJQMFihtQLsjUP8nz6GPxYX4rKNKaxFMNOGsZLhmU+LdNVNgpQ+079KsWlColBcweZO6jET9onqrumHzjeoLASsVcQ0oNUvAl5F3hHQz+XC05DWcrRe6UroiICVgeQkLam25pVD161s3ceXFzOUtioXnaRrly3zPMFu55p40kNgdDLQ+KjmG7/GcvwNyaqkNwCAn5ag=="}}
lemmy_1     | 2022-05-28T16:25:04.658943Z  INFO HTTP request{http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=cb72153a-74d6-493c-8b12-dcafd228f821}:shared_inbox:receive_activity: lemmy_apub_lib::utils: Fetching remote object https://mastodon.cc/users/savohead
lemmy_1     | 2022-05-28T16:25:05.730432Z  WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: error decoding response body: data did not match any variant of untagged enum PersonOrGroup
lemmy_1     |    0: lemmy_apub::http::receive_activity
lemmy_1     |              at crates/apub/src/http/mod.rs:79
lemmy_1     |    1: lemmy_apub::http::shared_inbox
lemmy_1     |              at crates/apub/src/http/mod.rs:41
lemmy_1     |    2: lemmy_server::root_span_builder::HTTP request
lemmy_1     |            with http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=cb72153a-74d6-493c-8b12-dcafd228f821 http.status_code=400 otel.status_code="OK"
lemmy_1     |              at src/root_span_builder.rs:16
lemmy_1     | LemmyError { message: None, inner: error decoding response body: data did not match any variant of untagged enum PersonOrGroup
lemmy_1     |
lemmy_1     | Caused by:
lemmy_1     |     data did not match any variant of untagged enum PersonOrGroup, context: "SpanTrace" }

If I run docker-compose logs -f lemmy lemmy-ui pictrs I see:

pictrs_1    | 2022-05-28T16:27:19.219492Z  INFO HTTP request{http.method=GET http.route=/image/process.{ext} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=93.151.251.105 http.user_agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15 http.target=/image/process.webp?src=1f883ba3-cdde-4ab0-8c85-304b0c5e9bb8.jpeg&thumbnail=96 otel.name=HTTP GET /image/process.{ext} otel.kind="server" request_id=f2aeced6-f999-4bf9-b5ba-ab86c8d8c950 trace_id=00000000000000000000000000000000 http.status_code=200 otel.status_code="OK"}:Serving processed image{range=None query=Query([("src", "1f883ba3-cdde-4ab0-8c85-304b0c5e9bb8.jpeg"), ("thumbnail", "96")]) ext=Path("webp") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}:to_stream{self=FileStore { path_gen: "generator", root_dir: "/mnt" } identifier=FileId("files/001/000/44c57d85-0407-43c2-aa5b-a118571aa375.jpeg") from_start=None len=None}: pict_rs::store::file_store: close time.busy=50.5µs time.idle=79.9µs
pictrs_1    | 2022-05-28T16:27:19.222183Z  INFO HTTP request{http.method=GET http.route=/image/process.{ext} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=93.151.251.105 http.user_agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15 http.target=/image/process.webp?src=1f883ba3-cdde-4ab0-8c85-304b0c5e9bb8.jpeg&thumbnail=96 otel.name=HTTP GET /image/process.{ext} otel.kind="server" request_id=f2aeced6-f999-4bf9-b5ba-ab86c8d8c950 trace_id=00000000000000000000000000000000 http.status_code=200 otel.status_code="OK"}:Serving processed image{range=None query=Query([("src", "1f883ba3-cdde-4ab0-8c85-304b0c5e9bb8.jpeg"), ("thumbnail", "96")]) ext=Path("webp") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}: pict_rs: close time.busy=438µs time.idle=2.76ms
pictrs_1    | 2022-05-28T16:27:19.222220Z  INFO HTTP request{http.method=GET http.route=/image/process.{ext} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=93.151.251.105 http.user_agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15 http.target=/image/process.webp?src=1f883ba3-cdde-4ab0-8c85-304b0c5e9bb8.jpeg&thumbnail=96 otel.name=HTTP GET /image/process.{ext} otel.kind="server" request_id=f2aeced6-f999-4bf9-b5ba-ab86c8d8c950 trace_id=00000000000000000000000000000000 http.status_code=200 otel.status_code="OK"}: tracing_actix_web::root_span_builder: close time.busy=524µs time.idle=2.76ms
lemmy_1     | 2022-05-28T16:27:30.516055Z  INFO HTTP request{http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=5691aef7-d071-45ae-aaae-6d3cb7a1242f}:shared_inbox: lemmy_apub::http: Received shared inbox activity {"@context":"https://www.w3.org/ns/activitystreams","id":"https://gruene.social/users/Cedara#delete","type":"Delete","actor":"https://gruene.social/users/Cedara","to":["https://www.w3.org/ns/activitystreams#Public"],"object":"https://gruene.social/users/Cedara","signature":{"type":"RsaSignature2017","creator":"https://gruene.social/users/Cedara#main-key","created":"2022-05-28T16:26:19Z","signatureValue":"Xbh8vMIDNEr9aLqC9VqlHNKVntX7QwlQid/h1FZfXRwOOZZYThc/qQOZiOMv4/hVgVq5NfWOxp267NR3iqfY8zKKZl/hmeLeQ4t1yYdrzcmOmBWsMbj0qn87pIkbkxoJuDmYMRNT7x/hOrFyyzBSNV5a+P/iDOyA4OgsndLhThy1nPKbAMxo+C405/IbK3kDOIjkkz/Gwb3UOb2DonT/77cvXBUeZjiGljU/oFOza94cuO1AlP6o4/C8rxRW2YJUpNNX6wWIu5gBBvSffoxEl6Mbd/TJSPHyi9hJiVAC0gbZ8DdrvpsaOuc6VMzLw/z7YAy89sHZqeLV9G8MtC0YRQ=="}}
lemmy_1     | 2022-05-28T16:27:30.517421Z  INFO HTTP request{http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=5691aef7-d071-45ae-aaae-6d3cb7a1242f}:shared_inbox:receive_activity: lemmy_apub::http: Verifying activity https://gruene.social/users/Cedara#delete
lemmy_1     | 2022-05-28T16:27:30.520291Z  WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: NotFound
lemmy_1     |    0: lemmy_apub::activities::deletion::read_from_db
lemmy_1     |              at crates/apub/src/activities/deletion/mod.rs:119
lemmy_1     |    1: lemmy_apub::activities::deletion::verify_delete_activity
lemmy_1     |              at crates/apub/src/activities/deletion/mod.rs:149
lemmy_1     |    2: lemmy_apub::activities::deletion::delete::verify
lemmy_1     |              at crates/apub/src/activities/deletion/delete.rs:48
lemmy_1     |    3: lemmy_apub::http::receive_activity
lemmy_1     |              at crates/apub/src/http/mod.rs:79
lemmy_1     |    4: lemmy_apub::http::shared_inbox
lemmy_1     |              at crates/apub/src/http/mod.rs:41
lemmy_1     |    5: lemmy_server::root_span_builder::HTTP request
lemmy_1     |            with http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=5691aef7-d071-45ae-aaae-6d3cb7a1242f http.status_code=404 otel.status_code="OK"
lemmy_1     |              at src/root_span_builder.rs:16
lemmy_1     | LemmyError { message: None, inner: NotFound, context: "SpanTrace" }
lemmy_1     |
lemmy_1     | Caused by:
lemmy_1     |     data did not match any variant of untagged enum PersonOrGroup, context: "SpanTrace" }
pictrs_1    | 2022-05-28T16:29:16.379945Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=86.3.165.20 http.user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=04b6edf2-3656-4b1a-92de-6f5059b2b782}: tracing_actix_web::root_span_builder: new
pictrs_1    | 2022-05-28T16:29:16.380031Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=86.3.165.20 http.user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=04b6edf2-3656-4b1a-92de-6f5059b2b782 trace_id=00000000000000000000000000000000}:Serving file{range=None alias=Path("cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}: pict_rs: new
pictrs_1    | 2022-05-28T16:29:16.380050Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=86.3.165.20 http.user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=04b6edf2-3656-4b1a-92de-6f5059b2b782 trace_id=00000000000000000000000000000000}:Serving file{range=None alias=Path("cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}:from_alias{alias="cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg"}: pict_rs::upload_manager: new
pictrs_1    | 2022-05-28T16:29:16.380316Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=86.3.165.20 http.user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=04b6edf2-3656-4b1a-92de-6f5059b2b782 trace_id=00000000000000000000000000000000}:Serving file{range=None alias=Path("cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}:from_alias{alias="cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg"}: pict_rs::upload_manager: close time.busy=132µs time.idle=132µs
pictrs_1    | 2022-05-28T16:29:16.380348Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=86.3.165.20 http.user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=04b6edf2-3656-4b1a-92de-6f5059b2b782 trace_id=00000000000000000000000000000000}:Serving file{range=None alias=Path("cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}:identifier_from_filename{filename="44c57d85-0407-43c2-aa5b-a118571aa375.jpeg"}: pict_rs::upload_manager: new
pictrs_1    | 2022-05-28T16:29:16.380412Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=86.3.165.20 http.user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=04b6edf2-3656-4b1a-92de-6f5059b2b782 trace_id=00000000000000000000000000000000}:Serving file{range=None alias=Path("cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}:identifier_from_filename{filename="44c57d85-0407-43c2-aa5b-a118571aa375.jpeg"}: pict_rs::upload_manager: close time.busy=15.2µs time.idle=48.4µs
pictrs_1    | 2022-05-28T16:29:16.380441Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=86.3.165.20 http.user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=04b6edf2-3656-4b1a-92de-6f5059b2b782 trace_id=00000000000000000000000000000000}:Serving file{range=None alias=Path("cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}:variant_details{identifier=FileId("files/000/44c57d85-0407-43c2-aa5b-a118571aa375.jpeg") filename="44c57d85-0407-43c2-aa5b-a118571aa375.jpeg"}: pict_rs::upload_manager: new
pictrs_1    | 2022-05-28T16:29:16.380519Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=86.3.165.20 http.user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=04b6edf2-3656-4b1a-92de-6f5059b2b782 trace_id=00000000000000000000000000000000}:Serving file{range=None alias=Path("cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}:variant_details{identifier=FileId("files/000/44c57d85-0407-43c2-aa5b-a118571aa375.jpeg") filename="44c57d85-0407-43c2-aa5b-a118571aa375.jpeg"}: pict_rs::upload_manager: close time.busy=27.1µs time.idle=50.9µs
pictrs_1    | 2022-05-28T16:29:16.380552Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=86.3.165.20 http.user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=04b6edf2-3656-4b1a-92de-6f5059b2b782 trace_id=00000000000000000000000000000000}:Serving file{range=None alias=Path("cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}:to_stream{self=FileStore { path_gen: "generator", root_dir: "/mnt" } identifier=FileId("files/000/44c57d85-0407-43c2-aa5b-a118571aa375.jpeg") from_start=None len=None}: pict_rs::store::file_store: new
pictrs_1    | 2022-05-28T16:29:16.382231Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=86.3.165.20 http.user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=04b6edf2-3656-4b1a-92de-6f5059b2b782 trace_id=00000000000000000000000000000000 http.status_code=200 otel.status_code="OK"}:Serving file{range=None alias=Path("cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}:to_stream{self=FileStore { path_gen: "generator", root_dir: "/mnt" } identifier=FileId("files/000/44c57d85-0407-43c2-aa5b-a118571aa375.jpeg") from_start=None len=None}: pict_rs::store::file_store: close time.busy=39.9µs time.idle=1.64ms
pictrs_1    | 2022-05-28T16:29:16.382259Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=86.3.165.20 http.user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=04b6edf2-3656-4b1a-92de-6f5059b2b782 trace_id=00000000000000000000000000000000 http.status_code=200 otel.status_code="OK"}:Serving file{range=None alias=Path("cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}: pict_rs: close time.busy=394µs time.idle=1.83ms
pictrs_1    | 2022-05-28T16:29:16.382279Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=86.3.165.20 http.user_agent=Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=04b6edf2-3656-4b1a-92de-6f5059b2b782 trace_id=00000000000000000000000000000000 http.status_code=200 otel.status_code="OK"}: tracing_actix_web::root_span_builder: close time.busy=640µs time.idle=1.70ms
lemmy_1     | 2022-05-28T16:29:28.101629Z  INFO HTTP request{http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=48bb733d-7411-4c04-b227-fc6d4560950a}:shared_inbox: lemmy_apub::http: Received shared inbox activity {"@context":["https://www.w3.org/ns/activitystreams",{"stickied":"as:stickied","pt":"https://join-lemmy.org#","sc":"http://schema.org#","matrixUserId":{"type":"sc:Text","id":"as:alsoKnownAs"},"sensitive":"as:sensitive","comments_enabled":{"type":"sc:Boolean","id":"pt:commentsEnabled"},"moderators":"as:moderators"},"https://w3id.org/security/v1"],"actor":"https://lemmy.ml/c/matrix","to":["https://www.w3.org/ns/activitystreams#Public"],"object":{"actor":"https://lemmy.ml/u/cypherpunks","to":["https://www.w3.org/ns/activitystreams#Public"],"object":{"type":"Page","id":"https://lemmy.ml/post/288115","attributedTo":"https://lemmy.ml/u/cypherpunks","to":["https://lemmy.ml/c/matrix","https://www.w3.org/ns/activitystreams#Public"],"name":"rocket.chat adopts matrix protocol","cc":[],"mediaType":"text/html","url":"https://rocket.chat/press-releases/rocket-chat-leverages-matrix-protocol-for-decentralized-and-interoperable-communications","attachment":[{"href":"https://rocket.chat/press-releases/rocket-chat-leverages-matrix-protocol-for-decentralized-and-interoperable-communications","type":"Link"}],"image":{"type":"Image","url":"https://lemmy.ml/pictrs/image/0e0be626-4149-4e3a-9869-8fad1ca768a9.png"},"commentsEnabled":true,"sensitive":false,"stickied":false,"published":"2022-05-28T13:45:04.330683+00:00"},"cc":["https://lemmy.ml/c/matrix"],"type":"Create","id":"https://lemmy.ml/activities/create/e6990962-de5e-4efa-909e-d39bd4a29f18"},"cc":["https://lemmy.ml/c/matrix/followers"],"type":"Announce","id":"https://lemmy.ml/activities/announce/b900b402-a856-4b97-a8ff-d196eb933878"}
lemmy_1     | 2022-05-28T16:29:28.104144Z  INFO HTTP request{http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=48bb733d-7411-4c04-b227-fc6d4560950a}:shared_inbox:receive_activity: lemmy_apub::http: Verifying activity https://lemmy.ml/activities/announce/b900b402-a856-4b97-a8ff-d196eb933878
lemmy_1     | 2022-05-28T16:29:28.137814Z  INFO HTTP request{http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=ff4a72e4-9f13-4704-91ab-d24f85d288ad}:shared_inbox: lemmy_apub::http: Received shared inbox activity {"@context":["https://www.w3.org/ns/activitystreams",{"stickied":"as:stickied","pt":"https://join-lemmy.org#","sc":"http://schema.org#","matrixUserId":{"type":"sc:Text","id":"as:alsoKnownAs"},"sensitive":"as:sensitive","comments_enabled":{"type":"sc:Boolean","id":"pt:commentsEnabled"},"moderators":"as:moderators"},"https://w3id.org/security/v1"],"actor":"https://lemmy.ml/c/matrix","to":["https://www.w3.org/ns/activitystreams#Public"],"object":{"type":"Page","id":"https://lemmy.ml/post/288115","attributedTo":"https://lemmy.ml/u/cypherpunks","to":["https://lemmy.ml/c/matrix","https://www.w3.org/ns/activitystreams#Public"],"name":"rocket.chat adopts matrix protocol","cc":[],"mediaType":"text/html","url":"https://rocket.chat/press-releases/rocket-chat-leverages-matrix-protocol-for-decentralized-and-interoperable-communications","attachment":[{"href":"https://rocket.chat/press-releases/rocket-chat-leverages-matrix-protocol-for-decentralized-and-interoperable-communications","type":"Link"}],"image":{"type":"Image","url":"https://lemmy.ml/pictrs/image/0e0be626-4149-4e3a-9869-8fad1ca768a9.png"},"commentsEnabled":true,"sensitive":false,"stickied":false,"published":"2022-05-28T13:45:04.330683+00:00"},"cc":["https://lemmy.ml/c/matrix/followers"],"type":"Announce","id":"https://lemmy.ml/activities/announce/44f2e2f0-a1fc-4d27-94eb-a6d17093d42e"}
lemmy_1     | 2022-05-28T16:29:28.139878Z  INFO HTTP request{http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=ff4a72e4-9f13-4704-91ab-d24f85d288ad}:shared_inbox:receive_activity: lemmy_apub::http: Verifying activity https://lemmy.ml/activities/announce/44f2e2f0-a1fc-4d27-94eb-a6d17093d42e

How can I solve?

dessalines commented 2 years ago

I have some issues after the latest upgrade because I cannot use my Lemmy instance like it was before.

Could you be more specific? Those messages are for mastodon sending user deletes.

nicfab commented 2 years ago

I have some issues after the latest upgrade because I cannot use my Lemmy instance like it was before.

Could you be more specific? Those messages are for mastodon sending user deletes.

I reach the webpage of my community at https://comunity.nicfab.it using Safari on macOS 12.4. The page seems frozen; if I click "Login", I have to refresh the page, and if I input my username and password, it looks as if that starts the login process, but the webpage appears again with the empty username and password fields, and I can't access. So, I open the console and see what is in the image I attach. Probably it's related to lemmy-ui, but I don't know. Before the latest upgrade, it worked properly.

CleanShot 2022-05-29 at 06 35 02@2x

If I run docker-compose logs -f lemmy lemmy-ui pictrs I see:

pictrs_1    | 2022-05-29T04:57:50.355869Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=156.146.48.162 http.user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=bb8ec84f-a09a-469f-a940-299f541a0776 trace_id=00000000000000000000000000000000 http.status_code=200 otel.status_code="OK"}:Serving file{range=None alias=Path("cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}:to_stream{self=FileStore { path_gen: "generator", root_dir: "/mnt" } identifier=FileId("files/000/44c57d85-0407-43c2-aa5b-a118571aa375.jpeg") from_start=None len=None}: pict_rs::store::file_store: close time.busy=37.3µs time.idle=1.01ms
pictrs_1    | 2022-05-29T04:57:50.355889Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=156.146.48.162 http.user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=bb8ec84f-a09a-469f-a940-299f541a0776 trace_id=00000000000000000000000000000000 http.status_code=200 otel.status_code="OK"}:Serving file{range=None alias=Path("cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg") store=Data(FileStore { path_gen: "generator", root_dir: "/mnt" })}: pict_rs: close time.busy=412µs time.idle=1.19ms
pictrs_1    | 2022-05-29T04:57:50.355902Z  INFO HTTP request{http.method=GET http.route=/image/original/{filename} http.flavor=1.1 http.scheme=http http.host=pictrs:8080 http.client_ip=156.146.48.162 http.user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 http.target=/image/original/cfef8df9-6bb5-4049-b7b0-5299814076d4.jpeg otel.name=HTTP GET /image/original/{filename} otel.kind="server" request_id=bb8ec84f-a09a-469f-a940-299f541a0776 trace_id=00000000000000000000000000000000 http.status_code=200 otel.status_code="OK"}: tracing_actix_web::root_span_builder: close time.busy=647µs time.idle=1.06ms

Trying to input username and password, the logs say:

lemmy_1     | 2022-05-29T05:00:00.449101Z  INFO lemmy_server::scheduled_tasks: Updating active site and community aggregates ...
lemmy_1     | 2022-05-29T05:00:00.480598Z  INFO lemmy_server::scheduled_tasks: Done.
lemmy_1     | 2022-05-29T05:00:00.480635Z  INFO lemmy_server::scheduled_tasks: Updating banned column if it expires ...
lemmy_1     | 2022-05-29T05:00:00.482321Z  INFO lemmy_server::scheduled_tasks: Reindexing table concurrently post_aggregates ...
lemmy_1     | 2022-05-29T05:00:00.694568Z  INFO lemmy_server::scheduled_tasks: Done.
lemmy_1     | 2022-05-29T05:00:00.694605Z  INFO lemmy_server::scheduled_tasks: Reindexing table concurrently comment_aggregates ...
lemmy_1     | 2022-05-29T05:00:00.748499Z  INFO lemmy_server::scheduled_tasks: Done.
lemmy_1     | 2022-05-29T05:00:00.748521Z  INFO lemmy_server::scheduled_tasks: Reindexing table concurrently community_aggregates ...
lemmy_1     | 2022-05-29T05:00:00.773529Z  INFO lemmy_server::scheduled_tasks: Done.
lemmy_1     | 2022-05-29T05:00:59.651880Z  INFO HTTP request{http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=256efc04-6e31-4eab-9909-40f1bb3cb446}:shared_inbox: lemmy_apub::http: Received shared inbox activity {"@context":"https://www.w3.org/ns/activitystreams","id":"https://social.wien.rocks/users/m3zli#delete","type":"Delete","actor":"https://social.wien.rocks/users/m3zli","to":["https://www.w3.org/ns/activitystreams#Public"],"object":"https://social.wien.rocks/users/m3zli","signature":{"type":"RsaSignature2017","creator":"https://social.wien.rocks/users/m3zli#main-key","created":"2022-05-29T05:00:40Z","signatureValue":"Ox3zV0j/RaCNdammAp0sSUdVxGIiYx8HF+tlOCihUGAO5WwzLtEceTYLZIw/nRkwNm/PpK8c9R3yIYckA+HLnyByKghg7Qgf9zmpQd/V40mEMeSw6SCCBzRy2aY9qHjMNuPFsrUUmt0VDC11f+vdQaZSmJSOQP1UAbzS1xt9ar2h5h50Ppr1B5Hkh9zAW291CZGgXoY/HQmSjLpi+1r96vJUX6dNYHmKgrULX+eTvOOAJoduY3H5za4eHYsgy+AXQTLsiqjuCLzjL2TQKZUOdQ3tosy7KYTQD2eHmnIxH0Y+lflliyhUqjUlsdv72THO1EJ+5aQRkyWPXmuwbfL8BQ=="}}
lemmy_1     | 2022-05-29T05:00:59.653090Z  INFO HTTP request{http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=256efc04-6e31-4eab-9909-40f1bb3cb446}:shared_inbox:receive_activity: lemmy_apub::http: Verifying activity https://social.wien.rocks/users/m3zli#delete
lemmy_1     | 2022-05-29T05:00:59.655217Z  WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: NotFound
lemmy_1     |    0: lemmy_apub::activities::deletion::read_from_db
lemmy_1     |              at crates/apub/src/activities/deletion/mod.rs:119
lemmy_1     |    1: lemmy_apub::activities::deletion::verify_delete_activity
lemmy_1     |              at crates/apub/src/activities/deletion/mod.rs:149
lemmy_1     |    2: lemmy_apub::activities::deletion::delete::verify
lemmy_1     |              at crates/apub/src/activities/deletion/delete.rs:48
lemmy_1     |    3: lemmy_apub::http::receive_activity
lemmy_1     |              at crates/apub/src/http/mod.rs:79
lemmy_1     |    4: lemmy_apub::http::shared_inbox
lemmy_1     |              at crates/apub/src/http/mod.rs:41
lemmy_1     |    5: lemmy_server::root_span_builder::HTTP request
lemmy_1     |            with http.method=POST http.scheme="http" http.host=community.nicfab.it http.target=/inbox otel.kind="server" request_id=256efc04-6e31-4eab-9909-40f1bb3cb446 http.status_code=404 otel.status_code="OK"
lemmy_1     |              at src/root_span_builder.rs:16
lemmy_1     | LemmyError { message: None, inner: NotFound, context: "SpanTrace" }
dessalines commented 2 years ago

dupe of #669