When opening Nextcloud in the browser, i receive a 500 response code.
Curl output:
$ curl -i https://my-domain.tld
HTTP/2 500
server: nginx/1.18.0 (Ubuntu)
date: Tue, 08 Apr 2025 18:52:08 GMT
content-type: text/html; charset=UTF-8
content-length: 0
[...]
Today I switched the docker container hosting nextcloud-aio (I created a new one and deleted the old one, to switch to docker-compose and change some exposed ports).
To my surprise, the new Nextcloud picked of the old data (same backups, passphrase etc).
So I updated all containers. The dashboard gives me “healthy” status for all of them, however when I open nextcloud in my browser I get a 500 error.
I think it has something to do with this error log from the nextcloud container:
NOTICE: PHP message: PHP Fatal error: Declaration of OCA\WebAppPassword\Controller\ShareAPIController::createShare(?string $path = null, ?int $permissions = null, int $shareType = -1, ?string $shareWith = null, string $publicUpload = 'false', string $password = '', ?string $sendPasswordByTalk = null, ?string $expireDate = null, string $note = '', string $label = '', ?string $attributes = null, ?string $sendMail = null): OCP\AppFramework\Http\DataResponse must be compatible with OCA\Files_Sharing\Controller\ShareAPIController::createShare(?string $path = null, ?int $permissions = null, int $shareType = -1, ?string $shareWith = null, ?string $publicUpload = null, string $password = '', ?string $sendPasswordByTalk = null, ?string $expireDate = null, string $note = '', string $label = '', ?string $attributes = null, ?string $sendMail = null): OCP\AppFramework\Http\DataResponse in /var/www/html/custom_apps/webapppassword/lib/Controller/ShareAPIController.php on line 109
However I could not find any mention of this error elsewhere online.
Versions
I could not find any information on how to determin the nextcloud version & apache version running, if these versions are needed, i’ appreciate a link on how to determine them
- Nextcloud AIO version
- v10.11.0
- Operating system and version (e.g., Ubuntu 24.04):
- Ubuntu 22.04.5
- Reverse proxy and version
- nginx
1.18.0
- nginx
- PHP version (e.g, 8.3):
replace me
- Is this the first time you’ve seen this error? (Yes / No):
- Yes
- When did this problem seem to first start?
- After successfully updating the containers & changing docker-aio container
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
- AIO
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- No