Php help issue after updating ubuntu server

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version 17.0.4.2:
Operating system and version Ubuntu 20.04 LTS (GNU/Linux 5.4.0-29-generic x86_64):
Apache or nginx version _Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f :
PHP version _ 7.4.3
:

The issue you are facing:
When I start Nextcloud in the web browser I get
This version of Nextcloud is not compatible with > PHP 7.3.
You are currently running 7.4.3.
Is this the first time you’ve seen this error? (Y/N):
This is the first time
Steps to replicate it:

  1. goto https://cloud.sturtz.ml/index.php/

The output of your Nextcloud log in Admin > Logging:

{"reqId":"3Ej3HV8oINMcVOJUdVTs","level":3,"time":"2020-04-03T17:38:31+00:00","remoteAddr":"192.168.0.4","user":"nsturtz","app":"PHP","method":"POST","url":"\/index.php","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/html\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.149 Safari\/537.36","version":"17.0.4.2"}
{"reqId":"fClK96Syh19X7n6PRhJq","level":3,"time":"2020-04-03T17:38:48+00:00","remoteAddr":"192.168.0.4","user":"nsturtz","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/html\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.149 Safari\/537.36","version":"17.0.4.2"}
{"reqId":"9BiG9u3aqnmNPg4D6Bth","level":3,"time":"2020-04-03T17:38:49+00:00","remoteAddr":"192.168.0.4","user":"nsturtz","app":"PHP","method":"GET","url":"\/index.php\/css\/core\/6760-946a-css-variables.css?v=db81cddf52fdb3c8ca1e4c859e214124-0a63d24f-0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/html\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.149 Safari\/537.36","version":"17.0.4.2"}
{"reqId":"j0xrW8kDtKGG6cRoNEzV","level":3,"time":"2020-04-03T17:38:49+00:00","remoteAddr":"192.168.0.4","user":"nsturtz","app":"PHP","method":"GET","url":"\/index.php\/css\/core\/6760-946a-server.css?v=db81cddf52fdb3c8ca1e4c859e214124-0a63d24f-0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/html\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.149 Safari\/537.36","version":"17.0.4.2"}
{"reqId":"LgWC4pSOJiv2cuif17FZ","level":3,"time":"2020-04-03T17:38:49+00:00","remoteAddr":"192.168.0.4","user":"nsturtz","app":"PHP","method":"GET","url":"\/index.php\/css\/notifications\/daf8-946a-styles.css?v=db81cddf52fdb3c8ca1e4c859e214124-0a63d24f-0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/html\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.149 Safari\/537.36","version":"17.0.4.2"}
{"reqId":"DzKroxPzDM3TkVMbQw1J","level":3,"time":"2020-04-03T17:38:50+00:00","remoteAddr":"192.168.0.4","user":"nsturtz","app":"PHP","method":"GET","url":"\/index.php\/css\/core\/6760-946a-results.css?v=db81cddf52fdb3c8ca1e4c859e214124-0a63d24f-0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/html\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.149 Safari\/537.36","version":"17.0.4.2"}
{"reqId":"buxE1ftaSq6tJtlrcMMl","level":3,"time":"2020-04-03T17:38:50+00:00","remoteAddr":"192.168.0.4","user":"nsturtz","app":"PHP","method":"GET","url":"\/index.php\/css\/files\/4039-946a-merged.css?v=db81cddf52fdb3c8ca1e4c859e214124-0a63d24f-0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/html\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.149 Safari\/537.36","version":"17.0.4.2"}
{"reqId":"2NjxjVWJY96hwcwHilAK","level":3,"time":"2020-04-03T17:38:50+00:00","remoteAddr":"192.168.0.4","user":"nsturtz","app":"PHP","method":"GET","url":"\/index.php\/css\/activity\/e2ca-946a-style.css?v=db81cddf52fdb3c8ca1e4c859e214124-0a63d24f-0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/html\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.149 Safari\/537.36","version":"17.0.4.2"}
{"reqId":"XM7Z4HnTIF9tgCHdkP0K","level":3,"time":"2020-04-03T17:38:50+00:00","remoteAddr":"192.168.0.4","user":"nsturtz","app":"PHP","method":"GET","url":"\/index.php\/css\/text\/872c-946a-icons.css?v=db81cddf52fdb3c8ca1e4c859e214124-0a63d24f-0","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/html\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.149 Safari\/537.36","version":"17.0.4.2"}
{"reqId":"3Mkon5pzcxjW75O9uEkV","level":3,"time":"2020-04-03T17:38:50+00:00","remoteAddr":"192.168.0.4","user":"nsturtz","app":"PHP","method":"GET","url":"\/index.php\/css\/icons\/icons-vars.css?v=1585935520","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/html\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.149 Safari\/537.36","version":"17.0.4.2"}
I don't know how much you need so here the log file, I coped it away from the data dir

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'trusted_domains' => 
  array (
    0 => 'cloud.sturtz.ml',
  ),
  'datadirectory' => '/var/data',
  'dbtype' => 'mysql',
  'version' => '17.0.4.2',
  'overwrite.cli.url' => 'https://cloud.sturtz.ml/',
  'dbname' => 'cloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'installed' => true,
  'theme' => '',
  'loglevel' => 2,
  'maintenance' => false,
  'mail_smtpsecure' => 'ssl',
  'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' => 
  array (
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
    0 => 'guest_app',
  ),
  'htaccess.RewriteBase' => '/',
);



