Migrating OwnCloud to NextCloud - PHP Version Issue

I am trying to migrate OwnCloud to NextCloud using the online updater. Everything worked great until it said it was done and I am supposed to go to the install to complete the migration.

I am getting this error:

This version of Nextcloud is not compatible with > PHP 7.2.
You are currently running 8.1.27.

Now I don’t know what to do next because I am afraid the migration will be partially completed if I do anything without asking the community.

Any recommendation would be welcomed!

FYI We are running CloudLinux and I have full access to the server.

Your post is missing essential information:

  • which operating system
  • which web server
  • if Apache2, which php SAPI
  • from Owncloud version
  • to Nextcloud version

Broadly speaking, this are the steps:

  • install the required php (7.2)
  • connect the web server to the new php
  • continue migration and update.

The new (old 7.2) php can then simply be removed again after Nextcloud has been updated to new versions that no longer require that version.

If you are on an Ubuntu or Debian system, you can use → the php-updater script ← to install new (or old) versions.


Much and good luck,
ernolf

1 Like