.MD

Copy the markdown below:

RuntimeError

app/models/publication.rb:79

Can't modify frozen hash

Backtrace

app/models/publication.rb:79:in `refresh_attachment_types_count'
app/models/publication_attachment.rb:33:in `refresh_count_or_destroy_publication!'
app/controllers/api/v1/publications_controller.rb:142:in `destroy'

Request

Name Api::V1::PublicationsController#destroy
Method DELETE
URL https://api.oblyk.org/api/v1/publications/20347.json
Browser SafariSafari 26

Parameters

{
  "id": "20347",
  "action": "destroy",
  "format": "json",
  "controller": "api/v1/publications",
  "publication": {}
}

Headers

Host api.oblyk.org
Accept application/json, text/plain, */*
Cf-Ray 9ebdfbc41fb0a8f0-MRS
Origin https://oblyk.org
Referer https://oblyk.org/
Version HTTP/1.0
Cdn-Loop cloudflare; loops=1
Priority u=3, i
Cf-Visitor {"scheme":"https"}
Connection close
User-Agent Mozilla/5.0 (iPhone; CPU iPhone OS 26_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.3.1 Mobile/15E148 Safari/604.1 PWAShell
Cf-Ipcountry FR
Authorization [FILTERED]
Sec-Fetch-Dest empty
Sec-Fetch-Mode cors
Sec-Fetch-Site same-site
Accept-Encoding gzip, br
Accept-Language fr-FR,fr;q=0.9
X-Forwarded-For 2001:861:30c3:75b0:bd44:dc06:68ef:6a20, 162.158.23.37
Cf-Connecting-Ip 2001:861:30c3:75b0:bd44:dc06:68ef:6a20
X-Forwarded-Proto https
Httpapiaccesstoken [FILTERED]

Environment

os Linux 5.10.0-14-cloud-amd64
cwd /var/www/oblyk/api/releases/20260328082937
pid 2045413
host oblyk-api
ruby ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
user oblyk
rails 6.0.3.6
revision a02804b018e5fe56103bb8df4dbc729ec9f0ded6

Server

Load CPU RAM Swap Disk
oblyk-api Load avg <1% CPU 2% RAM 54% Swap <1% Disk 88%

Deployments 2

Même correctif quand précédement mais dans le détail des points clucien 29 Apr 16:51
Ajout d'un alias de first_name vers name pour l'envoie des publications par email clucien 28 Mar 08:29