.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/21674.json
Browser SafariSafari 26

Parameters

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

Headers

Host api.oblyk.org
Accept application/json, text/plain, */*
Cf-Ray a12490a1dc55f82e-CDG
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_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.5 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 2a02:842b:f9c0:bf01:34fa:b8a8:1de8:bb5c, 172.71.232.15
Cf-Connecting-Ip 2a02:842b:f9c0:bf01:34fa:b8a8:1de8:bb5c
X-Forwarded-Proto https
Httpapiaccesstoken [FILTERED]

Environment

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

Server

Load CPU RAM Swap Disk
oblyk-api Load avg 2% CPU 3% RAM 50% Swap <1% Disk 44%

Deployments 1

Ajout du chemin vers le spaces pour le eagerloading clucien 26 Jun 10:28