michael, Huh. Weird thing happening for me on my instance today:
Every time I search for a remote post I get a
500
response back. Themastodon-web
log contains these lines:Feb 27 07:15:35 mstdn bundle[303256]: I, [2024-02-27T07:15:35.068592 #303256] INFO -- : [85d69f6b-1639-485d-b257-7afad97453b8] method=GET path=/api/v2/search format=html controller=Api::V2::SearchController action=index status=500 allocations=13905 duration=104.73 view=0.00 db=7.69<br></br>Feb 27 07:15:35 mstdn bundle[303256]: F, [2024-02-27T07:15:35.068929 #303256] FATAL -- : [85d69f6b-1639-485d-b257-7afad97453b8]<br></br>Feb 27 07:15:35 mstdn bundle[303256]: [85d69f6b-1639-485d-b257-7afad97453b8] ActiveRecord::StatementInvalid (PG::InternalError: ERROR: must be superuser to use repack_trigger function<br></br>Feb 27 07:15:35 mstdn bundle[303256]: ):<br></br>
I’ve got elasticsearch installed and that seems to work just fine: searching for anything other than a url isn’t a problem.
Does anyone have any ideas?
What’s that
repack_trigger
function doing there?