pleroma issueshttps://git.pleroma.social/pleroma/pleroma/-/issues2021-11-15T10:48:58Zhttps://git.pleroma.social/pleroma/pleroma/-/issues/2730Fallback to frontend when an actor isn't found2021-11-15T10:48:58ZAlex GleasonFallback to frontend when an actor isn't found![Screenshot_from_2021-07-31_15-00-37](/uploads/435cb5034a846373acdb411a992eec0b/Screenshot_from_2021-07-31_15-00-37.png)
When a user is found, it renders the frontend. When one isn't, it renders a JSON error. It would be much better to...![Screenshot_from_2021-07-31_15-00-37](/uploads/435cb5034a846373acdb411a992eec0b/Screenshot_from_2021-07-31_15-00-37.png)
When a user is found, it renders the frontend. When one isn't, it renders a JSON error. It would be much better to let it fall back to the frontend, letting the frontend render a "Not found" message, unless `Accept` is `json` or `activity+json`.https://git.pleroma.social/pleroma/pleroma/-/issues/2728MediaProxy `Redirect on failure` may cause identity leaked2021-07-28T07:20:06ZdebulaMediaProxy `Redirect on failure` may cause identity leaked~~Some Mastodon instances use HTTP 302 to redirect media url to cdn url. Pleroma seems not follow it, which will create cross-site request in front end and leak user's identity. Please fix it asap, thanks in advance.~~
~~Test case: http...~~Some Mastodon instances use HTTP 302 to redirect media url to cdn url. Pleroma seems not follow it, which will create cross-site request in front end and leak user's identity. Please fix it asap, thanks in advance.~~
~~Test case: https://hello.2heng.xin/@bingdaily/106655279125961817~~https://git.pleroma.social/pleroma/pleroma/-/issues/2726Could not compile :sleeplocks2021-08-18T01:07:04ZSean KingCould not compile :sleeplocksAfter freshly cloning Pleroma from the develop branch, I get an issue with compiling sleeplocks like seen below:
```
===> Fetching rebar3_hex v6.10.0
===> Version cached at /[redacted]/[redacted]/.cache/rebar3/hex/hexpm/packages/rebar3_...After freshly cloning Pleroma from the develop branch, I get an issue with compiling sleeplocks like seen below:
```
===> Fetching rebar3_hex v6.10.0
===> Version cached at /[redacted]/[redacted]/.cache/rebar3/hex/hexpm/packages/rebar3_hex-6.10.0.tar is up to date, reusing it
escript: exception error: undefined function erlang:get_stacktrace/0
in function rebar3:main/1 (/tmp/cirrus-ci-build/src/rebar3.erl, line 72)
in call from escript:run/2 (escript.erl, line 750)
in call from escript:start/1 (escript.erl, line 277)
in call from init:start_em/1
in call from init:do_boot/3
** (Mix) Could not compile dependency :sleeplocks, "/[redacted]/[redacted]/.mix/rebar3 bare compile --paths /[redacted]/[redacted]/Projects/Traboone/pleroma/instances-info-api/_build/dev/lib/*/ebin" command failed. You can recompile this dependency with "mix deps.compile sleeplocks", update it with "mix deps.update sleeplocks" or clean it with "mix deps.clean sleeplocks"
```
- Elixir/Erlang version:
```
Erlang/OTP 24 [erts-12.0.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]
Elixir 1.12.0 (compiled with Erlang/OTP 24)
```
- OS: Linux Mint 20.2https://git.pleroma.social/pleroma/pleroma/-/issues/2725Unable to fetch external posts containing no text, only media2022-11-03T13:13:14ZYour New SJW WaifuUnable to fetch external posts containing no text, only media<!--
### Precheck
* For support use https://git.pleroma.social/pleroma/pleroma-support or [community channels](https://git.pleroma.social/pleroma/pleroma#community-channels).
* Please do a quick search to ensure no similar bug has been ...<!--
### Precheck
* For support use https://git.pleroma.social/pleroma/pleroma-support or [community channels](https://git.pleroma.social/pleroma/pleroma#community-channels).
* Please do a quick search to ensure no similar bug has been reported before. If the bug has not been addressed after 2 weeks, it's fine to bump it.
* Try to ensure that the bug is actually related to the Pleroma backend. For example, if a bug happens in Pleroma-FE but not in Mastodon-FE or mobile clients, it's likely that the bug should be filed in [Pleroma-FE](https://git.pleroma.social/pleroma/pleroma-fe/issues/new) repository.
-->
### Environment
* Installation type:
- [ ] The virgin OTP install
- [X] The chad source install
* Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE):
- 7acdab1f
* Elixir version (`elixir -v` for from source installations, N/A for OTP):
- `Erlang/OTP 23 [erts-11.2.1] [source] [64-bit] [smp:5:5] [ds:5:5:10] [async-threads:1] [hipe]`
- `Elixir 1.11.3 (compiled with Erlang/OTP 23)`
* Operating system: ![btw i use arch](https://bae.st/media/608673ded4c59bfbaf7034a62e816dd21df610e3d91cd66337311d08175a84fe.webm?name=btw_i_use_arch.webm)
* PostgreSQL version (`psql -V`): `psql (PostgreSQL) 13.3`
* Rum indexes:
- [ ] No
- [X] Yes
### Bug description
When a post on another instance only contains media it can't be fetched. Even searching the URL of the note didn't do anything.https://git.pleroma.social/pleroma/pleroma/-/issues/2722Federation will break with LetsEncrypt certs issued after 9/302021-11-16T23:16:28ZfeldFederation will break with LetsEncrypt certs issued after 9/30Just learned about this: https://github.com/erlang/otp/issues/4877
We'll want to sort out how to get an acceptable version of OTP for all users before then. Might be an opportune time to really bump minimum supported Elixir too, as I th...Just learned about this: https://github.com/erlang/otp/issues/4877
We'll want to sort out how to get an acceptable version of OTP for all users before then. Might be an opportune time to really bump minimum supported Elixir too, as I think we only discussed that but didn't take action yet.https://git.pleroma.social/pleroma/pleroma/-/issues/2716No way to strip avatars and banners with MRF2021-07-17T15:56:48ZAlex GleasonNo way to strip avatars and banners with MRFToday I discovered that Pawoo is hosting actual *actual* child porn now. One image is in the banner of a profile. media_removal only strips attachments, but does not remove avatars, banners, or images embedded with Markdown. The only oth...Today I discovered that Pawoo is hosting actual *actual* child porn now. One image is in the banner of a profile. media_removal only strips attachments, but does not remove avatars, banners, or images embedded with Markdown. The only other options is to defederate entirely.https://git.pleroma.social/pleroma/pleroma/-/issues/2715Issues with outgoing federation after updating2021-07-16T23:43:30Zclarjon1Issues with outgoing federation after updatingUpdated my instance last nite, ran into some issues with dependencies, particularly rebar3 not updating, and got that fixed. Thought instance was behaving pretty nominally as i went to bed.
Today, realized that outgoing federation actio...Updated my instance last nite, ran into some issues with dependencies, particularly rebar3 not updating, and got that fixed. Thought instance was behaving pretty nominally as i went to bed.
Today, realized that outgoing federation actions weren't happening. Posts aren't going out, reactions aren't going out, etc.
Hopped into systemd log, spotted some errors
Did a git pull to make sure i had latest code, pulled fresh copies of and re-compiled all dependencies in case something's out of date, to no avail
here's the commit hash that my instance is currently running
```
# git rev-parse --verify HEAD
b221d77a6da07c684bdbc63ddf4500e0d7ffeae8
```
snippet of errors popping up in logs:
```
Jul 16 17:59:04 vps212052 mix[35457]: 17:59:04.269 request_id=FpJXPyvCOcnDLNEAABqx [error] Internal server error: %UndefinedFunctionError{arity: 0, function: :cipher_suites, message: nil, module: :ssl, reason: nil}
Jul 16 17:59:04 vps212052 mix[35457]: 17:59:04.271 [error] #PID<0.1800.0> running Pleroma.Web.Endpoint (connection #PID<0.1799.0>, stream id 1) terminated
Jul 16 17:59:04 vps212052 mix[35457]: Server: wireless.cat6.network:80 (http)
Jul 16 17:59:04 vps212052 mix[35457]: Request: POST /inbox
Jul 16 17:59:04 vps212052 mix[35457]: ** (exit) an exception was raised:
Jul 16 17:59:04 vps212052 mix[35457]: ** (FunctionClauseError) no function clause matching in Plug.Conn.resp/3
Jul 16 17:59:04 vps212052 mix[35457]: (plug 1.11.1) lib/plug/conn.ex:580: Plug.Conn.resp(%Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{digest: "SHA-256=bEV6iWA9E0H3ZEjAQGjzLbH4szQcAwgX3BH5O6Owx+k=", kind: :error, layout: false, locale: "en", reason: %UndefinedFunctionError{arity: 0, function: :cipher_suites, message: nil, module: :ssl, reason: nil}, remote_ip_found: true, stack: [{:ssl, :cipher_suites, [], []}, {:hackney_ssl, :ciphers, 0, [file: '/opt/pleroma/deps/hackney/src/hackney_ssl.erl', line: 77]}, {:hackney_ssl, :connect, 4, [file: '/opt/pleroma/deps/hackney/src/hackney_ssl.erl', line: 69]}, {:hackney_connect, :do_connect, 5, [file: '/opt/pleroma/deps/hackney/src/hackney_connect.erl', line: 277]}, {:hackney_connect, :connect, 5, [file: '/opt/pleroma/deps/hackney/src/hackney_connect.erl', line: 47]}, {:hackney, :request, 5, [file: '/opt/pleroma/deps/hackney/src/hackney.erl', line: 333]}, {Tesla.Adapter.Hackney, :request, 5, [file: 'lib/tesla/adapter/hackney.ex', line: 71]}, {Tesla.Adapter.Hackney, :call, 2, [file: 'lib/tesla/adapter/hackney.ex', line: 33]}], status: 500}, before_send: [#Function<0.61030139/1 in Pleroma.Web.Endpoint.PipelineInstrumenter.call/2>, #Function<1.8418385/1 in Plug.Logger.call/2>, #Function<0.23023616/1 in Plug.Telemetry.call/2>], body_params: %{"@context" => ["https://www.w3.org/ns/activitystreams", %{"atomUri" => "ostatus:atomUri", "ostatus" => "http://ostatus.org#"}], "actor" => "https://monads.online/users/Colophonscrawl", "id" => "https://monads.online/users/Colophonscrawl/statuses/106591234947563748#delete", "object" => %{"atomUri" => "https://monads.online/users/Colophonscrawl/statuses/106591234947563748", "id" => "https://monads.online/users/Colophonscrawl/statuses/106591234947563748", "type" => "Tombstone"}, "to" => ["https://www.w3.org/ns/activitystreams#Public"], "type" => "Delete"}, cookies: %Plug.Conn.Unfetched{aspect: :cookies}, halted: false, host: "wireless.cat6.network", method: "POST", owner: #PID<0.1800.0>, params: %{"@context" => ["https://www.w3.org/ns/activitystreams", %{"atomUri" => "ostatus:atomUri", "ostatus" => "http://ostatus.org#"}], "actor" => "https://monads.online/users/Colophonscrawl", "id" => "https://monads.online/users/Colophonscrawl/statuses/106591234947563748#delete", "object" => %{"atomUri" => "https://monads.online/users/Colophonscrawl/statuses/106591234947563748", "id" => "https://monads.online/users/Colophonscrawl/statuses/106591234947563748", "type" => "Tombstone"}, "to" => ["https://www.w3.org/ns/activitystreams#Public"], "type" => "Delete"}, path_info: ["inbox"], path_params: %{}, port: 80, private: %{Pleroma.Web.Router => {[], %{}}, :phoenix_endpoint => Pleroma.Web.Endpoint, :phoenix_format => "activity+json", :phoenix_layout => false, :phoenix_root_layout => false, :phoenix_router => Pleroma.Web.Router, :phoenix_template => "500.activity+json", :phoenix_view => Pleroma.Web.ErrorView, :plug_session_fetch => #Function<1.77458138/1 in Plug.Session.fetch_session/1>}, query_params: %{}, query_string: "", remote_ip: {45, 79, 93, 132}, req_cookies: %Plug.Conn.Unfetched{aspect: :cookies}, req_headers: [{"accept-encoding", "gzip"}, {"connection", "upgrade"}, {"content-length", "515"}, {"content-type", "application/activity+json"}, {"date", "Fri, 16 Jul 2021 17:59:04 GMT"}, {"digest", "SHA-256=bEV6iWA9E0H3ZEjAQGjzLbH4szQcAwgX3BH5O6Owx+k="}, {"host", "wireless.cat6.network"}, {"signature", "keyId=\"https://monads.online/users/Colophonscrawl#main-key\",algorithm=\"rsa-sha256\",headers=\"(request-target) host date digest content-type\",signature=\"RTUp+scICw8yOpYVCN4i8DWiQaENJ3x8onWXri5awsW9/t1ujTdkP263J9FA/wEpdNeREsfUXr0hrU+ElnjbJxmB4X+UMOst3rtqBwtZAy4nJvEYagPbcplIzkO47FrL/tPX23UhpXIbcnBQ938Tao3iJKk/4QvlyRdVmFmMVDG6W7NFzUMkSdg9KHY+exTnJPcil4O6c762nWxiRBr9SlUNOm5KyOE3IrVWSUYSv5vHrxcHK1voiCCLD9M/IwCdTKBLfRcRZvL74ETyeSsoL4/HJbKQje0S+NaUn/RoZVi1rbgnijqi0wS+dTbXtoH3SutdGvIuhPZp/suyYb8vkw==\""}, {"user-agent", "http.rb/4.4.1 (Mastodon/3.4.1+glitch; +https://monads.online/)"}, {"x-forwarded-for", "45.79.93.132"}], request_path: "/inbox", resp_body: nil, resp_cookies: %{}, resp_headers: [{"content-type", "application/activity+json; charset=utf-8"}, {"cache-control", "max-age=0, private, must-revalidate"}, {"access-control-allow-origin", "*"}, {"access-control-expose-headers", "Link,X-RateLimit-Reset,X-RateLimit-Limit,X-RateLimit-Remaining,X-Request-Id,Idempotency-Key"}, {"access-control-allow-credentials", "true"}, {"x-xss-protection", "1; mode=block"}, {"x-permitted-cross-domain-policies", "none"}, {"x-frame-options", "DENY"}, {"x-content-type-options", "nosniff"}, {"referrer-policy", "same-origin"}, {"x-download-options", "noopen"}, {"content-security-policy", "upgrade-insecure-requests;script-src 'self';connect-src 'self' blob: https://wireless.cat6.network wss://wireless.cat6.network;media-src 'self' https:;img-src 'self' data: blob: https:;default-src 'none';base-uri 'self';frame-ancestors 'none';style-src 'self' 'unsafe-inline';font-src 'self';manifest-src 'self';"}, {"x-request-id", "FpJXPyvCOcnDLNEAABqx"}], scheme: :http, script_name: [], secret_key_base: :..., state: :unset, status: 500}, 500, %{errors: %{detail: "Internal server error"}})
Jul 16 17:59:04 vps212052 mix[35457]: (plug 1.11.1) lib/plug/conn.ex:559: Plug.Conn.send_resp/3
Jul 16 17:59:04 vps212052 mix[35457]: (phoenix 1.5.9) lib/phoenix/endpoint/render_errors.ex:78: Phoenix.Endpoint.RenderErrors.instrument_render_and_send/5
Jul 16 17:59:04 vps212052 mix[35457]: (phoenix 1.5.9) lib/phoenix/endpoint/render_errors.ex:64: Phoenix.Endpoint.RenderErrors.__catch__/5
Jul 16 17:59:04 vps212052 mix[35457]: (phoenix 1.5.9) lib/phoenix/endpoint/cowboy2_handler.ex:65: Phoenix.Endpoint.Cowboy2Handler.init/4
Jul 16 17:59:04 vps212052 mix[35457]: (cowboy 2.9.0) /opt/pleroma/deps/cowboy/src/cowboy_handler.erl:37: :cowboy_handler.execute/2
Jul 16 17:59:04 vps212052 mix[35457]: (cowboy 2.9.0) /opt/pleroma/deps/cowboy/src/cowboy_stream_h.erl:306: :cowboy_stream_h.execute/3
Jul 16 17:59:04 vps212052 mix[35457]: (cowboy 2.9.0) /opt/pleroma/deps/cowboy/src/cowboy_stream_h.erl:295: :cowboy_stream_h.request_process/3
Jul 16 17:59:07 vps212052 mix[35457]: 17:59:07.867 request_id=FpJXP_wbfEAAJiAAABWC [error] Internal server error: %UndefinedFunctionError{arity: 0, function: :cipher_suites, message: nil, module: :ssl, reason: nil}
Jul 16 17:59:07 vps212052 mix[35457]: 17:59:07.868 [error] #PID<0.1802.0> running Pleroma.Web.Endpoint (connection #PID<0.1801.0>, stream id 1) terminated
Jul 16 17:59:07 vps212052 mix[35457]: Server: wireless.cat6.network:80 (http)
Jul 16 17:59:07 vps212052 mix[35457]: Request: POST /inbox
Jul 16 17:59:07 vps212052 mix[35457]: ** (exit) an exception was raised:
Jul 16 17:59:07 vps212052 mix[35457]: ** (FunctionClauseError) no function clause matching in Plug.Conn.resp/3
Jul 16 17:59:07 vps212052 mix[35457]: (plug 1.11.1) lib/plug/conn.ex:580: Plug.Conn.resp(%Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{digest: "SHA-256=bOt80a0qD20vyoLvSyO16vz6qCEY1slBgybu7zbBuY8=", kind: :error, layout: false, locale: "en", reason: %UndefinedFunctionError{arity: 0, function: :cipher_suites, message: nil, module: :ssl, reason: nil}, remote_ip_found: true, stack: [{:ssl, :cipher_suites, [], []}, {:hackney_ssl, :ciphers, 0, [file: '/opt/pleroma/deps/hackney/src/hackney_ssl.erl', line: 77]}, {:hackney_ssl, :connect, 4, [file: '/opt/pleroma/deps/hackney/src/hackney_ssl.erl', line: 69]}, {:hackney_connect, :do_connect, 5, [file: '/opt/pleroma/deps/hackney/src/hackney_connect.erl', line: 277]}, {:hackney_connect, :connect, 5, [file: '/opt/pleroma/deps/hackney/src/hackney_connect.erl', line: 47]}, {:hackney, :request, 5, [file: '/opt/pleroma/deps/hackney/src/hackney.erl', line: 333]}, {Tesla.Adapter.Hackney, :request, 5, [file: 'lib/tesla/adapter/hackney.ex', line: 71]}, {Tesla.Adapter.Hackney, :call, 2, [file: 'lib/tesla/adapter/hackney.ex', line: 33]}], status: 500}, before_send: [#Function<0.61030139/1 in Pleroma.Web.Endpoint.PipelineInstrumenter.call/2>, #Function<1.8418385/1 in Plug.Logger.call/2>, #Function<0.23023616/1 in Plug.Telemetry.call/2>], body_params: %{"@context" => ["https://www.w3.org/ns/activitystreams", %{"atomUri" => "ostatus:atomUri", "conversation" => "ostatus:conversation", "inReplyToAtomUri" => "ostatus:inReplyToAtomUri", "ostatus" => "http://ostatus.org#", "sensitive" => "as:sensitive", "toot" => "http://joinmastodon.org/ns#", "votersCount" => "toot:votersCount"}], "actor" => "https://goblin.camp/users/pizza", "cc" => ["https://goblin.camp/users/pizza/followers"], "id" => "https://goblin.camp/users/pizza/statuses/106591573541578071/activity", "object" => %{"atomUri" => "https://goblin.camp/users/pizza/statuses/106591573541578071", "attachment" => [], "attributedTo" => "https://goblin.camp/users/pizza", "cc" => ["https://goblin.camp/users/pizza/followers"], "content" => "<p>hyped to play cyberpunk 2077 someday,,, when it's on sale for $2.99 on steam</p>", "contentMap" => %{"en" => "<p>hyped to play cyberpunk 2077 someday,,, when it's on sale for $2.99 on steam</p>"}, "conversation" => "tag:goblin.camp,2021-07-16:objectId=15250605:objectType=Conversation", "id" => "https://goblin.camp/users/pizza/statuses/106591573541578071", "inReplyTo" => nil, "inReplyToAtomUri" => nil, "published" => "2021-07-16T17:58:56Z", "replies" => %{"first" => %{"items" => [], "next" => "https://goblin.camp/users/pizza/statuses/106591573541578071/replies?only_other_accounts=true&page=true", "partOf" => "https://goblin.camp/users/pizza/statuses/106591573541578071/replies", "type" => "CollectionPage"}, "id" => "https://goblin.camp/users/pizza/statuses/106591573541578071/replies", "type" => "Collection"}, "sensitive" => false, "summary" => nil, "tag" => [], "to" => ["https://www.w3.org/ns/activitystreams#Public"], "type" => "Note", "url" => "https://goblin.camp/@pizza/106591573541578071"}, "published" => "2021-07-16T17:58:56Z", "signature" => %{"created" => "2021-07-16T17:58:56Z", "creator" => "https://goblin.camp/users/pizza#main-key", "signatureValue" => "bz64U0Fcayz6foCZGQrJOG0sxnYyoR7mvag8X/FmpgsuV0PoD+5RS+c5yF9sBZsId9HfW1ffDWIAFQg5gLAjQBSVh6mpXwJu5JW1eAmjiPGg3MlWuUIya38pnDIcIWhHBNJ+X2UiAVeUaEAjZU9uKg2wvx/TL5NmMgYkqf89bcwuKtBoDqyFXtpqSMspoY3WhJF9VAcNni2xzYWzA18P4U2y7nObXKy8t4ZGF+2Ij8JKEM4p9plGYBW+1YYBcpeswM/xNHhpE810uHKz+FoKcesoatYFs07NYzv3aYMHt7FcFDN2/i+sSGNHjjraugNI+qL5BEOVR9Kstyv1Z6NNMQ==", "type" => "RsaSignature2017"}, "to" => ["https://www.w3.org/ns/activitystreams#Public"], "type" => "Create"}, cookies: %Plug.Conn.Unfetched{aspect: :cookies}, halted: false, host: "wireless.cat6.network", method: "POST", owner: #PID<0.1802.0>, params: %{"@context" => ["https://www.w3.org/ns/activitystreams", %{"atomUri" => "ostatus:atomUri", "conversation" => "ostatus:conversation", "inReplyToAtomUri" => "ostatus:inReplyToAtomUri", "ostatus" => "http://ostatus.org#", "sensitive" => "as:sensitive", "toot" => "http://joinmastodon.org/ns#", "votersCount" => "toot:votersCount"}], "actor" => "https://goblin.camp/users/pizza", "cc" => ["https://goblin.camp/users/pizza/followers"], "id" => "https://goblin.camp/users/pizza/statuses/106591573541578071/activity", "object" => %{"atomUri" => "https://goblin.camp/users/pizza/statuses/106591573541578071", "attachment" => [], "attributedTo" => "https://goblin.camp/users/pizza", "cc" => ["https://goblin.camp/users/pizza/followers"], "content" => "<p>hyped to play cyberpunk 2077 someday,,, when it's on sale for $2.99 on steam</p>", "contentMap" => %{"en" => "<p>hyped to play cyberpunk 2077 someday,,, when it's on sale for $2.99 on steam</p>"}, "conversation" => "tag:goblin.camp,2021-07-16:objectId=15250605:objectType=Conversation", "id" => "https://goblin.camp/users/pizza/statuses/106591573541578071", "inReplyTo" => nil, "inReplyToAtomUri" => nil, "published" => "2021-07-16T17:58:56Z", "replies" => %{"first" => %{"items" => [], "next" => "https://goblin.camp/users/pizza/statuses/106591573541578071/replies?only_other_accounts=true&page=true", "partOf" => "https://goblin.camp/users/pizza/statuses/106591573541578071/replies", "type" => "CollectionPage"}, "id" => "https://goblin.camp/users/pizza/statuses/106591573541578071/replies", "type" => "Collection"}, "sensitive" => false, "summary" => nil, "tag" => [], "to" => ["https://www.w3.org/ns/activitystreams#Public"], "type" => "Note", "url" => "https://goblin.camp/@pizza/106591573541578071"}, "published" => "2021-07-16T17:58:56Z", "signature" => %{"created" => "2021-07-16T17:58:56Z", "creator" => "https://goblin.camp/users/pizza#main-key", "signatureValue" => "bz64U0Fcayz6foCZGQrJOG0sxnYyoR7mvag8X/FmpgsuV0PoD+5RS+c5yF9sBZsId9HfW1ffDWIAFQg5gLAjQBSVh6mpXwJu5JW1eAmjiPGg3MlWuUIya38pnDIcIWhHBNJ+X2UiAVeUaEAjZU9uKg2wvx/TL5NmMgYkqf89bcwuKtBoDqyFXtpqSMspoY3WhJF9VAcNni2xzYWzA18P4U2y7nObXKy8t4ZGF+2Ij8JKEM4p9plGYBW+1YYBcpeswM/xNHhpE810uHKz+FoKcesoatYFs07NYzv3aYMHt7FcFDN2/i+sSGNHjjraugNI+qL5BEOVR9Kstyv1Z6NNMQ==", "type" => "RsaSignature2017"}, "to" => ["https://www.w3.org/ns/activitystreams#Public"], "type" => "Create"}, path_info: ["inbox"], path_params: %{}, port: 80, private: %{Pleroma.Web.Router => {[], %{}}, :phoenix_endpoint => Pleroma.Web.Endpoint, :phoenix_format => "activity+json", :phoenix_layout => false, :phoenix_root_layout => false, :phoenix_router => Pleroma.Web.Router, :phoenix_template => "500.activity+json", :phoenix_view => Pleroma.Web.ErrorView, :plug_session_fetch => #Function<1.77458138/1 in Plug.Session.fetch_session/1>}, query_params: %{}, query_string: "", remote_ip: {51, 91, 68, 227}, req_cookies: %Plug.Conn.Unfetched{aspect: :cookies}, req_headers: [{"accept-encoding", "gzip"}, {"connection", "upgrade"}, {"content-length", "2263"}, {"content-type", "application/activity+json"}, {"date", "Fri, 16 Jul 2021 17:59:07 GMT"}, {"digest", "SHA-256=bOt80a0qD20vyoLvSyO16vz6qCEY1slBgybu7zbBuY8="}, {"host", "wireless.cat6.network"}, {"signature", "keyId=\"https://goblin.camp/users/pizza#main-key\",algorithm=\"rsa-sha256\",headers=\"(request-target) host date digest content-type\",signature=\"pID8AX9QF3jom0HT7SmnKgxzj+7JVtWb7AkQJA7Z7+MuBdcXRB5KEHw59u+vzmGOPZQLyNhWVrL+MsYa2DLkpj418Y90VZA72MIbJW8wvU2Vi51PI5ObHOExkGPqcJER6UL7aAIofMR3DtQfea6b30p/CjQIXoxTCDUGHXD5fva6sqOKjg2gqIC/X7bwIC/P+L8P+GFY9JOthTFxw29Tb1AT8q4Fgpmsz62Z99juIEE6E+h93W9k2bc8UBtVGmrQwc73oCeVtF4uZ0vhXg+SWQhQAVG+Mho1qJKqdARQ0x442wyVihFFnY2jVAMAMyFTvDRfZAnCeF/vJVRxJvoW5w==\""}, {"user-agent", "http.rb/4.4.1 (Mastodon/3.4.1; +https://goblin.camp/)"}, {"x-forwarded-for", "51.91.68.227"}], request_path: "/inbox", resp_body: nil, resp_cookies: %{}, resp_headers: [{"content-type", "application/activity+json; charset=utf-8"}, {"cache-control", "ma (truncated)
Jul 16 17:59:09 vps212052 mix[35457]: 17:59:09.920 request_id=FpJXQHw79LJQYC4AABrR [error] Internal server error: %UndefinedFunctionError{arity: 0, function: :cipher_suites, message: nil, module: :ssl, reason: nil}
Jul 16 17:59:09 vps212052 mix[35457]: 17:59:09.922 [error] #PID<0.1806.0> running Pleroma.Web.Endpoint (connection #PID<0.1805.0>, stream id 1) terminated
Jul 16 17:59:09 vps212052 mix[35457]: Server: wireless.cat6.network:80 (http)
Jul 16 17:59:09 vps212052 mix[35457]: Request: POST /inbox
Jul 16 17:59:09 vps212052 mix[35457]: ** (exit) an exception was raised:
Jul 16 17:59:09 vps212052 mix[35457]: ** (FunctionClauseError) no function clause matching in Plug.Conn.resp/3
Jul 16 17:59:09 vps212052 mix[35457]: (plug 1.11.1) lib/plug/conn.ex:580: Plug.Conn.resp(%Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{digest: "SHA-256=gPymqmSEqu/l2QwsXUQVnaw2icYQX7n0kMrJMxiFAxk=", kind: :error, layout: false, locale: "en", reason: %UndefinedFunctionError{arity: 0, function: :cipher_suites, message: nil, module: :ssl, reason: nil}, remote_ip_found: true, stack: [{:ssl, :cipher_suites, [], []}, {:hackney_ssl, :ciphers, 0, [file: '/opt/pleroma/deps/hackney/src/hackney_ssl.erl', line: 77]}, {:hackney_ssl, :connect, 4, [file: '/opt/pleroma/deps/hackney/src/hackney_ssl.erl', line: 69]}, {:hackney_connect, :do_connect, 5, [file: '/opt/pleroma/deps/hackney/src/hackney_connect.erl', line: 277]}, {:hackney_connect, :connect, 5, [file: '/opt/pleroma/deps/hackney/src/hackney_connect.erl', line: 47]}, {:hackney, :request, 5, [file: '/opt/pleroma/deps/hackney/src/hackney.erl', line: 333]}, {Tesla.Adapter.Hackney, :request, 5, [file: 'lib/tesla/adapter/hackney.ex', line: 71]}, {Tesla.Adapter.Hackney, :call, 2, [file: 'lib/tesla/adapter/hackney.ex', line: 33]}], status: 500}, before_send: [#Function<0.61030139/1 in Pleroma.Web.Endpoint.PipelineInstrumenter.call/2>, #Function<1.8418385/1 in Plug.Logger.call/2>, #Function<0.23023616/1 in Plug.Telemetry.call/2>], body_params: %{"@context" => ["https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1"], "actor" => "https://egirls.gay/users/8lapflidis", "cc" => ["https://egirls.gay/users/8lapflidis/followers"], "id" => "https://egirls.gay/notes/8oa5kzywvo/activity", "object" => %{"_misskey_content" => "i should rewrite the server rules page i dont like it", "attachment" => [], "attributedTo" => "https://egirls.gay/users/8lapflidis", "cc" => ["https://egirls.gay/users/8lapflidis/followers"], "content" => "<p><span>i should rewrite the server rules page i dont like it</span></p>", "id" => "https://egirls.gay/notes/8oa5kzywvo", "inReplyTo" => nil, "published" => "2021-07-16T17:02:08.408Z", "sensitive" => false, "summary" => nil, "tag" => [], "to" => ["https://www.w3.org/ns/activitystreams#Public"], "type" => "Note"}, "published" => "2021-07-16T17:02:08.408Z", "to" => ["https://www.w3.org/ns/activitystreams#Public"], "type" => "Create"}, cookies: %Plug.Conn.Unfetched{aspect: :cookies}, halted: false, host: "wireless.cat6.network", method: "POST", owner: #PID<0.1806.0>, params: %{"@context" => ["https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1"], "actor" => "https://egirls.gay/users/8lapflidis", "cc" => ["https://egirls.gay/users/8lapflidis/followers"], "id" => "https://egirls.gay/notes/8oa5kzywvo/activity", "object" => %{"_misskey_content" => "i should rewrite the server rules page i dont like it", "attachment" => [], "attributedTo" => "https://egirls.gay/users/8lapflidis", "cc" => ["https://egirls.gay/users/8lapflidis/followers"], "content" => "<p><span>i should rewrite the server rules page i dont like it</span></p>", "id" => "https://egirls.gay/notes/8oa5kzywvo", "inReplyTo" => nil, "published" => "2021-07-16T17:02:08.408Z", "sensitive" => false, "summary" => nil, "tag" => [], "to" => ["https://www.w3.org/ns/activitystreams#Public"], "type" => "Note"}, "published" => "2021-07-16T17:02:08.408Z", "to" => ["https://www.w3.org/ns/activitystreams#Public"], "type" => "Create"}, path_info: ["inbox"], path_params: %{}, port: 80, private: %{Pleroma.Web.Router => {[], %{}}, :phoenix_endpoint => Pleroma.Web.Endpoint, :phoenix_format => "activity+json", :phoenix_layout => false, :phoenix_root_layout => false, :phoenix_router => Pleroma.Web.Router, :phoenix_template => "500.activity+json", :phoenix_view => Pleroma.Web.ErrorView, :plug_session_fetch => #Function<1.77458138/1 in Plug.Session.fetch_session/1>}, query_params: %{}, query_string: "", remote_ip: {194, 195, 217, 123}, req_cookies: %Plug.Conn.Unfetched{aspect: :cookies}, req_headers: [{"connection", "upgrade"}, {"content-length", "852"}, {"content-type", "application/activity+json"}, {"date", "Fri, 16 Jul 2021 17:59:09 GMT"}, {"digest", "SHA-256=gPymqmSEqu/l2QwsXUQVnaw2icYQX7n0kMrJMxiFAxk="}, {"host", "wireless.cat6.network"}, {"signature", "keyId=\"https://egirls.gay/users/8lapflidis#main-key\",algorithm=\"rsa-sha256\",headers=\"(request-target) date host digest\",signature=\"tbhd5xxxDM8KFYnnJv8Na+jSXs7cUl5YkSQsQ/h2/VUhFRB+0xjFqkCRdloiE6WGh/rcU8jEPE+9c8epzyMZ64UUJtiKTwq0BkNG/k2YzRrbAYzXI3SWIaZxiisf4pG2Mo73GIMXOMEKbQ8UQ4hUqlVG975j4jzssY1gekvl10lJ6l8l8MpchOjnCtyQ9sVBe+H8TqRembLhMQ+XPZwvduHU+oBMWFM5jBHMAGLNrOrO8J7rK4OVTHj7VWJqdCqUj77Ny8KrRKFPgEtBWIYK7bxVLRzEioQCXvSjNVCkKTXJvEG0zjaUdGMavrHZ1C3QffOjw/zZH3Gzdk5WJ/zCpKbwZrRBPDBkwPyi2w0gttzC3Y1Lx666Z8mUdLK1TCLD3JWYzZeJ7WA2pIY3ILMunDeuw+mVw+1EyruvtRB0ofVZavqgy8AcuINeYdXxf1pHAdeqg0++xzKdIYNS83bUKOTbfhk3GwGDtISerBq8nWRZeHNKMdoXQLV1EH8MobamrK3/NYn3nVGMb6V2IoyWE9dxrrnCn1w4s6MJxD+wPtXQm5KndGYStXpsrKYi6ps+Dr9gVAiZZ1XdpzgWb/8mSG+Ji1J3NztlgXrL2SmylIravVLejf8cvVZgFO7j0iTdz/3zPsFhfEcS8eN+vs39QW9F2zMUU6uWgpTnWbIJWiE=\""}, {"user-agent", "Misskey/12.80.3+plus (https://egirls.gay)"}, {"x-forwarded-for", "194.195.217.123"}], request_path: "/inbox", resp_body: nil, resp_cookies: %{}, resp_headers: [{"content-type", "application/activity+json; charset=utf-8"}, {"cache-control", "max-age=0, private, must-revalidate"}, {"access-control-allow-origin", "*"}, {"access-control-expose-headers", "Link,X-RateLimit-Reset,X-RateLimit-Limit,X-RateLimit-Remaining,X-Request-Id,Idempotency-Key"}, {"access-control-allow-credentials", "true"}, {"x-xss-protection", "1; mode=block"}, {"x-permitted-cross-domain-policies", "none"}, {"x-frame-options", "DENY"}, {"x-content-type-options", "nosniff"}, {"referrer-policy", "same-origin"}, {"x-download-options", "noopen"}, {"content-security-policy", "upgrade-insecure-requests;script-src 'self';connect-src 'self' blob: https://wireless.cat6.network wss://wireless.cat6.network;media-src 'self' https:;img-src 'self' data: blob: https:;default-src 'none';base-uri 'self';frame-ancestors 'none';style-src 'self' 'unsafe-inline';font-src 'self';manifest-src 'self';"}, {"x-request-id", "FpJXQHw79LJQYC4AABrR"}], scheme: :http, script_name: [], secret_key_base: :..., state: :unset, status: 500}, 500, %{errors: %{detail: "Internal server error"}})
Jul 16 17:59:09 vps212052 mix[35457]: (plug 1.11.1) lib/plug/conn.ex:559: Plug.Conn.send_resp/3
Jul 16 17:59:09 vps212052 mix[35457]: (phoenix 1.5.9) lib/phoenix/endpoint/render_errors.ex:78: Phoenix.Endpoint.RenderErrors.instrument_render_and_send/5
Jul 16 17:59:09 vps212052 mix[35457]: (phoenix 1.5.9) lib/phoenix/endpoint/render_errors.ex:64: Phoenix.Endpoint.RenderErrors.__catch__/5
Jul 16 17:59:09 vps212052 mix[35457]: (phoenix 1.5.9) lib/phoenix/endpoint/cowboy2_handler.ex:65: Phoenix.Endpoint.Cowboy2Handler.init/4
Jul 16 17:59:09 vps212052 mix[35457]: (cowboy 2.9.0) /opt/pleroma/deps/cowboy/src/cowboy_handler.erl:37: :cowboy_handler.execute/2
Jul 16 17:59:09 vps212052 mix[35457]: (cowboy 2.9.0) /opt/pleroma/deps/cowboy/src/cowboy_stream_h.erl:306: :cowboy_stream_h.execute/3
Jul 16 17:59:09 vps212052 mix[35457]: (cowboy 2.9.0) /opt/pleroma/deps/cowboy/src/cowboy_stream_h.erl:295: :cowboy_stream_h.request_process/3
```
lmk what other data you need, if anyhttps://git.pleroma.social/pleroma/pleroma/-/issues/2711Cannot update AdminFE settings: TypeError: e.settings[n] is undefined2021-07-14T13:52:35ZioCannot update AdminFE settings: TypeError: e.settings[n] is undefinedI tried to set my instance's character limit to 100000 and the remote character limit to 2000000 and got this in the browser console when I hit submit:
```
Uncaught (in promise) TypeError: e.settings[n] is undefined
UPDATE_STATE set...I tried to set my instance's character limit to 100000 and the remote character limit to 2000000 and got this in the browser console when I hit submit:
```
Uncaught (in promise) TypeError: e.settings[n] is undefined
UPDATE_STATE settings.js:82
v vuex.esm.js:697
commit vuex.esm.js:389
commit vuex.esm.js:388
_withCommit vuex.esm.js:495
commit vuex.esm.js:387
commit vuex.esm.js:335
n settings.js:162
f runtime.js:63
_invoke runtime.js:293
settings.js:82:27
Babel 4
UpdateState settings.js:153
v vuex.esm.js:704
dispatch vuex.esm.js:426
dispatch vuex.esm.js:332
updateSetting Inputs.vue:390
updateSetting self-hosted:1175
update Inputs.vue:386
update self-hosted:1175
change Inputs.vue:2
VueJS 4
setCurrentValue element-ui.common.js:5402
setCurrentValue self-hosted:1175
handleInputChange element-ui.common.js:5411
handleInputChange self-hosted:1175
VueJS 4
handleChange input.js:885
handleChange self-hosted:1175
VueJS 33
```
Backend Version: 2.3.0-1-gb221d77a
Frontend Version: c3fcbbd9https://git.pleroma.social/pleroma/pleroma/-/issues/2710Pleroma Fails to Compile on OpenBSD 6.92021-10-06T05:58:53ZGhost UserPleroma Fails to Compile on OpenBSD 6.9### Environment
* Installation type: From Source
* Pleroma version: Stable Branch
* Elixir version: Elixir 1.11.4 (compiled with Erlang/OTP 21)
* Operating system: OpenBSD 6.9
* PostgreSQL version: psql (PostgreSQL) 13.2
### Bug descr...### Environment
* Installation type: From Source
* Pleroma version: Stable Branch
* Elixir version: Elixir 1.11.4 (compiled with Erlang/OTP 21)
* Operating system: OpenBSD 6.9
* PostgreSQL version: psql (PostgreSQL) 13.2
### Bug description
Following installation instructions on: https://docs.pleroma.social/backend/installation/openbsd_en/
Pleroma fails to compile with the following error:
```
!!! RUNNING IN LOCALHOST DEV MODE! !!!
FEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs
Compiling 535 files (.ex)
!!! RUNNING IN LOCALHOST DEV MODE! !!!
FEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs
warning: :crypt.crypt/2 is undefined (module :crypt is not available or is yet to be defined)
lib/pleroma/web/plugs/authentication_plug.ex:42: Pleroma.Web.Plugs.AuthenticationPlug.checkpw/2
03:54:08.779 [warn] The on_load function for module crypt returned:
{:error, {:load, 'Library load-call unsuccessful (1).'}}
Compilation failed due to warnings while using the --warnings-as-errors option
```
This is the output from running `mix deps.clean crypt; mix deps.get crypt; mix deps.compile crypt`:
```
!!! RUNNING IN LOCALHOST DEV MODE! !!!
FEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs
* Cleaning crypt
!!! RUNNING IN LOCALHOST DEV MODE! !!!
FEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs
* Getting crypt (https://git.pleroma.social/pleroma/elixir-libraries/crypt.git - cf2aa3f11632e8b0634810a15b3e612c7526f6a3)
remote: Enumerating objects: 267, done.
remote: Counting objects: 0% (1/267)
[snipped]
remote: Counting objects: 100% (267/267), done.
remote: Compressing objects: 0% (1/132)
[snipped]
remote: Compressing objects: 100% (132/132), done.
remote: Total 267 (delta 112), reused 267 (delta 112), pack-reused 0
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
accept 0.3.5
base62 1.2.1
bbcode_pleroma 0.2.0
bcrypt_elixir 2.2.0
benchee 1.0.1
bunt 0.2.0
cachex 3.2.0
calendar 1.0.0
castore 0.1.7
combine 0.10.0
comeonin 5.3.1
connection 1.1.0
cors_plug 2.0.2
cowboy 2.8.0
cowboy_telemetry 0.3.0
cowlib 2.9.1
credo 1.4.1
custom_base 0.2.1
db_connection 2.3.1
decimal 2.0.0
deep_merge 1.0.0
earmark 1.4.3
earmark_parser 1.4.10
ecto 3.4.6
ecto_enum 1.4.0
ecto_sql 3.4.5
elixir_make 0.6.2
esshd 0.1.1
eternal 1.2.1
ex_aws 2.1.6
ex_aws_s3 2.0.2
ex_const 0.2.4
ex_doc 0.22.2
ex_machina 2.4.0
ex_syslogger 1.5.2
excoveralls 0.12.3
fast_html 2.0.4
fast_sanitize 0.2.2
flake_id 0.1.0
floki 0.27.0
gen_smtp 0.15.0
gettext 0.18.0
html_entities 0.5.1
http_signatures 0.1.0
httpoison 1.6.2
inet_cidr 1.0.4
jason 1.2.2
joken 2.2.0
jose 1.10.1
jumper 1.0.1
linkify 0.5.0
makeup 1.0.3
makeup_elixir 0.14.1
meck 0.8.13
mime 1.4.0
mock 0.3.5
mogrify 0.7.4
mox 1.0.0
nimble_parsec 0.6.0
nimble_pool 0.1.0
oban 2.3.4
phoenix 1.5.6
phoenix_ecto 4.2.1
phoenix_html 2.14.2
phoenix_pubsub 2.0.0
phoenix_swoosh 0.3.2
plug 1.10.4
plug_cowboy 2.4.0
plug_crypto 1.2.0
plug_static_index_html 1.0.0
poison 3.1.0
poolboy 1.5.2
postgrex 0.15.7
pot 0.11.0
prometheus 4.6.0
prometheus_ecto 1.4.3
prometheus_phoenix 1.3.0
prometheus_plugs 1.1.5
quack 0.1.1
ranch 1.7.1
recon 2.5.1
sleeplocks 1.1.1
sweet_xml 0.6.6
swoosh 1.0.6
syslog 1.1.0
telemetry 0.4.2
tesla 1.4.0
�[33m timex 3.6.2 RETIRED!�[0m
�[33m (other) handling of non-olson timezones was broken�[0m
trailing_format_plug 0.0.7
tzdata 1.0.4
ueberauth 0.6.3
unsafe 1.0.1
web_push_encryption 0.3.0
!!! RUNNING IN LOCALHOST DEV MODE! !!!
FEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs
gmake: Entering directory '/home/_pleroma/pleroma/deps/crypt/c_src'
cc -fPIC -I /usr/local/lib/erlang21/erts-10.2/include/ -c -o /home/_pleroma/pleroma/deps/crypt/c_src/crypt.o /home/_pleroma/pleroma/deps/crypt/c_src/crypt.c
/home/_pleroma/pleroma/deps/crypt/c_src/crypt.c:53:9: warning: using crypt [-W#pragma-messages]
#pragma message "using crypt"
^
1 warning generated.
cc /home/_pleroma/pleroma/deps/crypt/c_src/crypt.o -shared -o /home/_pleroma/pleroma/deps/crypt/c_src/../priv/crypt.so
gmake: Leaving directory '/home/_pleroma/pleroma/deps/crypt/c_src'
===> Analyzing applications...
===> Compiling crypt
```HaelwennHaelwennhttps://git.pleroma.social/pleroma/pleroma/-/issues/2709Sort AdminAPI user results by join date2021-07-14T14:39:15ZAlex GleasonSort AdminAPI user results by join dateI've implemented a basic AdminAPI account list:
![Screenshot_from_2021-07-13_21-08-59](/uploads/47238128a8ade0ae5166349bcbb9c552/Screenshot_from_2021-07-13_21-08-59.png)
![Screen_record_from_2021-07-13_19.13.17](/uploads/8abe107924056a...I've implemented a basic AdminAPI account list:
![Screenshot_from_2021-07-13_21-08-59](/uploads/47238128a8ade0ae5166349bcbb9c552/Screenshot_from_2021-07-13_21-08-59.png)
![Screen_record_from_2021-07-13_19.13.17](/uploads/8abe107924056ae57435ff8e7307f587/Screen_record_from_2021-07-13_19.13.17.mp4)
![Screen_record_from_2021-07-13_20.41.07](/uploads/30a79bafb1d4e94978c6b6cca01841f4/Screen_record_from_2021-07-13_20.41.07.mp4)
I like it, but there's no way to sort the results. Alphabetical doesn't really make sense on a server with lots of users. I think it should be sorted by join date, with the most recent users at the top. That way you could easily browse new users.
EDIT: And ideally the user's created_at date would be returned through AdminAPI too.https://git.pleroma.social/pleroma/pleroma/-/issues/2704Slow query: Activity.delete_all_by_object_ap_id/12021-11-15T13:21:44ZAlex GleasonSlow query: Activity.delete_all_by_object_ap_id/1![image](/uploads/a1831b1dfacfd0fea03f1c627144b663/image.png)
```elixir
id
|> Queries.by_object_id()
|> Queries.exclude_type("Delete")
|> select([u], u)
|> Repo.delete_all()
```
The `Repo.delete_all()` takes longer than 60 seconds to e...![image](/uploads/a1831b1dfacfd0fea03f1c627144b663/image.png)
```elixir
id
|> Queries.by_object_id()
|> Queries.exclude_type("Delete")
|> select([u], u)
|> Repo.delete_all()
```
The `Repo.delete_all()` takes longer than 60 seconds to execute and requires setting the database timeout to 120 seconds. It's not possible to delete a user otherwise.https://git.pleroma.social/pleroma/pleroma/-/issues/2701Latest update to linkify causes mix deps.get crash2021-07-27T13:06:55ZNEETzscheLatest update to linkify causes mix deps.get crashI run a nightly update of Pleroma's BE. When the most recent update to the linkify tried to install, it threw this series of errors on the `mix deps.:
```bash
root@iddqd:/opt/pleroma# sudo -Hu pleroma mix deps.get
08:09:59.075 [error] ...I run a nightly update of Pleroma's BE. When the most recent update to the linkify tried to install, it threw this series of errors on the `mix deps.:
```bash
root@iddqd:/opt/pleroma# sudo -Hu pleroma mix deps.get
08:09:59.075 [error] Task #PID<0.210.0> started from Hex.UpdateChecker terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
(ssl 10.4.1) :ssl.cipher_suites(:openssl)
(hex 0.20.5) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
(hex 0.20.5) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
(hex 0.20.5) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
(hex 0.20.5) lib/hex/http.ex:16: Hex.HTTP.request/5
(hex 0.20.5) lib/hex/update_checker.ex:31: anonymous fn/0 in Hex.UpdateChecker.handle_cast/2
(elixir 1.12.0) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.12.0) lib/task/supervised.ex:35: Task.Supervised.reply/5
Function: #Function<0.129625718/0 in Hex.UpdateChecker.handle_cast/2>
Args: []
08:09:59.187 [error] Task #PID<0.212.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
(ssl 10.4.1) :ssl.cipher_suites(:openssl)
(hex 0.20.5) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
(hex 0.20.5) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
(hex 0.20.5) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
(hex 0.20.5) lib/hex/http.ex:16: Hex.HTTP.request/5
(hex 0.20.5) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
(elixir 1.12.0) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.12.0) lib/task/supervised.ex:35: Task.Supervised.reply/5
Function: #Function<17.86168715/0 in Hex.Registry.Server.prefetch_online/2>
Args: []
08:09:59.187 [error] Task #PID<0.213.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
(ssl 10.4.1) :ssl.cipher_suites(:openssl)
(hex 0.20.5) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
(hex 0.20.5) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
(hex 0.20.5) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
(hex 0.20.5) lib/hex/http.ex:16: Hex.HTTP.request/5
(hex 0.20.5) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
(elixir 1.12.0) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.12.0) lib/task/supervised.ex:35: Task.Supervised.reply/5
Function: #Function<17.86168715/0 in Hex.Registry.Server.prefetch_online/2>
Args: []
08:09:59.188 [error] Task #PID<0.214.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
(ssl 10.4.1) :ssl.cipher_suites(:openssl)
(hex 0.20.5) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
(hex 0.20.5) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
(hex 0.20.5) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
(hex 0.20.5) lib/hex/http.ex:16: Hex.HTTP.request/5
(hex 0.20.5) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
(elixir 1.12.0) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.12.0) lib/task/supervised.ex:35: Task.Supervised.reply/5
Function: #Function<17.86168715/0 in Hex.Registry.Server.prefetch_online/2>
Args: []
08:09:59.189 [error] Task #PID<0.215.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
(ssl 10.4.1) :ssl.cipher_suites(:openssl)
(hex 0.20.5) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
(hex 0.20.5) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
(hex 0.20.5) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
(hex 0.20.5) lib/hex/http.ex:16: Hex.HTTP.request/5
(hex 0.20.5) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
(elixir 1.12.0) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.12.0) lib/task/supervised.ex:35: Task.Supervised.reply/5
Function: #Function<17.86168715/0 in Hex.Registry.Server.prefetch_online/2>
Args: []
08:09:59.190 [error] Task #PID<0.216.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
(ssl 10.4.1) :ssl.cipher_suites(:openssl)
(hex 0.20.5) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
(hex 0.20.5) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
(hex 0.20.5) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
(hex 0.20.5) lib/hex/http.ex:16: Hex.HTTP.request/5
(hex 0.20.5) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
(elixir 1.12.0) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.12.0) lib/task/supervised.ex:35: Task.Supervised.reply/5
Function: #Function<17.86168715/0 in Hex.Registry.Server.prefetch_online/2>
Args: []
08:09:59.192 [error] Task #PID<0.217.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
(ssl 10.4.1) :ssl.cipher_suites(:openssl)
(hex 0.20.5) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
(hex 0.20.5) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
(hex 0.20.5) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
(hex 0.20.5) lib/hex/http.ex:16: Hex.HTTP.request/5
(hex 0.20.5) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
(elixir 1.12.0) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.12.0) lib/task/supervised.ex:35: Task.Supervised.reply/5
Function: #Function<17.86168715/0 in Hex.Registry.Server.prefetch_online/2>
Args: []
08:09:59.194 [error] Task #PID<0.218.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
(ssl 10.4.1) :ssl.cipher_suites(:openssl)
(hex 0.20.5) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
(hex 0.20.5) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
(hex 0.20.5) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
(hex 0.20.5) lib/hex/http.ex:16: Hex.HTTP.request/5
(hex 0.20.5) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
(elixir 1.12.0) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.12.0) lib/task/supervised.ex:35: Task.Supervised.reply/5
Function: #Function<17.86168715/0 in Hex.Registry.Server.prefetch_online/2>
Args: []
08:09:59.196 [error] Task #PID<0.219.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
(ssl 10.4.1) :ssl.cipher_suites(:openssl)
(hex 0.20.5) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
(hex 0.20.5) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
(hex 0.20.5) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
(hex 0.20.5) lib/hex/http.ex:16: Hex.HTTP.request/5
(hex 0.20.5) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
(elixir 1.12.0) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.12.0) lib/task/supervised.ex:35: Task.Supervised.reply/5
Function: #Function<17.86168715/0 in Hex.Registry.Server.prefetch_online/2>
Args: []
08:09:59.214 [error] GenServer Hex.Registry.Server terminating
** (stop) exited in: GenServer.call(:hex_fetcher, {:run, {:registry, "hexpm", "bbcode_pleroma"}, [await: false], #Function<17.86168715/0 in Hex.Registry.Server.prefetch_online/2>}, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir 1.12.0) lib/gen_server.ex:1024: GenServer.call/3
(elixir 1.12.0) lib/enum.ex:930: Enum."-each/2-lists^foreach/1-0-"/2
(hex 0.20.5) lib/hex/registry/server.ex:302: Hex.Registry.Server.prefetch_online/2
(stdlib 3.15.1) gen_server.erl:721: :gen_server.try_handle_call/4
(stdlib 3.15.1) gen_server.erl:750: :gen_server.handle_msg/6
(stdlib 3.15.1) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Last message (from #PID<0.94.0>): {:prefetch, [{"hexpm", "gen_state_machine"}, {"hexpm", "gen_stage"}, {"hexpm", "http_signatures"}, {"hexpm", "phoenix_pubsub"}, {"hexpm", "unicode_util_compat"}, {"hexpm", "nimble_parsec"}, {"hexpm", "pot"}, {"hexpm", "plug_static_index_html"}, {"hexpm", "ecto_sql"}, {"hexpm", "castore"}, {"hexpm", "prometheus_phoenix"}, {"hexpm", "mochiweb"}, {"hexpm", "html_sanitize_ex"}, {"hexpm", "ueberauth"}, {"hexpm", "poison"}, {"hexpm", "fast_html"}, {"hexpm", "open_api_spex"}, {"hexpm", "p1_utils"}, {"hexpm", "cors_plug"}, {"hexpm", "combine"}, {"hexpm", "floki"}, {"hexpm", "nimble_pool"}, {"hexpm", "ex_aws_s3"}, {"hexpm", "makeup_erlang"}, {"hexpm", "meck"}, {"hexpm", "base62"}, {"hexpm", "makeup"}, {"hexpm", "libring"}, {"hexpm", "gettext"}, {"hexpm", "certifi"}, {"hexpm", "jumper"}, {"hexpm", "idna"}, {"hexpm", "hackney"}, {"hexpm", "phoenix"}, {"hexpm", "parse_trans"}, {"hexpm", "swoosh"}, {"hexpm", "ecto"}, {"hexpm", "cowboy_telemetry"}, {"hexpm", "linkify"}, {"hexpm", "timex"}, {"hexpm", "phoenix_swoosh"}, {"hexpm", "earmark"}, {"hexpm", "db_connection"}, {"hexpm", "earmark_parser"}, {"hexpm", "httpoison"}, {"hexpm", "comeonin"}, {"hexpm", ...}, {...}, ...]}
State: %{closing_fun: nil, ets: #Reference<0.4019950458.3842375681.246484>, fetched: #MapSet<[]>, path: "/var/lib/pleroma/.hex/cache.ets", pending: #MapSet<[]>, waiting: %{}}
Client #PID<0.94.0> is alive
(stdlib 3.15.1) gen.erl:233: :gen.do_call/4
(elixir 1.12.0) lib/gen_server.ex:1021: GenServer.call/3
(hex 0.20.5) lib/hex/registry/server.ex:30: Hex.Registry.Server.prefetch/1
(hex 0.20.5) lib/hex/remote_converger.ex:36: Hex.RemoteConverger.converge/2
(mix 1.12.0) lib/mix/dep/converger.ex:95: Mix.Dep.Converger.all/4
(mix 1.12.0) lib/mix/dep/converger.ex:51: Mix.Dep.Converger.converge/4
(mix 1.12.0) lib/mix/dep/fetcher.ex:16: Mix.Dep.Fetcher.all/3
(mix 1.12.0) lib/mix/tasks/deps.get.ex:31: Mix.Tasks.Deps.Get.run/1
** (exit) exited in: GenServer.call(Hex.Registry.Server, {:prefetch, [{"hexpm", "gen_state_machine"}, {"hexpm", "gen_stage"}, {"hexpm", "http_signatures"}, {"hexpm", "phoenix_pubsub"}, {"hexpm", "unicode_util_compat"}, {"hexpm", "nimble_parsec"}, {"hexpm", "pot"}, {"hexpm", "plug_static_index_html"}, {"hexpm", "ecto_sql"}, {"hexpm", "castore"}, {"hexpm", "prometheus_phoenix"}, {"hexpm", "mochiweb"}, {"hexpm", "html_sanitize_ex"}, {"hexpm", "ueberauth"}, {"hexpm", "poison"}, {"hexpm", "fast_html"}, {"hexpm", "open_api_spex"}, {"hexpm", "p1_utils"}, {"hexpm", "cors_plug"}, {"hexpm", "combine"}, {"hexpm", "floki"}, {"hexpm", "nimble_pool"}, {"hexpm", "ex_aws_s3"}, {"hexpm", "makeup_erlang"}, {"hexpm", "meck"}, {"hexpm", "base62"}, {"hexpm", "makeup"}, {"hexpm", "libring"}, {"hexpm", "gettext"}, {"hexpm", "certifi"}, {"hexpm", "jumper"}, {"hexpm", "idna"}, {"hexpm", "hackney"}, {"hexpm", "phoenix"}, {"hexpm", "parse_trans"}, {"hexpm", "swoosh"}, {"hexpm", "ecto"}, {"hexpm", "cowboy_telemetry"}, {"hexpm", "linkify"}, {"hexpm", "timex"}, {"hexpm", "phoenix_swoosh"}, {"hexpm", "earmark"}, {"hexpm", "db_connection"}, {"hexpm", "earmark_parser"}, {"hexpm", "httpoison"}, {"hexpm", "comeonin"}, {"hexpm", ...}, {...}, ...]}, 60000)
** (EXIT) exited in: GenServer.call(:hex_fetcher, {:run, {:registry, "hexpm", "bbcode_pleroma"}, [await: false], #Function<17.86168715/0 in Hex.Registry.Server.prefetch_online/2>}, 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir 1.12.0) lib/gen_server.ex:1024: GenServer.call/3
(hex 0.20.5) lib/hex/registry/server.ex:30: Hex.Registry.Server.prefetch/1
(hex 0.20.5) lib/hex/remote_converger.ex:36: Hex.RemoteConverger.converge/2
(mix 1.12.0) lib/mix/dep/converger.ex:95: Mix.Dep.Converger.all/4
(mix 1.12.0) lib/mix/dep/converger.ex:51: Mix.Dep.Converger.converge/4
(mix 1.12.0) lib/mix/dep/fetcher.ex:16: Mix.Dep.Fetcher.all/3
(mix 1.12.0) lib/mix/tasks/deps.get.ex:31: Mix.Tasks.Deps.Get.run/1
(mix 1.12.0) lib/mix/task.ex:394: anonymous fn/3 in Mix.Task.run_task/3
```
Here is the update script I use:
```sh
cd /opt/pleroma
git stash
git checkout develop
git pull
git stash pop
sudo -Hu pleroma mix deps.get
systemctl stop pleroma.service
sudo -Hu pleroma MIX_ENV=prod mix ecto.migrate
systemctl start pleroma.service
```
It fails at the `mix deps.get` step for the error above. This script was written [based on the updating your instance instructions](https://docs-develop.pleroma.social/backend/administration/updating/) and has worked faithfully for the better part of a year, so I'm convinced this is an issue specifically with this commit. I reverted to yesterday's version without issue.https://git.pleroma.social/pleroma/pleroma/-/issues/2699[2.3.0] Timeout on local timeline2023-01-05T11:51:05Zpiggo[2.3.0] Timeout on local timelineSimilar to #1779 but different version. I switched to stable 2.3.0 (git), from stable 2.1.0 I think, and now local timeline always times out.
What I also did was pg_dump + backup config, delete the DB, and restore, it took 12 hours but ...Similar to #1779 but different version. I switched to stable 2.3.0 (git), from stable 2.1.0 I think, and now local timeline always times out.
What I also did was pg_dump + backup config, delete the DB, and restore, it took 12 hours but finished with success, saving about 3 GB of disk. I didn't have enough disk for VACUUM. The slowest part was index rebuilding, so I believe the index should be OK...
Now I also upgraded to a server with more disk and ram for a test, but it didn't help.
Specs: 3 CPU, 8GB RAM, 80GB disk (postgres uses about 20)
Pleroma and postgres are running in docker.
```
pleroma |
pleroma |
pleroma | 16:14:19.040 request_id=Fo7xIgmeHBoIkCIAAA9j [error] Internal server error: %DBConnection.ConnectionError{message: "tcp recv: closed (the connection was closed by the pool, possibly due to a timeout or because the pool has been terminated)", reason: :error, severity: :error}
pleroma |
pleroma | 16:14:19.040 request_id=Fo7xIgmeHBoIkCIAAA9j [info] Sent 500 in 15021ms
pleroma |
pleroma | 16:14:19.044 [error] #PID<0.2270.0> running Pleroma.Web.Endpoint (connection #PID<0.1058.0>, stream id 38) terminated
pleroma | Server: piggo.space:80 (http)
pleroma | Request: GET /api/v1/timelines/public?local=true&only_media=false&with_muted=true&limit=20
pleroma | ** (exit) an exception was raised:
pleroma | ** (DBConnection.ConnectionError) tcp recv: closed (the connection was closed by the pool, possibly due to a timeout or because the pool has been terminated)
pleroma | (ecto_sql) lib/ecto/adapters/sql.ex:593: Ecto.Adapters.SQL.raise_sql_call_error/1
pleroma | (ecto_sql) lib/ecto/adapters/sql.ex:526: Ecto.Adapters.SQL.execute/5
pleroma | (ecto) lib/ecto/repo/queryable.ex:192: Ecto.Repo.Queryable.execute/4
pleroma | (ecto) lib/ecto/repo/queryable.ex:17: Ecto.Repo.Queryable.all/3
pleroma | (pleroma) lib/pleroma/pagination.ex:40: Pleroma.Pagination.fetch_paginated/4
pleroma | (pleroma) lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex:118: Pleroma.Web.MastodonAPI.TimelineController.public/2
pleroma | (pleroma) lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex:5: Pleroma.Web.MastodonAPI.TimelineController.action/2
pleroma | (pleroma) lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex:5: Pleroma.Web.MastodonAPI.TimelineController.phoenix_controller_pipeline/2
pleroma-db | 2021-07-05 16:14:19.055 UTC [40] ERROR: canceling statement due to user request
pleroma-db | 2021-07-05 16:14:19.055 UTC [40] STATEMENT: SELECT a0."id", a0."data", a0."local", a0."actor", a0."recipients", a0."inserted_at", a0."updated_at", o1."id", o1."data", o1."inserted_at", o1."updated_at", NOT (t2."id" IS NULL) FROM "activities" AS a0 INNER JOIN "objects" AS o1 ON (o1."data"->>'id') = COALESCE(a0."data"->'object'->>'id', a0."data"->>'object') LEFT OUTER JOIN "thread_mutes" AS t2 ON (t2."user_id" = $1) AND (t2."context" = a0."data"->>'context') WHERE ($2 && a0."recipients") AND (a0."local" = TRUE) AND (a0."data"->>'type' = ANY($3)) AND (not (a0."actor" = ANY($4))) AND (((not (a0."recipients" && $5)) or a0."actor" = $6)) AND (recipients_contain_blocked_domains(a0."recipients", $7) = false) AND (not (a0."data"->>'type' = 'Announce' and a0."data"->'to' ?| $8)) AND ((not (split_part(a0."actor", '/', 3) = ANY($9))) or a0."actor" = ANY($10)) AND ((not (split_part(o1."data"->>'actor', '/', 3) = ANY($11))) or (o1."data"->>'actor') = ANY($12)) AND (not ( a0."data"->>'type' = 'Announce' and a0."actor" = ANY($13))) AND (NOT (a0."actor" = ANY($14))) AND (not(o1."data"->>'type' = 'Answer')) AND (not(o1."data"->>'type' = 'ChatMessage')) AND (NOT (a0."actor" = ANY($15))) AND (not (coalesce(a0."data"->'cc', '{}'::jsonb) ?| $16)) ORDER BY a0."id" desc nulls last LIMIT $17
pleroma-db | 2021-07-05 16:14:19.058 UTC [40] LOG: could not send data to client: Broken pipe
pleroma-db | 2021-07-05 16:14:19.058 UTC [40] FATAL: connection to client lost
pleroma |
```
Here's the postgres config: [postgresql.conf](/uploads/2c12f9febe97711d350a06b36272b518/postgresql.conf)https://git.pleroma.social/pleroma/pleroma/-/issues/2694Unable to post an URL with a closing bracket at the end. POST api/v1/statuses...2021-07-07T21:34:53ZabsturztaubeUnable to post an URL with a closing bracket at the end. POST api/v1/statuses returns 500### Environment
* Installation type (OTP or From Source): Source
* Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): 2.3.50-496-a8adc300-fedi-absturztau-be
* Elixir version (`elixir -v` for from source in...### Environment
* Installation type (OTP or From Source): Source
* Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): 2.3.50-496-a8adc300-fedi-absturztau-be
* Elixir version (`elixir -v` for from source installations, N/A for OTP): Elixir 1.10.4 (compiled with Erlang/OTP 22)
* Operating system: debian 10
* PostgreSQL version (`psql -V`): 11.12
### Bug description
trying to post `http://example.com)` fails with an internal server error.
```
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: 09:45:53.564 [error] #PID<0.22084.906> running Pleroma.Web.Endpoint (connection #PID<0.25968.906>, stream id 1) terminated
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: Server: fedi.absturztau.be:80 (http)
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: Request: POST /api/v1/statuses
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: ** (exit) an exception was raised:
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: ** (FunctionClauseError) no function clause matching in String.contains?/2
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (elixir 1.10.4) lib/string.ex:2216: String.contains?(nil, "/")
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (linkify 0.5.0) lib/linkify/parser.ex:245: Linkify.Parser.parens_found_path_separator/1
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (linkify 0.5.0) lib/linkify/parser.ex:224: Linkify.Parser.maybe_strip_parens/1
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (linkify 0.5.0) lib/linkify/parser.ex:440: Linkify.Parser.check_and_link_reducer/4
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (elixir 1.10.4) lib/enum.ex:3686: Enumerable.List.reduce/3
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (elixir 1.10.4) lib/enum.ex:2161: Enum.reduce_while/3
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (linkify 0.5.0) lib/linkify/parser.ex:165: Linkify.Parser.do_parse/3
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (linkify 0.5.0) lib/linkify/parser.ex:72: Linkify.Parser.parse/2
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (pleroma 2.3.50-496-ge3c6b447-fedi-absturztau-be) lib/pleroma/formatter.ex:99: Pleroma.Formatter.linkify/2
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (pleroma 2.3.50-496-ge3c6b447-fedi-absturztau-be) lib/pleroma/web/common_api/utils.ex:265: Pleroma.Web.CommonAPI.Utils.format_input/3
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (pleroma 2.3.50-496-ge3c6b447-fedi-absturztau-be) lib/pleroma/web/common_api/utils.ex:218: Pleroma.Web.CommonAPI.Utils.make_content_html/1
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (pleroma 2.3.50-496-ge3c6b447-fedi-absturztau-be) lib/pleroma/web/common_api/activity_draft.ex:162: Pleroma.Web.CommonAPI.ActivityDraft.content/1
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (pleroma 2.3.50-496-ge3c6b447-fedi-absturztau-be) lib/pleroma/web/common_api/activity_draft.ex:56: Pleroma.Web.CommonAPI.ActivityDraft.create/2
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (pleroma 2.3.50-496-ge3c6b447-fedi-absturztau-be) lib/pleroma/web/common_api.ex:399: Pleroma.Web.CommonAPI.post/2
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (pleroma 2.3.50-496-ge3c6b447-fedi-absturztau-be) lib/pleroma/web/mastodon_api/controllers/status_controller.ex:169: Pleroma.Web.MastodonAPI.StatusController.create/2
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (pleroma 2.3.50-496-ge3c6b447-fedi-absturztau-be) lib/pleroma/web/mastodon_api/controllers/status_controller.ex:5: Pleroma.Web.MastodonAPI.StatusController.action/2
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (pleroma 2.3.50-496-ge3c6b447-fedi-absturztau-be) lib/pleroma/web/mastodon_api/controllers/status_controller.ex:5: Pleroma.Web.MastodonAPI.StatusController.phoenix_controller_pipeline/2
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (phoenix 1.5.9) lib/phoenix/router.ex:352: Phoenix.Router.__call__/2
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (pleroma 2.3.50-496-ge3c6b447-fedi-absturztau-be) lib/pleroma/web/endpoint.ex:5: Pleroma.Web.Endpoint.plug_builder_call/2
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (pleroma 2.3.50-496-ge3c6b447-fedi-absturztau-be) lib/pleroma/web/endpoint.ex:5: Pleroma.Web.Endpoint.call/2
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (phoenix 1.5.9) lib/phoenix/endpoint/cowboy2_handler.ex:65: Phoenix.Endpoint.Cowboy2Handler.init/4
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (cowboy 2.9.0) /opt/pleroma/deps/cowboy/src/cowboy_handler.erl:37: :cowboy_handler.execute/2
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (cowboy 2.9.0) /opt/pleroma/deps/cowboy/src/cowboy_stream_h.erl:306: :cowboy_stream_h.execute/3
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (cowboy 2.9.0) /opt/pleroma/deps/cowboy/src/cowboy_stream_h.erl:295: :cowboy_stream_h.request_process/3
Jul 02 09:45:53 taube-alpha-centauri mix[19909]: (stdlib 3.14.1) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
```
![Screenshot_from_2021-07-02_09-47-07](/uploads/af9453f24b8dbe395cb7559e422913f8/Screenshot_from_2021-07-02_09-47-07.png)https://git.pleroma.social/pleroma/pleroma/-/issues/2693Add Link header to list timelines2021-07-22T18:41:13Zmarcin mikołajczakAdd Link header to list timelinesAs both soapbox-fe and mastofe use Link response header to determine whether there are more list items, having it implemented for `/api/v1/timelines/list/:id` is required for actual compatibility with Mastodon API. Right now it only lets...As both soapbox-fe and mastofe use Link response header to determine whether there are more list items, having it implemented for `/api/v1/timelines/list/:id` is required for actual compatibility with Mastodon API. Right now it only lets users of Mastodon API implementations see 20 latest posts from a list.
Related to mastofe#89 and https://gitlab.com/soapbox-pub/soapbox-fe/-/issues/207https://git.pleroma.social/pleroma/pleroma/-/issues/2691streaming api not send remote notes2021-08-09T19:10:06ZkPheroxkphrx@kpherox.devstreaming api not send remote notes<!--
### Precheck
* For support use https://git.pleroma.social/pleroma/pleroma-support or [community channels](https://git.pleroma.social/pleroma/pleroma#community-channels).
* Please do a quick search to ensure no similar bug has been ...<!--
### Precheck
* For support use https://git.pleroma.social/pleroma/pleroma-support or [community channels](https://git.pleroma.social/pleroma/pleroma#community-channels).
* Please do a quick search to ensure no similar bug has been reported before. If the bug has not been addressed after 2 weeks, it's fine to bump it.
* Try to ensure that the bug is actually related to the Pleroma backend. For example, if a bug happens in Pleroma-FE but not in Mastodon-FE or mobile clients, it's likely that the bug should be filed in [Pleroma-FE](https://git.pleroma.social/pleroma/pleroma-fe/issues/new) repository.
-->
### Environment
* Installation type (OTP or From Source): OTP (Docker git.pleroma.social:5050/pleroma/pleroma)
* Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): Docker image tag: c4b42583 and f97f305d
* Elixir version (`elixir -v` for from source installations, N/A for OTP):
* Operating system:
* PostgreSQL version (`psql -V`): psql (PostgreSQL) 13.3
### Bug description
After c4b42583, Streaming API sent only the Announce activity, not the Note object, Question activity, etc. If I revert to a0ba4490, it was sent the Note object, but wasn't the Question activity.
My own post was receive from Streaming API, so I think it's only happens with AP incoming.https://git.pleroma.social/pleroma/pleroma/-/issues/2690Cannot run `iex -S mix` on a production server2022-12-31T06:49:08ZAlex GleasonCannot run `iex -S mix` on a production serverThis makes it impossible to debug a production server with iex:
```
pleroma@gleasonator:/opt/pleroma$ MIX_ENV=prod iex -S mix
Erlang/OTP 23 [erts-11.2.2.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]
02:01:56.726 ...This makes it impossible to debug a production server with iex:
```
pleroma@gleasonator:/opt/pleroma$ MIX_ENV=prod iex -S mix
Erlang/OTP 23 [erts-11.2.2.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]
02:01:56.726 [warn] !!!DEPRECATION WARNING!!!
Your config is using old namespaces for MRF configuration. They should work for now, but you are advised to change to new namespaces to prevent possible issues later:
* `config :pleroma, :instance, rewrite_policy` is now `config :pleroma, :mrf, policies`
02:01:57.020 [info] Application web_push_encryption exited: :stopped
02:01:57.023 [info] Application ex_aws exited: :stopped
02:01:57.024 [info] Application joken exited: :stopped
02:01:57.171 [error] Failed to start Ranch listener Pleroma.Web.Endpoint.HTTP in :ranch_tcp:listen([cacerts: :..., key: :..., cert: :..., port: 4000, ip: {127, 0, 0, 1}]) for reason :eaddrinuse (address already in use)
02:01:57.192 [info] Postgrex.Protocol (#PID<0.834.0>) disconnected: ** (DBConnection.ConnectionError) client #PID<0.955.0> exited
02:01:57.204 [info] Application pleroma exited: exited in: Pleroma.Application.start(:normal, [])
** (EXIT) an exception was raised:
** (RuntimeError) could not lookup Ecto repo Pleroma.Repo because it was not started or it does not exist
(ecto 3.4.6) lib/ecto/repo/registry.ex:19: Ecto.Repo.Registry.lookup/1
(ecto 3.4.6) lib/ecto/adapter.ex:127: Ecto.Adapter.lookup_meta/1
(ecto_sql 3.4.5) lib/ecto/adapters/sql.ex:333: Ecto.Adapters.SQL.query/4
(ecto_sql 3.4.5) lib/ecto/adapters/sql.ex:291: Ecto.Adapters.SQL.query!/4
(pleroma 2.3.0-60-g53b85835-nsfw-api-mrf) lib/pleroma/application.ex:122: Pleroma.Application.set_postgres_server_version/0
(pleroma 2.3.0-60-g53b85835-nsfw-api-mrf) lib/pleroma/application.ex:115: Pleroma.Application.start/2
(kernel 7.3.1.1) application_master.erl:277: :application_master.start_it_old/4
** (Mix) Could not start application pleroma: exited in: Pleroma.Application.start(:normal, [])
** (EXIT) an exception was raised:
** (RuntimeError) could not lookup Ecto repo Pleroma.Repo because it was not started or it does not exist
(ecto 3.4.6) lib/ecto/repo/registry.ex:19: Ecto.Repo.Registry.lookup/1
(ecto 3.4.6) lib/ecto/adapter.ex:127: Ecto.Adapter.lookup_meta/1
(ecto_sql 3.4.5) lib/ecto/adapters/sql.ex:333: Ecto.Adapters.SQL.query/4
(ecto_sql 3.4.5) lib/ecto/adapters/sql.ex:291: Ecto.Adapters.SQL.query!/4
(pleroma 2.3.0-60-g53b85835-nsfw-api-mrf) lib/pleroma/application.ex:122: Pleroma.Application.set_postgres_server_version/0
(pleroma 2.3.0-60-g53b85835-nsfw-api-mrf) lib/pleroma/application.ex:115: Pleroma.Application.start/2
(kernel 7.3.1.1) application_master.erl:277: :application_master.start_it_old/4
Interactive Elixir (1.11.4) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>
pleroma@gleasonator:/opt/pleroma$
```https://git.pleroma.social/pleroma/pleroma/-/issues/2689Search results constantly return 5042022-07-06T21:22:39ZSean KingSearch results constantly return 504On traboone.com, searches are constantly timing out.
![image](/uploads/9a071569407167143565d4a42f88084f/image.png)On traboone.com, searches are constantly timing out.
![image](/uploads/9a071569407167143565d4a42f88084f/image.png)https://git.pleroma.social/pleroma/pleroma/-/issues/2688Subscribing to a user produces notifications for their replies2022-12-31T06:47:49ZabsturztaubeSubscribing to a user produces notifications for their replies### Environment
* Installation type (OTP or From Source): Source
* Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): 2.3.50-496-a8adc300-fedi-absturztau-be
* Elixir version (`elixir -v` for from source ins...### Environment
* Installation type (OTP or From Source): Source
* Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): 2.3.50-496-a8adc300-fedi-absturztau-be
* Elixir version (`elixir -v` for from source installations, N/A for OTP): Elixir 1.10.4 (compiled with Erlang/OTP 22)
* Operating system: debian 10
* PostgreSQL version (`psql -V`): 11.12
### Bug description
Subscribing to a user results into me getting notifications of the replies of that user.
![Screenshot_from_2021-06-28_23-31-28](/uploads/dedd2c128808c92df5fbce850cea232d/Screenshot_from_2021-06-28_23-31-28.png)
(FYI: my branch only changes the script-src in lib/pleroma/web/plugs/http_security_plug.ex for the mod tracker)https://git.pleroma.social/pleroma/pleroma/-/issues/2686Can't remove status from the timeline2021-06-25T04:52:22ZDmytro PoltavchenkoCan't remove status from the timeline<!--
### Precheck
* For support use https://git.pleroma.social/pleroma/pleroma-support or [community channels](https://git.pleroma.social/pleroma/pleroma#community-channels).
* Please do a quick search to ensure no similar bug has been ...<!--
### Precheck
* For support use https://git.pleroma.social/pleroma/pleroma-support or [community channels](https://git.pleroma.social/pleroma/pleroma#community-channels).
* Please do a quick search to ensure no similar bug has been reported before. If the bug has not been addressed after 2 weeks, it's fine to bump it.
* Try to ensure that the bug is actually related to the Pleroma backend. For example, if a bug happens in Pleroma-FE but not in Mastodon-FE or mobile clients, it's likely that the bug should be filed in [Pleroma-FE](https://git.pleroma.social/pleroma/pleroma-fe/issues/new) repository.
-->
### Environment
* Installation type (OTP or From Source): Source
* Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): f97f305d
* Elixir version (`elixir -v` for from source installations, N/A for OTP): 1.9.4
* Operating system: docker image based on elixir:1.9-alpine
* PostgreSQL version (`psql -V`): 9.6.17
### Bug description
Recently I have tried to remove a status from the timeline, but after refreshing the page in the browser it appears again. I have checked developers console in Firefox and I found that the server return status 500 and in docker logs I have found the next message:
`21:37:57.327 request_id=FouibGwB1NA-MOkAKzFx [error] Internal server error: %FunctionClauseError{args: nil, arity: 1, clauses: nil, function: :parse, kind: nil, module: URI}`
And here is example HTTP query:
`curl 'https://social.net.ua/api/v1/statuses/A8cJn8tZsAq6eUbSUK' -X DELETE -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0' -H 'Accept: */*' -H 'Accept-Language: uk,en-US;q=0.7,en;q=0.3' --compressed -H 'Referer: https://social.net.ua/main/all' -H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' -H 'Origin: https://social.net.ua' -H 'DNT: 1' -H 'Connection: keep-alive' -H 'Cookie: __Host-pleroma_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; Admin-Token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; Auth-Host=social.net.ua' -H 'TE: Trailers'`
Then I have tried to remove status from other accounts and in most cases I have got response with http status 500, only in few cases there were http status 200.