Hey there!
I've installed dokuwiki on my arch linux machine with nginx and php-fpm from the arch repository with the help of the arch wiki page.
Unfortunately it's very slow. So slow, that I can't install the update from 2023-04-04 "Jack Jackrum" to 2023-04-04a "Jack Jackrum" because I get a time out. The unpacking of the upgrade to the new version for example takes 1 minute and 25 seconds. After that I get the time out and this error is logged:
FastCGI sent in stderr: "PHP message: PHP Fatal error: Maximum execution time of 60 seconds exceeded in /var/lib/dokuwiki/plugins/upgrade/helper.php on line 325" while reading upstream, client: ****, server: ****, request: "POST /doku.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "****:8002", referrer: "http://****:8002/doku.php"
I've got several other services running on the same host which are all running reasonable fast. Also I've got pi-hole running with the same webserver (Nginx) and php-fpm installation which is running fine.
I suspect there's some kind of problem with the configuration but I'm not sure how debug this problem. Is there some kind of trace I can run to find out which parts of the stack are running slow?
My configuration:
- PHP (& php-fpm) 8.2.9
- nginx 1.24.0
- linux 6.4.7
Dokuwiki check:
DokuWiki version: Release 2023-04-04 "Jack Jackrum"
PHP version 8.2.9
More than 32MB RAM (128 MB) available.
Old changelog exists
conf directory is writable
mb_string extension is available and will be used
Valid locale LC_CTYPE=C.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C found.
Debugging support is disabled
You are currently logged in as ****
You are part of the groups admin, user
Your current permission for this page is 255
The current page can be created by the webserver
The current page is writable by you
The search index seems to be working
Server time seems to be okay. Diff: 0s