18:06:12 web.1 | Started GET "/api/v2/search?q=%40capitoledulibre%40framapiaf.org&resolve=true&limit=11" for 10.0.2.2 at 2024-03-22 18:06:12 +0000
18:06:12 web.1 | Started GET "/api/v1/trends/tags" for 10.0.2.2 at 2024-03-22 18:06:12 +0000
18:06:12 web.1 | Cache read: blocked_ips ({:compress=>true, :compress_threshold=>1024})
18:06:12 web.1 | Cache read: blocked_ips ({:compress=>true, :compress_threshold=>1024})
18:06:12 web.1 | Cache generate: blocked_ips ({:compress=>true, :compress_threshold=>1024})
18:06:12 web.1 | Cache generate: blocked_ips ({:compress=>true, :compress_threshold=>1024})
18:06:12 web.1 | IpBlock Pluck (0.1ms) SELECT "ip_blocks"."ip" FROM "ip_blocks" WHERE "ip_blocks"."severity" = $1 [["severity", 9999]]
18:06:12 web.1 | ↳ app/models/ip_block.rb:39:in `block in blocked?'
18:06:12 web.1 | Cache write: blocked_ips ({:compress=>true, :compress_threshold=>1024})
18:06:12 web.1 | Doorkeeper::AccessToken Load (0.1ms) SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = $1 LIMIT $2 [["token", "[FILTERED]"], ["LIMIT", 1]]
18:06:12 web.1 | IpBlock Pluck (0.1ms) SELECT "ip_blocks"."ip" FROM "ip_blocks" WHERE "ip_blocks"."severity" = $1 [["severity", 9999]]
18:06:12 web.1 | ↳ config/initializers/rack_attack.rb:10:in `authenticated_token'
18:06:12 web.1 | ↳ app/models/ip_block.rb:39:in `block in blocked?'
18:06:12 web.1 | Cache write: blocked_ips ({:compress=>true, :compress_threshold=>1024})
18:06:12 web.1 | Cache write: rack::attack:5703769:throttle_authenticated_api:1 ({:compress=>true, :compress_threshold=>1024, :expires_in=>229})
18:06:12 web.1 | Cache write: rack::attack:5703769:throttle_per_token_api:5 ({:compress=>true, :compress_threshold=>1024, :expires_in=>229})
18:06:12 web.1 | Doorkeeper::AccessToken Load (0.1ms) SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = $1 LIMIT $2 [["token", "[FILTERED]"], ["LIMIT", 1]]
18:06:12 web.1 | ↳ config/initializers/rack_attack.rb:10:in `authenticated_token'
18:06:12 web.1 | Processing by Api::V1::Trends::TagsController#index as HTML
18:06:12 web.1 | Cache write: rack::attack:5703769:throttle_authenticated_api:1 ({:compress=>true, :compress_threshold=>1024, :expires_in=>229})
18:06:12 web.1 | Cache write: rack::attack:5703769:throttle_per_token_api:5 ({:compress=>true, :compress_threshold=>1024, :expires_in=>229})
18:06:12 web.1 | CACHE Doorkeeper::AccessToken Load (0.0ms) SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = $1 LIMIT $2 [["token", "[FILTERED]"], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/controllers/api/base_controller.rb:58:in `current_resource_owner'
18:06:12 web.1 | Processing by Api::V2::SearchController#index as HTML
18:06:12 web.1 | Parameters: {"q"=>"@capitoledulibre@framapiaf.org", "resolve"=>"true", "limit"=>"11"}
18:06:12 web.1 | User Load (0.3ms) SELECT "users"."id", "users"."email", "users"."created_at", "users"."updated_at", "users"."encrypted_password", "users"."reset_password_token", "users"."reset_password_sent_at", "users"."sign_in_count", "users"."current_sign_in_at", "users"."last_sign_in_at", "users"."confirmation_token", "users"."confirmed_at", "users"."confirmation_sent_at", "users"."unconfirmed_email", "users"."locale", "users"."encrypted_otp_secret", "users"."encrypted_otp_secret_iv", "users"."encrypted_otp_secret_salt", "users"."consumed_timestep", "users"."otp_required_for_login", "users"."last_emailed_at", "users"."otp_backup_codes", "users"."account_id", "users"."disabled", "users"."invite_id", "users"."chosen_languages", "users"."created_by_application_id", "users"."approved", "users"."sign_in_token", "users"."sign_in_token_sent_at", "users"."webauthn_id", "users"."sign_up_ip", "users"."role_id", "users"."settings", "users"."time_zone" FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
18:06:12 web.1 | CACHE Doorkeeper::AccessToken Load (0.1ms) SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = $1 LIMIT $2 [["token", "[FILTERED]"], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/controllers/api/base_controller.rb:58:in `current_resource_owner'
18:06:12 web.1 | ↳ app/controllers/api/base_controller.rb:58:in `current_resource_owner'
18:06:12 web.1 | User Load (0.2ms) SELECT "users"."id", "users"."email", "users"."created_at", "users"."updated_at", "users"."encrypted_password", "users"."reset_password_token", "users"."reset_password_sent_at", "users"."sign_in_count", "users"."current_sign_in_at", "users"."last_sign_in_at", "users"."confirmation_token", "users"."confirmed_at", "users"."confirmation_sent_at", "users"."unconfirmed_email", "users"."locale", "users"."encrypted_otp_secret", "users"."encrypted_otp_secret_iv", "users"."encrypted_otp_secret_salt", "users"."consumed_timestep", "users"."otp_required_for_login", "users"."last_emailed_at", "users"."otp_backup_codes", "users"."account_id", "users"."disabled", "users"."invite_id", "users"."chosen_languages", "users"."created_by_application_id", "users"."approved", "users"."sign_in_token", "users"."sign_in_token_sent_at", "users"."webauthn_id", "users"."sign_up_ip", "users"."role_id", "users"."settings", "users"."time_zone" FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/controllers/api/base_controller.rb:58:in `current_resource_owner'
18:06:12 web.1 | SessionActivation Load (0.1ms) SELECT "session_activations".* FROM "session_activations" WHERE "session_activations"."session_id" = $1 LIMIT $2 [["session_id", "344f7dc54308ebb2fabaacb4f95eec2d"], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/controllers/application_controller.rb:156:in `current_session'
18:06:12 web.1 | SessionActivation Load (0.1ms) SELECT "session_activations".* FROM "session_activations" WHERE "session_activations"."session_id" = $1 LIMIT $2 [["session_id", "344f7dc54308ebb2fabaacb4f95eec2d"], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/controllers/application_controller.rb:156:in `current_session'
18:06:12 web.1 | Account Load (0.2ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", 112136525779164011], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/controllers/api/base_controller.rb:72:in `require_not_suspended!'
18:06:12 web.1 | Cache read: rails_settings_cached/e23eceea1dbbecf09d779eb1d9007c03/trends ({:compress=>true, :compress_threshold=>1024})
18:06:12 web.1 | Cache generate: rails_settings_cached/e23eceea1dbbecf09d779eb1d9007c03/trends ({:compress=>true, :compress_threshold=>1024})
18:06:12 web.1 | Account Load (0.3ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", 112136525779164011], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/controllers/api/base_controller.rb:72:in `require_not_suspended!'
18:06:12 web.1 | Setting Load (0.1ms) SELECT "settings".* FROM "settings" WHERE "settings"."thing_type" IS NULL AND "settings"."thing_id" IS NULL AND "settings"."var" = $1 LIMIT $2 [["var", "trends"], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/models/setting.rb:80:in `block in []'
18:06:12 web.1 | Cache write: rails_settings_cached/e23eceea1dbbecf09d779eb1d9007c03/trends ({:compress=>true, :compress_threshold=>1024})
18:06:12 web.1 | Unpermitted parameters: :q, :resolve, :limit. Context: { controller: Api::V2::SearchController, action: index, request: #<ActionDispatch::Request:0x00007f2c540a47e0>, params: {"q"=>"@capitoledulibre@framapiaf.org", "resolve"=>"true", "limit"=>"11", "controller"=>"api/v2/search", "action"=>"index"} }
18:06:12 web.1 | Completed 200 OK in 60ms (Views: 0.2ms | ActiveRecord: 0.6ms | Allocations: 3551)
18:06:12 web.1 |
18:06:12 web.1 |
18:06:12 web.1 | DomainBlock Load (0.5ms) SELECT "domain_blocks".* FROM "domain_blocks" WHERE "domain_blocks"."domain" IN ($1, $2) ORDER BY CHAR_LENGTH(domain) DESC LIMIT $3 [["domain", "framapiaf.org"], ["domain", "org"], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/models/domain_block.rb:73:in `rule_for'
18:06:12 web.1 | Account Load (0.2ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE LOWER("accounts"."username") != '' AND LOWER("accounts"."username") = 'capitoledulibre' AND LOWER("accounts"."domain") = 'framapiaf.org' ORDER BY "accounts"."id" ASC LIMIT $1 [["LIMIT", 1]]
18:06:12 web.1 | ↳ app/models/concerns/account/finder_concern.rb:41:in `account'
18:06:12 web.1 | [httplog] GET https://framapiaf.org/.well-known/webfinger?resource=acct:capitoledulibre@framapiaf.org completed with status code 200 in 0.107627 seconds
18:06:12 web.1 | CACHE DomainBlock Load (0.0ms) SELECT "domain_blocks".* FROM "domain_blocks" WHERE "domain_blocks"."domain" IN ($1, $2) ORDER BY CHAR_LENGTH(domain) DESC LIMIT $3 [["domain", "framapiaf.org"], ["domain", "org"], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/models/domain_block.rb:73:in `rule_for'
18:06:12 web.1 | CACHE Account Load (0.0ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE LOWER("accounts"."username") != '' AND LOWER("accounts"."username") = 'capitoledulibre' AND LOWER("accounts"."domain") = 'framapiaf.org' ORDER BY "accounts"."id" ASC LIMIT $1 [["LIMIT", 1]]
18:06:12 web.1 | ↳ app/models/concerns/account/finder_concern.rb:41:in `account'
18:06:12 web.1 | CACHE DomainBlock Load (0.0ms) SELECT "domain_blocks".* FROM "domain_blocks" WHERE "domain_blocks"."domain" IN ($1, $2) ORDER BY CHAR_LENGTH(domain) DESC LIMIT $3 [["domain", "framapiaf.org"], ["domain", "org"], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/models/domain_block.rb:73:in `rule_for'
18:06:12 web.1 | Account Load (0.4ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", -99], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/models/concerns/account/finder_concern.rb:16:in `representative'
18:06:12 web.1 | [httplog] GET https://framapiaf.org/users/capitoledulibre completed with status code 200 in 0.06123 seconds
18:06:12 web.1 | [httplog] GET https://framapiaf.org/.well-known/webfinger?resource=acct:capitoledulibre@framapiaf.org completed with status code 200 in 0.05922 seconds
18:06:12 web.1 | CACHE DomainBlock Load (0.0ms) SELECT "domain_blocks".* FROM "domain_blocks" WHERE "domain_blocks"."domain" IN ($1, $2) ORDER BY CHAR_LENGTH(domain) DESC LIMIT $3 [["domain", "framapiaf.org"], ["domain", "org"], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/models/domain_block.rb:73:in `rule_for'
18:06:12 web.1 | CACHE Account Load (0.0ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE LOWER("accounts"."username") != '' AND LOWER("accounts"."username") = 'capitoledulibre' AND LOWER("accounts"."domain") = 'framapiaf.org' ORDER BY "accounts"."id" ASC LIMIT $1 [["LIMIT", 1]]
18:06:12 web.1 | ↳ app/models/concerns/account/finder_concern.rb:41:in `account'
18:06:12 web.1 | CACHE DomainBlock Load (0.0ms) SELECT "domain_blocks".* FROM "domain_blocks" WHERE "domain_blocks"."domain" IN ($1, $2) ORDER BY CHAR_LENGTH(domain) DESC LIMIT $3 [["domain", "framapiaf.org"], ["domain", "org"], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/models/domain_block.rb:73:in `rule_for'
18:06:12 web.1 | TRANSACTION (0.1ms) BEGIN
18:06:12 web.1 | ↳ app/validators/unique_username_validator.rb:15:in `validate'
18:06:12 web.1 | Account Exists? (0.8ms) SELECT 1 AS one FROM "accounts" WHERE LOWER("accounts"."username") = 'capitoledulibre' AND LOWER("accounts"."domain") = 'framapiaf.org' LIMIT $1 [["LIMIT", 1]]
18:06:12 web.1 | ↳ app/validators/unique_username_validator.rb:15:in `validate'
18:06:12 web.1 | Account Create (1.3ms) INSERT INTO "accounts" ("username", "domain", "private_key", "public_key", "created_at", "updated_at", "note", "display_name", "uri", "url", "avatar_file_name", "avatar_content_type", "avatar_file_size", "avatar_updated_at", "header_file_name", "header_content_type", "header_file_size", "header_updated_at", "avatar_remote_url", "locked", "header_remote_url", "last_webfingered_at", "inbox_url", "outbox_url", "shared_inbox_url", "followers_url", "protocol", "memorial", "moved_to_account_id", "featured_collection_url", "fields", "actor_type", "discoverable", "also_known_as", "silenced_at", "suspended_at", "hide_collections", "avatar_storage_schema_version", "header_storage_schema_version", "devices_url", "suspension_origin", "sensitized_at", "trendable", "reviewed_at", "requested_review_at", "indexable") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46) RETURNING "id" [["username", "capitoledulibre"], ["domain", "framapiaf.org"], ["private_key", "[FILTERED]"], ["public_key", "[FILTERED]"], ["created_at", "2018-05-13 00:00:00"], ["updated_at", "2024-03-22 18:06:12.810836"], ["note", ""], ["display_name", ""], ["uri", "https://framapiaf.org/users/capitoledulibre"], ["url", "https://framapiaf.org/@capitoledulibre"], ["avatar_file_name", nil], ["avatar_content_type", nil], ["avatar_file_size", nil], ["avatar_updated_at", nil], ["header_file_name", nil], ["header_content_type", nil], ["header_file_size", nil], ["header_updated_at", nil], ["avatar_remote_url", nil], ["locked", false], ["header_remote_url", ""], ["last_webfingered_at", nil], ["inbox_url", "https://framapiaf.org/users/capitoledulibre/inbox"], ["outbox_url", "https://framapiaf.org/users/capitoledulibre/outbox"], ["shared_inbox_url", "https://framapiaf.org/inbox"], ["followers_url", "https://framapiaf.org/users/capitoledulibre/followers"], ["protocol", 1], ["memorial", false], ["moved_to_account_id", nil], ["featured_collection_url", nil], ["fields", nil], ["actor_type", "Person"], ["discoverable", nil], ["also_known_as", nil], ["silenced_at", nil], ["suspended_at", nil], ["hide_collections", nil], ["avatar_storage_schema_version", nil], ["header_storage_schema_version", nil], ["devices_url", nil], ["suspension_origin", nil], ["sensitized_at", nil], ["trendable", nil], ["reviewed_at", nil], ["requested_review_at", nil], ["indexable", false]]
18:06:12 web.1 | ↳ app/services/activitypub/process_account_service.rb:82:in `create_account'
18:06:12 web.1 | TRANSACTION (0.2ms) COMMIT
18:06:12 web.1 | ↳ app/services/activitypub/process_account_service.rb:82:in `create_account'
18:06:12 web.1 | Instance Exists? (0.3ms) SELECT 1 AS one FROM "instances" WHERE "instances"."domain" = $1 LIMIT $2 [["domain", "framapiaf.org"], ["LIMIT", 1]]
18:06:12 web.1 | ↳ app/models/concerns/domain_materializable.rb:13:in `refresh_instances_view'
18:06:12 web.1 | (3.8ms) REFRESH MATERIALIZED VIEW CONCURRENTLY "instances";
18:06:12 web.1 | ↳ app/models/concerns/database_view_record.rb:8:in `refresh'
18:06:12 web.1 | [httplog] GET https://stockage.framapiaf.org/framapiaf/accounts/avatars/000/063/765/original/c5fa7c6864ab5ba2.png completed with status code 200 in 0.106222 seconds
18:06:12 web.1 | [paperclip] Trying to link /tmp/dfb4be72a3b4120a97176ac9fd475e9820240322-2934-l81vgu.png to /tmp/e14cda966a1267be149d6613ad7683ec20240322-2934-scyeso.png
18:06:12 web.1 | Command :: file -b --mime '/tmp/e14cda966a1267be149d6613ad7683ec20240322-2934-scyeso.png'
18:06:12 web.1 | [paperclip] Trying to link /tmp/dfb4be72a3b4120a97176ac9fd475e9820240322-2934-l81vgu.png to /tmp/ab43cf858bd3b6d7882061ef415beb6520240322-2934-k75kad.png
18:06:13 web.1 | [httplog] GET https://stockage.framapiaf.org/framapiaf/accounts/headers/000/063/765/original/c9a706673d787985.png completed with status code 200 in 0.074891 seconds
18:06:13 web.1 | [paperclip] Trying to link /tmp/e56b568d2b8520b764b1167c9523d97720240322-2934-ntea92.png to /tmp/f11daea1ad3a8ace098fbd0126a64e2c20240322-2934-9ebwgc.png
18:06:13 web.1 | Command :: file -b --mime '/tmp/f11daea1ad3a8ace098fbd0126a64e2c20240322-2934-9ebwgc.png'
18:06:13 web.1 | [paperclip] Trying to link /tmp/e56b568d2b8520b764b1167c9523d97720240322-2934-ntea92.png to /tmp/7bdaae87e697e4da1c61609fc7e202ae20240322-2934-momlv.png
18:06:13 web.1 | Account Load (0.5ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", -99], ["LIMIT", 1]]
18:06:13 web.1 | ↳ app/models/concerns/account/finder_concern.rb:16:in `representative'
18:06:13 web.1 | [httplog] GET https://framapiaf.org/users/capitoledulibre/outbox completed with status code 200 in 0.055824 seconds
18:06:13 web.1 | AccountStat Load (0.2ms) SELECT "account_stats"."id", "account_stats"."account_id", "account_stats"."statuses_count", "account_stats"."following_count", "account_stats"."followers_count", "account_stats"."created_at", "account_stats"."updated_at", "account_stats"."last_status_at" FROM "account_stats" WHERE "account_stats"."account_id" = $1 LIMIT $2 [["account_id", 112140666326890329], ["LIMIT", 1]]
18:06:13 web.1 | ↳ app/models/concerns/account/counters.rb:77:in `account_stat'
18:06:13 web.1 | CACHE Account Load (0.0ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", -99], ["LIMIT", 1]]
18:06:13 web.1 | ↳ app/models/concerns/account/finder_concern.rb:16:in `representative'
18:06:13 web.1 | [httplog] GET https://framapiaf.org/users/capitoledulibre/following completed with status code 200 in 0.055445 seconds
18:06:13 web.1 | CACHE Account Load (0.0ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", -99], ["LIMIT", 1]]
18:06:13 web.1 | ↳ app/models/concerns/account/finder_concern.rb:16:in `representative'
18:06:13 web.1 | [httplog] GET https://framapiaf.org/users/capitoledulibre/followers completed with status code 200 in 0.070145 seconds
18:06:13 web.1 | [paperclip] Trying to link /tmp/ab43cf858bd3b6d7882061ef415beb6520240322-2934-k75kad.png to /tmp/e14cda966a1267be149d6613ad7683ec20240322-2934-74bstz.png
18:06:13 web.1 | Command :: file -b --mime '/tmp/e14cda966a1267be149d6613ad7683ec20240322-2934-74bstz.png'
18:06:13 web.1 | [paperclip] Trying to link /tmp/7bdaae87e697e4da1c61609fc7e202ae20240322-2934-momlv.png to /tmp/f11daea1ad3a8ace098fbd0126a64e2c20240322-2934-n08xph.png
18:06:13 web.1 | Command :: file -b --mime '/tmp/f11daea1ad3a8ace098fbd0126a64e2c20240322-2934-n08xph.png'
18:06:13 web.1 | TRANSACTION (0.1ms) BEGIN
18:06:13 web.1 | ↳ app/models/account.rb:371:in `save_with_optional_media!'
18:06:13 web.1 | Account Update (1.3ms) UPDATE "accounts" SET "public_key" = $1, "updated_at" = $2, "note" = $3, "display_name" = $4, "avatar_file_name" = $5, "avatar_content_type" = $6, "avatar_file_size" = $7, "avatar_updated_at" = $8, "header_file_name" = $9, "header_content_type" = $10, "header_file_size" = $11, "header_updated_at" = $12, "avatar_remote_url" = $13, "header_remote_url" = $14, "last_webfingered_at" = $15, "featured_collection_url" = $16, "fields" = $17, "discoverable" = $18, "also_known_as" = $19, "hide_collections" = $20, "avatar_storage_schema_version" = $21, "header_storage_schema_version" = $22, "devices_url" = $23 WHERE "accounts"."id" = $24 [["public_key", "[FILTERED]"], ["updated_at", "2024-03-22 18:06:13.283272"], ["note", "<p>L'événement du <a href=\"https://framapiaf.org/tags/Libre\" class=\"mention hashtag\" rel=\"tag\">#<span>Libre</span></a> à <a href=\"https://framapiaf.org/tags/toulouse\" class=\"mention hashtag\" rel=\"tag\">#<span>toulouse</span></a> Samedi 16 et Dimanche 17 novembre 2024 Organisé par l'association Toulibre</p>"], ["display_name", "Capitole du Libre"], ["avatar_file_name", "e996b0b32188e9a1.png"], ["avatar_content_type", "image/png"], ["avatar_file_size", 18866], ["avatar_updated_at", "2024-03-22 18:06:12.928622"], ["header_file_name", "6f866aea7bdc24c2.png"], ["header_content_type", "image/png"], ["header_file_size", 519316], ["header_updated_at", "2024-03-22 18:06:13.079697"], ["avatar_remote_url", "https://stockage.framapiaf.org/framapiaf/accounts/avatars/000/063/765/original/c5fa7c6864ab5ba2.png"], ["header_remote_url", "https://stockage.framapiaf.org/framapiaf/accounts/headers/000/063/765/original/c9a706673d787985.png"], ["last_webfingered_at", "2024-03-22 18:06:12.819517"], ["featured_collection_url", "https://framapiaf.org/users/capitoledulibre/collections/featured"], ["fields", "[]"], ["discoverable", true], ["also_known_as", "{}"], ["hide_collections", false], ["avatar_storage_schema_version", 1], ["header_storage_schema_version", 1], ["devices_url", "https://framapiaf.org/users/capitoledulibre/collections/devices"], ["id", 112140666326890329]]
18:06:13 web.1 | ↳ app/models/account.rb:371:in `save_with_optional_media!'
18:06:13 web.1 | AccountStat Create (0.3ms) INSERT INTO "account_stats" ("account_id", "statuses_count", "following_count", "followers_count", "created_at", "updated_at", "last_status_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["account_id", 112140666326890329], ["statuses_count", 107], ["following_count", 12], ["followers_count", 1011], ["created_at", "2024-03-22 18:06:13.286572"], ["updated_at", "2024-03-22 18:06:13.286572"], ["last_status_at", nil]]
18:06:13 web.1 | ↳ app/models/account.rb:371:in `save_with_optional_media!'
18:06:13 web.1 | TRANSACTION (0.2ms) COMMIT
18:06:13 web.1 | ↳ app/models/account.rb:371:in `save_with_optional_media!'
18:06:13 web.1 | Account Exists? (0.3ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."uri" = $1 AND "accounts"."id" != $2 LIMIT $3 [["uri", "https://framapiaf.org/users/capitoledulibre"], ["id", 112140666326890329], ["LIMIT", 1]]
18:06:13 web.1 | ↳ app/services/activitypub/process_account_service.rb:187:in `process_duplicate_accounts!'
18:06:13 sidekiq.1 | 2024-03-22T18:06:13.295Z pid=2871 tid=ofr class=ActivityPub::SynchronizeFeaturedCollectionWorker jid=495acbc164c4f7cd5eefd37f INFO: start
18:06:13 web.1 | Follow Pluck (0.2ms) SELECT "follows"."target_account_id" FROM "follows" WHERE "follows"."account_id" = $1 [["account_id", 112136525779164011]]
18:06:13 web.1 | ↳ app/services/account_search_service.rb:120:in `following_ids'
18:06:13 sidekiq.1 | 2024-03-22T18:06:13.297Z pid=2871 tid=jcr class=ActivityPub::SynchronizeFeaturedTagsCollectionWorker jid=a76ef5e7ac38ec7019e94c1b INFO: start
18:06:13 web.1 | [httplog] POST http://localhost:9200/accounts/_search completed with status code 200 in 0.002669 seconds
18:06:13 web.1 | AccountsIndex Search (3.4ms) {:index=>["accounts"], :body=>{:size=>10, :from=>0, :query=>{:bool=>{:must=>{:function_score=>{:query=>{:bool=>{:must=>[{:multi_match=>{:query=>"capitoledulibre@framapiaf.org", :type=>"most_fields", :fields=>["username^2", "display_name^2", "text", "text.*"], :operator=>"and"}}], :must_not=>[]}}, :functions=>[{:script_score=>{:script=>{:source=>"(Math.max(doc['followers_count'].value, 0) + 0.0) / (Math.max(doc['followers_count'].value, 0) + Math.max(doc['following_count'].value, 0) + 1)"}}}, {:script_score=>{:script=>{:source=>"(Math.max(doc['followers_count'].value, 0) / (Math.max(doc['followers_count'].value, 0) + 1))"}}}, {:gauss=>{:last_status_at=>{:scale=>"30d", :offset=>"30d", :decay=>0.3}}}]}}, :should=>[{:terms=>{:id=>[112136525779164011], :boost=>100}}]}}}}
18:06:13 web.1 | [httplog] POST http://localhost:9200/public_statuses,statuses/_search completed with status code 200 in 0.004271 seconds
18:06:13 web.1 | [PublicStatusesIndex, StatusesIndex] Search (4.8ms) {:index=>["public_statuses", "statuses"], :body=>{:collapse=>{"field"=>:id}, :sort=>[{"id"=>{:order=>:desc}}], :size=>11, :from=>0, :query=>{:bool=>{:must=>{:multi_match=>{:type=>"most_fields", :query=>"@capitoledulibre@framapiaf.org", :fields=>["text", "text.stemmed"], :operator=>"and"}}, :filter=>{:bool=>{:should=>[{:term=>{:_index=>"public_statuses"}}, {:bool=>{:must=>[{:term=>{:_index=>"statuses"}}, {:term=>{:searchable_by=>112136525779164011}}]}}], :minimum_should_match=>1}}}}}}
18:06:13 web.1 | [httplog] POST http://localhost:9200/tags/_search completed with status code 404 in 0.001286 seconds
18:06:13 web.1 | TagsIndex Search (2.0ms) {:index=>["tags"], :body=>{:size=>11, :from=>0, :query=>{:function_score=>{:query=>{:multi_match=>{:query=>"@capitoledulibre@framapiaf.org", :fields=>["name.edge_ngram", "name"], :type=>"most_fields", :operator=>"and"}}, :functions=>[{:field_value_factor=>{:field=>"usage", :modifier=>"log2p", :missing=>0}}, {:gauss=>{:last_status_at=>{:scale=>"7d", :offset=>"14d", :decay=>0.5}}}], :boost_mode=>"multiply"}}}}
18:06:13 web.1 | Tag Load (0.4ms) SELECT "tags".* FROM "tags" WHERE LOWER("tags"."name") = LOWER('capitoledulibreframapiaforg') ORDER BY "tags"."id" ASC LIMIT $1 [["LIMIT", 1]]
18:06:13 web.1 | ↳ app/models/tag.rb:141:in `find_normalized'
18:06:13 web.1 | Completed 200 OK in 807ms (Views: 1.8ms | ActiveRecord: 11.8ms | Allocations: 119539)
18:06:13 web.1 |
18:06:13 web.1 |
18:06:13 web.1 | Started GET "/api/v1/accounts/relationships?with_suspended=true&id[]=112140666326890329" for 10.0.2.2 at 2024-03-22 18:06:13 +0000
18:06:13 sidekiq.1 | Account Load (0.2ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", 112140666326890329], ["LIMIT", 1]]
18:06:13 sidekiq.1 | ↳ app/workers/activitypub/synchronize_featured_collection_worker.rb:11:in `perform'
18:06:13 sidekiq.1 | Account Load (0.5ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" INNER JOIN "follows" ON "accounts"."id" = "follows"."account_id" WHERE "follows"."target_account_id" = $1 AND "accounts"."domain" IS NULL AND "accounts"."suspended_at" IS NULL ORDER BY follows.id desc LIMIT $2 [["target_account_id", 112140666326890329], ["LIMIT", 1]]
18:06:13 sidekiq.1 | ↳ app/services/activitypub/fetch_featured_collection_service.rb:103:in `local_follower'
18:06:13 sidekiq.1 | Account Load (0.2ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", -99], ["LIMIT", 1]]
18:06:13 sidekiq.1 | ↳ app/models/concerns/account/finder_concern.rb:16:in `representative'
18:06:13 sidekiq.1 | Account Load (0.2ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", 112140666326890329], ["LIMIT", 1]]
18:06:13 sidekiq.1 | ↳ app/workers/activitypub/synchronize_featured_tags_collection_worker.rb:9:in `perform'
18:06:13 sidekiq.1 | Account Load (0.4ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" INNER JOIN "follows" ON "accounts"."id" = "follows"."account_id" WHERE "follows"."target_account_id" = $1 AND "accounts"."domain" IS NULL AND "accounts"."suspended_at" IS NULL ORDER BY follows.id desc LIMIT $2 [["target_account_id", 112140666326890329], ["LIMIT", 1]]
18:06:13 web.1 | Cache read: blocked_ips ({:compress=>true, :compress_threshold=>1024})
18:06:13 sidekiq.1 | ↳ app/services/activitypub/fetch_featured_tags_collection_service.rb:70:in `local_follower'
18:06:13 web.1 | Cache generate: blocked_ips ({:compress=>true, :compress_threshold=>1024})
18:06:13 sidekiq.1 | Account Load (0.2ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", -99], ["LIMIT", 1]]
18:06:13 sidekiq.1 | ↳ app/models/concerns/account/finder_concern.rb:16:in `representative'
18:06:13 web.1 | IpBlock Pluck (0.1ms) SELECT "ip_blocks"."ip" FROM "ip_blocks" WHERE "ip_blocks"."severity" = $1 [["severity", 9999]]
18:06:13 web.1 | ↳ app/models/ip_block.rb:39:in `block in blocked?'
18:06:13 web.1 | Cache write: blocked_ips ({:compress=>true, :compress_threshold=>1024})
18:06:13 web.1 | Doorkeeper::AccessToken Load (0.1ms) SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = $1 LIMIT $2 [["token", "[FILTERED]"], ["LIMIT", 1]]
18:06:13 web.1 | ↳ config/initializers/rack_attack.rb:10:in `authenticated_token'
18:06:13 web.1 | Cache write: rack::attack:5703769:throttle_authenticated_api:1 ({:compress=>true, :compress_threshold=>1024, :expires_in=>228})
18:06:13 web.1 | Cache write: rack::attack:5703769:throttle_per_token_api:5 ({:compress=>true, :compress_threshold=>1024, :expires_in=>228})
18:06:13 web.1 | Processing by Api::V1::Accounts::RelationshipsController#index as HTML
18:06:13 web.1 | Parameters: {"with_suspended"=>"true", "id"=>["112140666326890329"]}
18:06:13 web.1 | CACHE Doorkeeper::AccessToken Load (0.0ms) SELECT "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = $1 LIMIT $2 [["token", "[FILTERED]"], ["LIMIT", 1]]
18:06:13 web.1 | ↳ app/controllers/api/base_controller.rb:58:in `current_resource_owner'
18:06:13 web.1 | User Load (0.3ms) SELECT "users"."id", "users"."email", "users"."created_at", "users"."updated_at", "users"."encrypted_password", "users"."reset_password_token", "users"."reset_password_sent_at", "users"."sign_in_count", "users"."current_sign_in_at", "users"."last_sign_in_at", "users"."confirmation_token", "users"."confirmed_at", "users"."confirmation_sent_at", "users"."unconfirmed_email", "users"."locale", "users"."encrypted_otp_secret", "users"."encrypted_otp_secret_iv", "users"."encrypted_otp_secret_salt", "users"."consumed_timestep", "users"."otp_required_for_login", "users"."last_emailed_at", "users"."otp_backup_codes", "users"."account_id", "users"."disabled", "users"."invite_id", "users"."chosen_languages", "users"."created_by_application_id", "users"."approved", "users"."sign_in_token", "users"."sign_in_token_sent_at", "users"."webauthn_id", "users"."sign_up_ip", "users"."role_id", "users"."settings", "users"."time_zone" FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
18:06:13 web.1 | ↳ app/controllers/api/base_controller.rb:58:in `current_resource_owner'
18:06:13 web.1 | SessionActivation Load (0.2ms) SELECT "session_activations".* FROM "session_activations" WHERE "session_activations"."session_id" = $1 LIMIT $2 [["session_id", "344f7dc54308ebb2fabaacb4f95eec2d"], ["LIMIT", 1]]
18:06:13 web.1 | ↳ app/controllers/application_controller.rb:156:in `current_session'
18:06:13 web.1 | Account Load (0.3ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", 112136525779164011], ["LIMIT", 1]]
18:06:13 web.1 | ↳ app/controllers/api/base_controller.rb:72:in `require_not_suspended!'
18:06:13 sidekiq.1 | [httplog] GET https://framapiaf.org/users/capitoledulibre/collections/featured completed with status code 200 in 0.065984 seconds
18:06:13 web.1 | Account Load (0.1ms) SELECT "accounts"."id", "accounts"."domain" FROM "accounts" WHERE "accounts"."id" = $1 [["id", 112140666326890329]]
18:06:13 web.1 | ↳ app/presenters/account_relationships_presenter.rb:9:in `initialize'
18:06:13 web.1 | Cache read_multi: 1 key(s) specified ({:compress=>true, :compress_threshold=>1024})
18:06:13 web.1 | Follow Load (0.1ms) SELECT "follows".* FROM "follows" WHERE "follows"."target_account_id" = $1 AND "follows"."account_id" = $2 [["target_account_id", 112140666326890329], ["account_id", 112136525779164011]]
18:06:13 web.1 | ↳ app/models/concerns/account/interactions.rb:8:in `each_with_object'
18:06:13 web.1 | Follow Pluck (0.1ms) SELECT "follows"."account_id" FROM "follows" WHERE "follows"."account_id" = $1 AND "follows"."target_account_id" = $2 [["account_id", 112140666326890329], ["target_account_id", 112136525779164011]]
18:06:13 web.1 | ↳ app/models/concerns/account/interactions.rb:70:in `follow_mapping'
18:06:13 web.1 | Block Pluck (0.1ms) SELECT "blocks"."target_account_id" FROM "blocks" WHERE "blocks"."target_account_id" = $1 AND "blocks"."account_id" = $2 [["target_account_id", 112140666326890329], ["account_id", 112136525779164011]]
18:06:13 web.1 | ↳ app/models/concerns/account/interactions.rb:70:in `follow_mapping'
18:06:13 web.1 | Block Pluck (0.1ms) SELECT "blocks"."account_id" FROM "blocks" WHERE "blocks"."account_id" = $1 AND "blocks"."target_account_id" = $2 [["account_id", 112140666326890329], ["target_account_id", 112136525779164011]]
18:06:13 web.1 | ↳ app/models/concerns/account/interactions.rb:70:in `follow_mapping'
18:06:13 web.1 | Mute Load (0.1ms) SELECT "mutes".* FROM "mutes" WHERE "mutes"."target_account_id" = $1 AND "mutes"."account_id" = $2 [["target_account_id", 112140666326890329], ["account_id", 112136525779164011]]
18:06:13 web.1 | ↳ app/models/concerns/account/interactions.rb:30:in `each_with_object'
18:06:13 web.1 | FollowRequest Load (0.1ms) SELECT "follow_requests".* FROM "follow_requests" WHERE "follow_requests"."target_account_id" = $1 AND "follow_requests"."account_id" = $2 [["target_account_id", 112140666326890329], ["account_id", 112136525779164011]]
18:06:13 web.1 | ↳ app/models/concerns/account/interactions.rb:38:in `each_with_object'
18:06:13 web.1 | FollowRequest Pluck (0.1ms) SELECT "follow_requests"."account_id" FROM "follow_requests" WHERE "follow_requests"."account_id" = $1 AND "follow_requests"."target_account_id" = $2 [["account_id", 112140666326890329], ["target_account_id", 112136525779164011]]
18:06:13 web.1 | ↳ app/models/concerns/account/interactions.rb:70:in `follow_mapping'
18:06:13 web.1 | AccountPin Pluck (0.2ms) SELECT "account_pins"."target_account_id" FROM "account_pins" WHERE "account_pins"."account_id" = $1 AND "account_pins"."target_account_id" = $2 [["account_id", 112136525779164011], ["target_account_id", 112140666326890329]]
18:06:13 web.1 | ↳ app/models/concerns/account/interactions.rb:70:in `follow_mapping'
18:06:13 web.1 | AccountNote Load (0.2ms) SELECT "account_notes".* FROM "account_notes" WHERE "account_notes"."target_account_id" = $1 AND "account_notes"."account_id" = $2 [["target_account_id", 112140666326890329], ["account_id", 112136525779164011]]
18:06:13 web.1 | ↳ app/models/concerns/account/interactions.rb:56:in `each_with_object'
18:06:13 web.1 | Cache read_multi: 1 key(s) specified ({:compress=>true, :compress_threshold=>1024})
18:06:13 sidekiq.1 | [httplog] GET https://framapiaf.org/users/capitoledulibre/collections/tags completed with status code 200 in 0.064004 seconds
18:06:13 web.1 | AccountDomainBlock Pluck (0.1ms) SELECT "account_domain_blocks"."domain" FROM "account_domain_blocks" WHERE "account_domain_blocks"."account_id" = $1 AND "account_domain_blocks"."domain" = $2 [["account_id", 112136525779164011], ["domain", "framapiaf.org"]]
18:06:13 web.1 | ↳ app/presenters/account_relationships_presenter.rb:54:in `domain_blocking_map'
18:06:13 web.1 | Cache write_multi: 1 key(s) specified ({:compress=>true, :compress_threshold=>1024, :expires_in=>1 day})
18:06:13 web.1 | Cache write_multi: 1 key(s) specified ({:compress=>true, :compress_threshold=>1024, :expires_in=>1 day})
18:06:13 web.1 | Completed 200 OK in 66ms (Views: 0.5ms | ActiveRecord: 2.0ms | Allocations: 8461)
18:06:13 web.1 |
18:06:13 web.1 |
18:06:13 sidekiq.1 | FeaturedTag Delete All (0.7ms) DELETE FROM "featured_tags" WHERE "featured_tags"."id" IN (SELECT "featured_tags"."id" FROM "featured_tags" LEFT OUTER JOIN "tags" "tag" ON "tag"."id" = "featured_tags"."tag_id" WHERE "featured_tags"."account_id" = $1 AND 1=1) [["account_id", 112140666326890329]]
18:06:13 sidekiq.1 | ↳ app/services/activitypub/fetch_featured_tags_collection_service.rb:56:in `process_items'
18:06:13 sidekiq.1 | 2024-03-22T18:06:13.503Z pid=2871 tid=jcr class=ActivityPub::SynchronizeFeaturedTagsCollectionWorker jid=a76ef5e7ac38ec7019e94c1b elapsed=0.206 INFO: done
18:06:13 sidekiq.1 | DomainBlock Load (0.6ms) SELECT "domain_blocks".* FROM "domain_blocks" WHERE "domain_blocks"."domain" IN ($1, $2) ORDER BY CHAR_LENGTH(domain) DESC LIMIT $3 [["domain", "framapiaf.org"], ["domain", "org"], ["LIMIT", 1]]
18:06:13 sidekiq.1 | ↳ app/models/domain_block.rb:73:in `rule_for'
18:06:13 sidekiq.1 | CACHE Account Load (0.0ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", -99], ["LIMIT", 1]]
18:06:13 sidekiq.1 | ↳ app/models/concerns/account/finder_concern.rb:16:in `representative'
18:06:13 sidekiq.1 | [httplog] GET https://framapiaf.org/users/capitoledulibre/statuses/111444751622813922 completed with status code 200 in 0.062567 seconds
18:06:13 sidekiq.1 | Account Load (0.2ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."uri" = $1 LIMIT $2 [["uri", "https://framapiaf.org/users/capitoledulibre"], ["LIMIT", 1]]
18:06:13 sidekiq.1 | ↳ app/lib/activitypub/tag_manager.rb:185:in `uri_to_resource'
18:06:13 sidekiq.1 | Status Exists? (0.5ms) SELECT 1 AS one FROM "statuses" WHERE "statuses"."deleted_at" IS NULL AND "statuses"."uri" = $1 AND "statuses"."account_id" = $2 LIMIT $3 [["uri", "https://framapiaf.org/users/capitoledulibre/statuses/111444751622813922"], ["account_id", 112140666326890329], ["LIMIT", 1]]
18:06:13 sidekiq.1 | ↳ app/services/activitypub/fetch_remote_status_service.rb:47:in `call'
18:06:13 sidekiq.1 | Tombstone Exists? (0.7ms) SELECT 1 AS one FROM "tombstones" WHERE "tombstones"."uri" = $1 LIMIT $2 [["uri", "https://framapiaf.org/users/capitoledulibre/statuses/111444751622813922"], ["LIMIT", 1]]
18:06:13 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:413:in `tombstone_exists?'
18:06:13 sidekiq.1 | Status Load (0.2ms) SELECT "statuses".* FROM "statuses" WHERE "statuses"."deleted_at" IS NULL AND "statuses"."uri" = $1 ORDER BY "statuses"."id" DESC LIMIT $2 [["uri", "https://framapiaf.org/users/capitoledulibre/statuses/111444751622813922"], ["LIMIT", 1]]
18:06:13 sidekiq.1 | ↳ app/lib/activitypub/tag_manager.rb:185:in `uri_to_resource'
18:06:13 sidekiq.1 | CACHE Status Load (0.0ms) SELECT "statuses".* FROM "statuses" WHERE "statuses"."deleted_at" IS NULL AND "statuses"."uri" = $1 ORDER BY "statuses"."id" DESC LIMIT $2 [["uri", "https://framapiaf.org/users/capitoledulibre/statuses/111444751622813922"], ["LIMIT", 1]]
18:06:13 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:106:in `find_existing_status'
18:06:13 sidekiq.1 | TRANSACTION (0.1ms) BEGIN
18:06:13 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:266:in `block in process_attachments'
18:06:13 sidekiq.1 | MediaAttachment Create (3.0ms) INSERT INTO "media_attachments" ("status_id", "file_file_name", "file_content_type", "file_file_size", "file_updated_at", "remote_url", "created_at", "updated_at", "shortcode", "type", "file_meta", "account_id", "description", "scheduled_status_id", "blurhash", "processing", "file_storage_schema_version", "thumbnail_file_name", "thumbnail_content_type", "thumbnail_file_size", "thumbnail_updated_at", "thumbnail_remote_url") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) RETURNING "id" [["status_id", nil], ["file_file_name", nil], ["file_content_type", nil], ["file_file_size", nil], ["file_updated_at", nil], ["remote_url", "https://stockage.framapiaf.org/framapiaf/media_attachments/files/111/444/720/451/944/855/original/e5f4e2b63f4a549f.jpg"], ["created_at", "2024-03-22 18:06:13.626307"], ["updated_at", "2024-03-22 18:06:13.626307"], ["shortcode", nil], ["type", 3], ["file_meta", "{\"focus\":{\"x\":0.0,\"y\":0.0}}"], ["account_id", 112140666326890329], ["description", "Equipe des bénévoles du Capitole du Libre 2023"], ["scheduled_status_id", nil], ["blurhash", "UMFW%[EL9uRj0#oItQbbO[n$RiWC|[W;NakC"], ["processing", 2], ["file_storage_schema_version", nil], ["thumbnail_file_name", nil], ["thumbnail_content_type", nil], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["thumbnail_remote_url", nil]]
18:06:13 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:266:in `block in process_attachments'
18:06:13 sidekiq.1 | TRANSACTION (0.2ms) COMMIT
18:06:13 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:266:in `block in process_attachments'
18:06:13 sidekiq.1 | DomainBlock Load (0.2ms) SELECT "domain_blocks".* FROM "domain_blocks" WHERE "domain_blocks"."domain" IN ($1, $2) ORDER BY CHAR_LENGTH(domain) DESC LIMIT $3 [["domain", "framapiaf.org"], ["domain", "org"], ["LIMIT", 1]]
18:06:13 sidekiq.1 | ↳ app/models/domain_block.rb:73:in `rule_for'
18:06:13 sidekiq.1 | [httplog] GET https://stockage.framapiaf.org/framapiaf/media_attachments/files/111/444/720/451/944/855/original/e5f4e2b63f4a549f.jpg completed with status code 200 in 0.16764 seconds
18:06:13 sidekiq.1 | [paperclip] Trying to link /tmp/4a7446dc2fd719d24f5218f76a975d7020240322-2871-zymwlc.jpg to /tmp/ecfafadb49bbba6d2b452c2bbd93e48220240322-2871-8pzpjd.jpg
18:06:13 sidekiq.1 | Command :: file -b --mime '/tmp/ecfafadb49bbba6d2b452c2bbd93e48220240322-2871-8pzpjd.jpg'
18:06:13 sidekiq.1 | [paperclip] Trying to link /tmp/4a7446dc2fd719d24f5218f76a975d7020240322-2871-zymwlc.jpg to /tmp/f8ae847c6a536dcb9f87ffe78ad67e0e20240322-2871-k3rl0k.jpg
18:06:13 sidekiq.1 | Command :: identify -format %m '/tmp/f8ae847c6a536dcb9f87ffe78ad67e0e20240322-2871-k3rl0k.jpg[0]'
18:06:13 sidekiq.1 | Command :: convert '/tmp/f8ae847c6a536dcb9f87ffe78ad67e0e20240322-2871-k3rl0k.jpg[0]' -auto-orient -resize "588x392>" -quality 90 +profile "!icc,*" +set date:modify +set date:create +set date:timestamp -define jpeg:dct-method=float '/tmp/e1e63e156689b8d81952fdefd5b112c020240322-2871-ior51w'
18:06:13 sidekiq.1 | Command :: convert '/tmp/e1e63e156689b8d81952fdefd5b112c020240322-2871-ior51w' -depth 8 RGB:-
18:06:14 sidekiq.1 | [paperclip] Trying to link /tmp/e1e63e156689b8d81952fdefd5b112c020240322-2871-ior51w to /tmp/0590999371802b631dc29eba3a8a2d4320240322-2871-vhie0o
18:06:14 sidekiq.1 | [paperclip] Trying to link /tmp/f8ae847c6a536dcb9f87ffe78ad67e0e20240322-2871-k3rl0k.jpg to /tmp/ecfafadb49bbba6d2b452c2bbd93e48220240322-2871-uspdnp.jpg
18:06:14 sidekiq.1 | Command :: file -b --mime '/tmp/ecfafadb49bbba6d2b452c2bbd93e48220240322-2871-uspdnp.jpg'
18:06:14 sidekiq.1 | TRANSACTION (0.2ms) BEGIN
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:281:in `block in process_attachments'
18:06:14 sidekiq.1 | MediaAttachment Update (1.1ms) UPDATE "media_attachments" SET "file_file_name" = $1, "file_content_type" = $2, "file_file_size" = $3, "file_updated_at" = $4, "updated_at" = $5, "type" = $6, "file_meta" = $7, "blurhash" = $8, "file_storage_schema_version" = $9 WHERE "media_attachments"."id" = $10 [["file_file_name", "6c9a40ff1a77d790.jpg"], ["file_content_type", "image/jpeg"], ["file_file_size", 668960], ["file_updated_at", "2024-03-22 18:06:13.903413"], ["updated_at", "2024-03-22 18:06:14.118749"], ["type", 0], ["file_meta", "{\"focus\":{\"x\":0.0,\"y\":0.0},\"original\":{\"width\":1920,\"height\":1280,\"size\":\"1920x1280\",\"aspect\":1.5},\"small\":{\"width\":588,\"height\":392,\"size\":\"588x392\",\"aspect\":1.5}}"], ["blurhash", "UMFNJHEL9uRj0#oItQbbO[n$RiWC|[W;NakC"], ["file_storage_schema_version", 1], ["id", 112140666380447576]]
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:281:in `block in process_attachments'
18:06:14 sidekiq.1 | TRANSACTION (0.4ms) COMMIT
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:281:in `block in process_attachments'
18:06:14 sidekiq.1 | TRANSACTION (0.1ms) BEGIN
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:266:in `block in process_attachments'
18:06:14 sidekiq.1 | MediaAttachment Create (0.8ms) INSERT INTO "media_attachments" ("status_id", "file_file_name", "file_content_type", "file_file_size", "file_updated_at", "remote_url", "created_at", "updated_at", "shortcode", "type", "file_meta", "account_id", "description", "scheduled_status_id", "blurhash", "processing", "file_storage_schema_version", "thumbnail_file_name", "thumbnail_content_type", "thumbnail_file_size", "thumbnail_updated_at", "thumbnail_remote_url") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) RETURNING "id" [["status_id", nil], ["file_file_name", nil], ["file_content_type", nil], ["file_file_size", nil], ["file_updated_at", nil], ["remote_url", "https://stockage.framapiaf.org/framapiaf/media_attachments/files/111/444/720/804/944/337/original/c9e95aa36c798499.jpg"], ["created_at", "2024-03-22 18:06:14.128632"], ["updated_at", "2024-03-22 18:06:14.128632"], ["shortcode", nil], ["type", 3], ["file_meta", "{\"focus\":{\"x\":0.0,\"y\":0.0}}"], ["account_id", 112140666326890329], ["description", "Montage photo de scènes du Capitole du Libre 2023"], ["scheduled_status_id", nil], ["blurhash", "U7HnQyMyMy_4EeIpx]%LOY-VtSR*4.R%$%rr"], ["processing", 2], ["file_storage_schema_version", nil], ["thumbnail_file_name", nil], ["thumbnail_content_type", nil], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["thumbnail_remote_url", nil]]
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:266:in `block in process_attachments'
18:06:14 sidekiq.1 | TRANSACTION (0.1ms) COMMIT
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:266:in `block in process_attachments'
18:06:14 sidekiq.1 | [httplog] GET https://stockage.framapiaf.org/framapiaf/media_attachments/files/111/444/720/804/944/337/original/c9e95aa36c798499.jpg completed with status code 200 in 0.376908 seconds
18:06:14 sidekiq.1 | [paperclip] Trying to link /tmp/8ed1c42b984c8b8d7a6d91c8010a8cab20240322-2871-uwn20l.jpg to /tmp/62382c34a786a981dcc851e6e419c69e20240322-2871-yp57h9.jpg
18:06:14 sidekiq.1 | Command :: file -b --mime '/tmp/62382c34a786a981dcc851e6e419c69e20240322-2871-yp57h9.jpg'
18:06:14 sidekiq.1 | [paperclip] Trying to link /tmp/8ed1c42b984c8b8d7a6d91c8010a8cab20240322-2871-uwn20l.jpg to /tmp/0ec0635785d30a9ef4a1ec2dfdb1e6fd20240322-2871-bvwr6v.jpg
18:06:14 sidekiq.1 | Command :: identify -format %m '/tmp/0ec0635785d30a9ef4a1ec2dfdb1e6fd20240322-2871-bvwr6v.jpg[0]'
18:06:14 sidekiq.1 | Command :: convert '/tmp/0ec0635785d30a9ef4a1ec2dfdb1e6fd20240322-2871-bvwr6v.jpg[0]' -auto-orient -resize "640x360>" -quality 90 +profile "!icc,*" +set date:modify +set date:create +set date:timestamp -define jpeg:dct-method=float '/tmp/6e1494a2562abc1265b1128c09a4554e20240322-2871-zwm9h'
18:06:14 sidekiq.1 | Command :: convert '/tmp/6e1494a2562abc1265b1128c09a4554e20240322-2871-zwm9h' -depth 8 RGB:-
18:06:14 sidekiq.1 | [paperclip] Trying to link /tmp/6e1494a2562abc1265b1128c09a4554e20240322-2871-zwm9h to /tmp/b865aa613d20dd93becd9bff580136e620240322-2871-9zbp0f
18:06:14 sidekiq.1 | [paperclip] Trying to link /tmp/0ec0635785d30a9ef4a1ec2dfdb1e6fd20240322-2871-bvwr6v.jpg to /tmp/62382c34a786a981dcc851e6e419c69e20240322-2871-u0mtdx.jpg
18:06:14 sidekiq.1 | Command :: file -b --mime '/tmp/62382c34a786a981dcc851e6e419c69e20240322-2871-u0mtdx.jpg'
18:06:14 sidekiq.1 | TRANSACTION (0.1ms) BEGIN
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:281:in `block in process_attachments'
18:06:14 sidekiq.1 | MediaAttachment Update (0.8ms) UPDATE "media_attachments" SET "file_file_name" = $1, "file_content_type" = $2, "file_file_size" = $3, "file_updated_at" = $4, "updated_at" = $5, "type" = $6, "file_meta" = $7, "blurhash" = $8, "file_storage_schema_version" = $9 WHERE "media_attachments"."id" = $10 [["file_file_name", "14a466e322f5ab44.jpg"], ["file_content_type", "image/jpeg"], ["file_file_size", 1242335], ["file_updated_at", "2024-03-22 18:06:14.639873"], ["updated_at", "2024-03-22 18:06:14.912247"], ["type", 0], ["file_meta", "{\"focus\":{\"x\":0.0,\"y\":0.0},\"original\":{\"width\":3840,\"height\":2160,\"size\":\"3840x2160\",\"aspect\":1.7777777777777777},\"small\":{\"width\":640,\"height\":360,\"size\":\"640x360\",\"aspect\":1.7777777777777777}}"], ["blurhash", "U7HUOhMyMy_4EeIpx]%LOY-VtSR*4.R%$%rr"], ["file_storage_schema_version", 1], ["id", 112140666413373366]]
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:281:in `block in process_attachments'
18:06:14 sidekiq.1 | TRANSACTION (0.3ms) COMMIT
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:281:in `block in process_attachments'
18:06:14 sidekiq.1 | Conversation Load (0.1ms) SELECT "conversations".* FROM "conversations" WHERE "conversations"."uri" = $1 LIMIT $2 [["uri", "tag:framapiaf.org,2023-11-20:objectId=92302330:objectType=Conversation"], ["LIMIT", 1]]
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:353:in `conversation_from_uri'
18:06:14 sidekiq.1 | TRANSACTION (0.0ms) BEGIN
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:353:in `conversation_from_uri'
18:06:14 sidekiq.1 | Conversation Exists? (0.1ms) SELECT 1 AS one FROM "conversations" WHERE "conversations"."uri" = $1 LIMIT $2 [["uri", "tag:framapiaf.org,2023-11-20:objectId=92302330:objectType=Conversation"], ["LIMIT", 1]]
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:353:in `conversation_from_uri'
18:06:14 sidekiq.1 | Conversation Create (0.8ms) INSERT INTO "conversations" ("uri", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["uri", "tag:framapiaf.org,2023-11-20:objectId=92302330:objectType=Conversation"], ["created_at", "2024-03-22 18:06:14.928294"], ["updated_at", "2024-03-22 18:06:14.928294"]]
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:353:in `conversation_from_uri'
18:06:14 sidekiq.1 | TRANSACTION (0.1ms) COMMIT
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:353:in `conversation_from_uri'
18:06:14 sidekiq.1 | Account Load (0.3ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."uri" = $1 LIMIT $2 [["uri", "https://framapiaf.org/users/capitoledulibre/followers"], ["LIMIT", 1]]
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/tag_manager.rb:185:in `uri_to_resource'
18:06:14 sidekiq.1 | TRANSACTION (0.1ms) BEGIN
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:86:in `block in process_status'
18:06:14 sidekiq.1 | MediaAttachment Load (0.8ms) SELECT "media_attachments".* FROM "media_attachments" WHERE "media_attachments"."id" IN ($1, $2) [["id", 112140666380447576], ["id", 112140666413373366]]
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:86:in `block in process_status'
18:06:14 sidekiq.1 | Account Load (0.2ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", 112140666326890329], ["LIMIT", 1]]
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:86:in `block in process_status'
18:06:14 sidekiq.1 | CACHE Account Load (0.0ms) SELECT "accounts"."id", "accounts"."username", "accounts"."domain", "accounts"."private_key", "accounts"."public_key", "accounts"."created_at", "accounts"."updated_at", "accounts"."note", "accounts"."display_name", "accounts"."uri", "accounts"."url", "accounts"."avatar_file_name", "accounts"."avatar_content_type", "accounts"."avatar_file_size", "accounts"."avatar_updated_at", "accounts"."header_file_name", "accounts"."header_content_type", "accounts"."header_file_size", "accounts"."header_updated_at", "accounts"."avatar_remote_url", "accounts"."locked", "accounts"."header_remote_url", "accounts"."last_webfingered_at", "accounts"."inbox_url", "accounts"."outbox_url", "accounts"."shared_inbox_url", "accounts"."followers_url", "accounts"."protocol", "accounts"."memorial", "accounts"."moved_to_account_id", "accounts"."featured_collection_url", "accounts"."fields", "accounts"."actor_type", "accounts"."discoverable", "accounts"."also_known_as", "accounts"."silenced_at", "accounts"."suspended_at", "accounts"."hide_collections", "accounts"."avatar_storage_schema_version", "accounts"."header_storage_schema_version", "accounts"."devices_url", "accounts"."suspension_origin", "accounts"."sensitized_at", "accounts"."trendable", "accounts"."reviewed_at", "accounts"."requested_review_at", "accounts"."indexable" FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2 [["id", 112140666326890329], ["LIMIT", 1]]
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:86:in `block in process_status'
18:06:14 sidekiq.1 | Status Exists? (0.2ms) SELECT 1 AS one FROM "statuses" WHERE "statuses"."uri" = $1 LIMIT $2 [["uri", "https://framapiaf.org/users/capitoledulibre/statuses/111444751622813922"], ["LIMIT", 1]]
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:86:in `block in process_status'
18:06:14 sidekiq.1 | Status Create (1.1ms) INSERT INTO "statuses" ("id", "uri", "text", "created_at", "updated_at", "in_reply_to_id", "reblog_of_id", "url", "sensitive", "visibility", "spoiler_text", "reply", "language", "conversation_id", "local", "account_id", "application_id", "in_reply_to_account_id", "poll_id", "deleted_at", "edited_at", "trendable", "ordered_media_attachment_ids") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23) RETURNING "id" [["id", 111444751620731959], ["uri", "https://framapiaf.org/users/capitoledulibre/statuses/111444751622813922"], ["text", "<p>Merci à tous: public, speakers, stands et bien sûr bénévoles d'avoir permis cette nouvelle édition du Capitole du Libre!<br />Les photos et vidéos arrivent bientôt!</p>"], ["created_at", "2023-11-20 20:25:57"], ["updated_at", "2024-03-22 18:06:14.967406"], ["in_reply_to_id", nil], ["reblog_of_id", nil], ["url", "https://framapiaf.org/@capitoledulibre/111444751622813922"], ["sensitive", false], ["visibility", 0], ["spoiler_text", ""], ["reply", false], ["language", "fr"], ["conversation_id", 2], ["local", false], ["account_id", 112140666326890329], ["application_id", nil], ["in_reply_to_account_id", nil], ["poll_id", nil], ["deleted_at", nil], ["edited_at", nil], ["trendable", nil], ["ordered_media_attachment_ids", "{112140666380447576,112140666413373366}"]]
18:06:14 sidekiq.1 | ↳ app/models/concerns/status/safe_reblog_insert.rb:19:in `_insert_record'
18:06:14 sidekiq.1 | MediaAttachment Update (0.3ms) UPDATE "media_attachments" SET "status_id" = $1, "updated_at" = $2 WHERE "media_attachments"."id" = $3 [["status_id", 111444751620731959], ["updated_at", "2024-03-22 18:06:14.969904"], ["id", 112140666380447576]]
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:86:in `block in process_status'
18:06:14 sidekiq.1 | MediaAttachment Update (0.2ms) UPDATE "media_attachments" SET "status_id" = $1, "updated_at" = $2 WHERE "media_attachments"."id" = $3 [["status_id", 111444751620731959], ["updated_at", "2024-03-22 18:06:14.971099"], ["id", 112140666413373366]]
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:86:in `block in process_status'
18:06:14 sidekiq.1 | Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "statuses_tags" ON "tags"."id" = "statuses_tags"."tag_id" WHERE "statuses_tags"."status_id" = $1 [["status_id", 111444751620731959]]
18:06:14 sidekiq.1 | ↳ app/models/trends/tags.rb:17:in `register'
18:06:14 sidekiq.1 | TRANSACTION (0.2ms) COMMIT
18:06:14 sidekiq.1 | ↳ app/lib/activitypub/activity/create.rb:85:in `process_status'
18:06:14 sidekiq.1 | SQL (0.3ms) INSERT INTO account_stats(account_id, statuses_count, created_at, updated_at, last_status_at) VALUES (112140666326890329, 1, now(), now(), now()) ON CONFLICT (account_id) DO UPDATE SET statuses_count = account_stats.statuses_count + 1, last_status_at = now(), updated_at = now() RETURNING id;
18:06:14 sidekiq.1 | ↳ app/models/concerns/account/counters.rb:67:in `update_count!'
18:06:14 sidekiq.1 | Cache delete: v3:statuses/111444751620731959
18:06:14 sidekiq.1 | Cache delete: v3:statuses/111444751620731959
18:06:14 sidekiq.1 | StatusPin Pluck (0.2ms) SELECT "status_pins"."status_id" FROM "status_pins" WHERE "status_pins"."account_id" = $1 [["account_id", 112140666326890329]]
18:06:14 sidekiq.1 | ↳ app/services/activitypub/fetch_featured_collection_service.rb:65:in `process_note_items'
18:06:14 sidekiq.1 | TRANSACTION (0.0ms) BEGIN
18:06:14 sidekiq.1 | ↳ app/services/activitypub/fetch_featured_collection_service.rb:76:in `block in process_note_items'
18:06:14 sidekiq.1 | Status Load (0.1ms) SELECT "statuses".* FROM "statuses" WHERE "statuses"."deleted_at" IS NULL AND "statuses"."id" = $1 ORDER BY "statuses"."id" DESC LIMIT $2 [["id", 111444751620731959], ["LIMIT", 1]]
18:06:14 sidekiq.1 | ↳ app/services/activitypub/fetch_featured_collection_service.rb:76:in `block in process_note_items'
18:06:14 sidekiq.1 | StatusPin Count (0.2ms) SELECT COUNT(*) FROM "status_pins" WHERE "status_pins"."account_id" = $1 [["account_id", 112140666326890329]]
18:06:14 sidekiq.1 | ↳ app/validators/status_pin_validator.rb:10:in `validate'
18:06:14 sidekiq.1 | StatusPin Create (1.2ms) INSERT INTO "status_pins" ("account_id", "status_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id", "created_at", "updated_at" [["account_id", 112140666326890329], ["status_id", 111444751620731959], ["created_at", "2024-03-22 18:06:14.989798"], ["updated_at", "2024-03-22 18:06:14.989798"]]
18:06:14 sidekiq.1 | ↳ app/services/activitypub/fetch_featured_collection_service.rb:76:in `block in process_note_items'
18:06:14 sidekiq.1 | TRANSACTION (0.2ms) COMMIT
18:06:14 sidekiq.1 | ↳ app/services/activitypub/fetch_featured_collection_service.rb:76:in `block in process_note_items'
18:06:14 sidekiq.1 | 2024-03-22T18:06:14.993Z pid=2871 tid=ofr class=ActivityPub::SynchronizeFeaturedCollectionWorker jid=495acbc164c4f7cd5eefd37f elapsed=1.697 INFO: done