You are not logged in.

#1 2024-05-30 01:58:00

pigroy
Member
Registered: 2022-07-03
Posts: 9

PHP unavailable with uWSGI: "unavailable modifier requested: 14"

Hi everyone,

I'm currently going through the process of setting up a Nextcloud instance on my home server. I've chosen to use uWSGI with nginx. I've followed the wiki article (here) up to and including the nginx configuration, and now I've run into my first problem. nginx seems to be forwarding everything just fine, but the uWSGI logs show

May 29 19:43:26 myserver uwsgi[73585]: your server socket listen backlog is limited to 100 connections
May 29 19:43:26 myserver uwsgi[73585]: your mercy for graceful operations on workers is 60 seconds
May 29 19:43:26 myserver uwsgi[73585]: mapped 802120 bytes (783 KB) for 10 cores
May 29 19:43:26 myserver uwsgi[73585]: *** Operational MODE: preforking ***
May 29 19:43:26 myserver uwsgi[73585]: *** no app loaded. going in full dynamic mode ***
May 29 19:43:26 myserver uwsgi[73585]: *** uWSGI is running in multiple interpreter mode ***
May 29 19:43:26 myserver uwsgi[73585]: spawned uWSGI master process (pid: 73585)
May 29 19:43:26 myserver systemd[1]: Started uWSGI service unit.
May 29 19:43:26 myserver uwsgi[73585]: spawned uWSGI worker 1 (pid: 73586, cores: 1)
May 29 19:43:41 myserver uwsgi[73586]: -- unavailable modifier requested: 14 --

When a request is made to my domain, the nginx logs then show

May 29 19:43:41 myserver nginx[73252]: 2024/05/29 19:43:41 [error] 73252#73252: *3 upstream prematurely closed connection while reading response header from upstream, client: *.*.*.*, server: my.domain, request: "GET /index.php HTTP/2.0", upstream: "uwsgi://unix:/run/uwsgi/nextcloud.sock:", host: "my.domain", referrer: "https://my.domain/" 

My IP and domain have been replaced for obvious reasons.

After looking through some docs, it looks like the error "unavailable modifier requested" comes up when uWSGI can't load a certain module. This is confusing, because modifier 14 corresponds to the PHP module, which is loaded in my configuration. I can't seem to find any more information about this in the docs, and I can't find anyone who's run into the same issue.

Does anyone know what's going on? Let me know if there's any other information required; I'm completely in over my head at this point and I just want to get the instance up.

Offline

Board footer

Powered by FluxBB