# Update of nextcloud fails

**URL:** https://dietpi.com/forum/t/update-of-nextcloud-fails/18182
**Category:** Troubleshooting
**Created:** [21 October 2023 12:11 UTC](https://dietpi.com/forum/t/update-of-nextcloud-fails/18182 "2023-10-21T12:11:35Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [21 October 2023 13:15 UTC](https://dietpi.com/forum/t/update-of-nextcloud-fails/18182/5 "2023-10-21T13:15:46Z")

</div>

> [@kusared](#):
>
> ```auto
> // Show warning if >= PHP 8.2 is used as Nextcloud is not compatible with >= PHP 8.2 for now
> if (PHP_VERSION_ID >= 80200)
> 
> ```

You can try to bypass the version check

```auto
sed -i 's/>= 80200/>= 80300/' /var/www/nextcloud/lib/versioncheck.php

```

hopefully this will allow update to 25.0.12 as a first step

I hope you have done a backup before playing on configs.

---

_[View the full topic](https://dietpi.com/forum/t/update-of-nextcloud-fails/18182)._
