Nextcloud upgrade

I have Nextcloud 24.0.1 Wanted to upgrade to 24.0.4 but it fails (Parsing response failed.
Show detailed response

Deprecated: Return type of RecursiveDirectoryIteratorWithoutData::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/nextcloud/updater /index.php on line 40


There is also a warning in the overview: “The PHP memory limit is below the recommended value of 512MB.”

Although the file /etc/php/8.1/apache2/php.ini says “memory_limit = 512M”.

Hello @matti1,

Sadly enough your post is missing almost all specific technical information. Thanks for your post, but please take a little time to get acquainted with the forum and make a stronger effort to troubleshoot. It is the least you can do when asking others to help you:

  • Search your question as keywords on this forum. If you find something useful, link it directly into this post.
  • Search the internet using your issue as generic keywords. Specificity is king:
    • php modules missing Ubuntu Snap update
  • If you have an error message, repeat this process to search for your error on the forum and internet.
  • If you do not find an answer, you are likely using the wrong keywords. Try simplifying your search on the forum and internet even more.
    • nextcloud php modules missing
  • Once you’ve done this you should be able to edit and update your post with specific technical information we can use to help you.
  • Check Nextcloud admin documentation

Please edit and update your post to include:

  • Direct Links to any useful info pages, posts and other info you find.
  • Add screenshots to your post for context
  • If you have large log files to attach you can link to a pastebin
  • Fill out our support form and add into your post.

These are the exact same steps we volunteers will be following to help you! So, get to it!


OK, so the operating system is Ubuntu Server, with php 8.1.
Nextcloud is 24.0.1.
Below is an attachment with the content of php.config (php.odt).

PHP reports the following error: see attachment next_fehler.png

is that why the upgrade fails?

php.odt (71,2 KB)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.