server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: latest version 23.0.3 can not install on Ubuntu 22.04 as it requires PHP v8.0 but Ubuntu 22.04 comes with v8.1.2

Open langhha opened this issue 4 years ago • 2 comments

⚠️ This issue respects the following points: ⚠️

  • [X] This is a bug, not a question or a configuration/webserver/proxy issue.
  • [X] This issue is not already reported on Github (I've searched it).
  • [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • [X] I agree to follow Nextcloud's Code of Conduct.

Bug description

  • installed a new Ubuntu server with v22.04
  • this has PHP v8.1.2
  • downloaded latest Nextcloud server bundle, which is version 23.0.3
  • "occ" command or web interface to config fails with

This version of Nextcloud is not compatible with > PHP 8.0. You are currently running 8.1.2.

Installing an older release of PHP on Ubuntu 22.04, such as PHP v7.4 , is not possible due to conflicts with other Ubuntu package versions.

Steps to reproduce

  1. install Ubuntu 22.04
  2. install PHP (which is v8.1.2)
  3. install latest Nextcloud server bundle (which is v23.0.3)
  4. run the "occ maintenance:install"

Expected behavior

Latest Nextcloud server bundle, should support latest PHP versions of Ubuntu 22.04 ;

Installation method

Manual installation

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

No response

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

No response

What user-backends are you using?

  • [ ] Default user-backend (database)
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Configuration report

# sudo -u www-data php occ config:list system
This version of Nextcloud is not compatible with > PHP 8.0.<br/>You are currently running 8.1.2.
# php occ config:list system
This version of Nextcloud is not compatible with > PHP 8.0.<br/>You are currently running 8.1.2.
# ./occ config:list system
This version of Nextcloud is not compatible with > PHP 8.0.<br/>You are currently running 8.1.2.

List of activated Apps

# sudo -u www-data php occ app:list
This version of Nextcloud is not compatible with > PHP 8.0.<br/>You are currently running 8.1.2.
# php occ app:list
This version of Nextcloud is not compatible with > PHP 8.0.<br/>You are currently running 8.1.2.
# ./occ app:list
This version of Nextcloud is not compatible with > PHP 8.0.<br/>You are currently running 8.1.2.

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

Related to #29287

langhha avatar Apr 12 '22 21:04 langhha

Nextcloud 24 supports it.

J0WI avatar May 13 '22 17:05 J0WI

So I would close this because NC24 is out now...

szaimen avatar May 13 '22 17:05 szaimen