NextcloudPi Update Fails Due to PHP Configuration
A NextcloudPi user encountered errors during an update to version 1.59 due to manual PHP installations and upgrades.
The user attempted to update NextcloudPi using `sudo ncp-update` and experienced issues stemming from a previously installed php8.3 and subsequent, unintended installations of php8.4 and php8.5.
The problems arose from the user’s manual updates to Nextcloud version 34.0.5 and PHP, bypassing the recommended NextcloudPi update process, which only supports Nextcloud version 33.x with NextcloudPi version 1.58.0.
Community members suggest setting a Pin-Priority for the Sury PHP repository and carefully managing PHP versions to avoid future conflicts during NextcloudPi updates, recommending keeping older versions available until compatibility is confirmed.