The output of your Apache/nginx/system log in /var/log/____:

[Sat May 09 00:00:05.604260 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:00:05.604300 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:02:39.404437 2020] [php7:notice] [pid 13814] [client 172.69.68.154:57512] PHP Question2Answer more info: Methods with the same name as their class will not be constructors in a future vers>
[Sat May 09 00:05:30.025363 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:05:30.079686 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:05:30.079705 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:03.094669 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:03.145270 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:03.145295 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:05.807306 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:05.870199 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:05.870225 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:10.326480 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:10.382880 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:10.382905 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:17.841557 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:17.903087 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:17.903105 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:23.674244 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:23.731399 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:23.731421 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:26.101286 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:26.173211 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:26.173232 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:30.594686 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:30.662188 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:30.662213 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:34.831795 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:34.895882 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:34.895908 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:37.188334 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:37.245442 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:37.245465 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:39.413218 2020] [php7:notice] [pid 14158] [client 108.162.221.150:46494] PHP Question2Answer more info: Methods with the same name as their class will not be constructors in a future ve>
[Sat May 09 00:07:41.634947 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:41.709974 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:41.709999 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:45.030304 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:45.093114 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:45.093137 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:49.428790 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:49.500186 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:49.500212 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:53.000914 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:53.066399 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:53.066424 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:55.118530 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:55.167942 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:55.167969 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:07:59.561762 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:07:59.647206 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:07:59.647231 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:08:01.897725 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:08:01.960904 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:08:01.960930 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:08:06.650143 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart
[Sat May 09 00:08:06.739524 2020] [mpm_prefork:notice] [pid 3169] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Sat May 09 00:08:06.739546 2020] [core:notice] [pid 3169] AH00094: Command line: '/usr/sbin/apache2'
[Sat May 09 00:08:08.989662 2020] [mpm_prefork:notice] [pid 3169] AH00171: Graceful restart requested, doing restart


Hello @sturtz_nate ,

welcome to the community of Nextcloud.

You started a topic in support category.

Unfortunately you ignored the template and a lot of information to help you is missing.

Please add all necessary information like Nextcloud version, webserver type and version, os version.

Without additional information the community members cannot help you .

1 Like

Is this better?

No. Submit the nextcloud.log and the php log.

1 Like

How much of the nextcloud log do you need?

Is that better?

No because I’m not visiting your website.

I got to go, will check back tonight if you’ve posted the logs correctly.

1 Like

You seems to be starting from scratch - Ubuntu 20.04 is just few weeks old.
Why did you use Nextcloud 17, not 18? With v.17 you’d not have the problem of PHP being too new…

This version of Nextcloud is not compatible with > PHP 7.3.

Login to Ubuntu and install PHP 7.3…
Or - maybe better - download and upgrade to v.18 from the command line…

1 Like

I have been running nextcloud for about 3 mounths.

The error in the nextcloud log is very helpful and tell you what is the problem.
You should search on this forum about the « You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead » or on google.

Because now that you know how to look at nextcloud logs, you should know the first rule that make this discord more readable : searching before creating a new topic.
I don’t blame you because before you didn’t know how to search.

One last thing, forget about the word Urgent because it’s a free helpful forum, saying please it’s urgent won’t change anything and can be annoying for others.

Tell us if you don’t understand the answer you will find on this INTL problem.

2 Likes

Ok so I ran apt install php7.4-intl then I ran systemctl reload apache2 and I still get the same error

And also when I look at the log the newest entry is from april 3rd

So you don’t have this error if the last is from the 3rd of April ?

1 Like

When I go to my cloud on the web https://cloud.sturtz.ml I get this

This version of Nextcloud is not compatible with > PHP 7.3.
You are currently running 7.4.3.

Does this answer you question?

Ahaha ! I’m not the only one who get trolled by this. Why you didn’t tell it before ?

You are using v18 or v17 ?
Did you disabled all apache2 php 7.3 modules ?

1 Like

Nextcloud version 17.0.4.2
And yes I did, apache2 would not start with the PHP 7.3 mods enabled

if i run a2enmod php7.3 && systemctl reload apache2 I get ```Job for apache2.service failed because the control process exited with error code.

See “systemctl status apache2.service” and “journalctl -xe” for details.```

Excuse me i misread.
V17 won’t work with php 7.4.
V18 yes.
So You have the choice :
Install nextcloud 18 or
Remove php 7.4 and tell us logs about your problems with apache2 / php7.3

Type in your console
journalctl -xe
you will get clues

1 Like

How do I install php 7.3?