Php errors with nextcloud 14.0.2

Hi,
after upgrading my nextcloud installation from 13.06 to 14.02 there are several error messages:

Nextcloud version (eg, 14.0.2.2):
Operating system and version (debian for raspberry pi):
PHP version (eg, 7.0.30):

my logs are flooded with the following messages, 3 times a second. I don’t know exactly what to do to solve this error.

Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /var/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18 2018-10-12T08:39:52+0200

Is this the first time you’ve seen this error? (Y/N): Yes

The overview section says the following:

> Es gibt einige Warnungen bei Deiner Systemkonfiguration.
> 
>     In der Datenbank fehlen einige Indizes. Auf Grund der Tatsache, dass das hinzufügen von Indizes in großen Tabellen einige Zeit in Anspruch nehmen wird, wurden diese nicht automatisch erzeugt. Durch das Ausführen von "occ db:add-missing-indices" können die fehlenden Indizes manuell hinzugefügt werden, während die Instanz weiter läuft. Nachdem die Indizes hinzugefügt wurden, sind Anfragen auf die Tabellen normalerweise schneller.
>         Fehlender Index "parent_index" in der Tabelle "oc_share".
>         Fehlender Index "fs_mtime" in der Tabelle "oc_filecache".
>     Der "Referrer-Policy" HTTP-Header ist nicht gesetzt auf "no-referrer", "no-referrer-when-downgrade", "strict-origin" oder "strict-origin-when-cross-origin". Dadurch können Verweis-Informationen preisgegeben werden. Siehe die W3C-Empfehlung.
> 
> Bitte überprüfe noch einmal die Installationsanleitungen ↗ und kontrolliere das Protokoll auf mögliche Fehler oder Warnungen.
> 
> Überprüfe die Sicherheit Deiner Nextcloud über unseren Sicherheitsscanner ↗. 

I hope someone can help me.. 

David

You have to install the php-intl extension.

As for the other warnings. You can create the missing indices with the command the warning shows.

occ db:add-missing-indices

You can get rid of the Referrer-Policy warning by setting:

Header set Referrer-Policy "no-referrer"

to your vhost. For nginx it would be something similar.

cheers
t.

i put it there again:
/etc/httpd/conf/webapps.d/nextcloud.conf

# nextcloud configuration
Alias /nextcloud /srv/nextcloud
<Directory /srv/nextcloud>
    DirectoryIndex index.html index.php
    AllowOverride All
    Options FollowSymlinks
    Require all granted
    Header always set Strict-Transport-Security "max-age=31556926; includeSubDomains; preload"
    Header always set Referrer-Policy "no-referrer"
</Directory>
    Redirect 301 /.well-known/carddav /nextcloud/remote.php/dav
    Redirect 301 /.well-known/caldav /nextcloud/remote.php/dav

webapps.d should be in ubuntu same, just add easy the line

 Header always set Referrer-Policy "no-referrer"  

but you can make it more secure, it is give differed Referrer-Policy…
in your webapp config
and it shoul works… (hope i am) *bg*

best regards
Blacky

Same problem in my case with the same php error.

I installed php-intl and update it to php7.2.intl to no avail.

Hi,
thank you for your support. That solved my problems.
For the problem with the php-intl logs I had to update my NextCloudPi

sudo nct-update

To fix the database errors, I followed the steps in this thread:
https://help.nextcloud.com/t/some-indices-are-missing-in-the-database-how-to-add-them-manually/37852/2

Thank you.