Nextcloud Settings

Hi all,

I did setup a new NS8 instance for testing today in a VM. After installing the nextcloud app, I found several warnings in the admin overview:

  1. One or more mimetype migrations are available. Occasionally new mimetypes are added to better handle certain file types. Migrating the mimetypes take a long time on larger instances so this is not done automatically during upgrades. Use the command occ maintenance:repair --include-expensive to perform the migrations.
  2. Das PHP OPcache-Modul ist nicht ordnungsgemäß konfiguriert. Der OPcache-Puffer ist fast voll. Um sicherzustellen, dass alle Skripte im Cache gehalten werden können, wird empfohlen, “opcache.memory_consumption” in der PHP-Konfiguration mit einem Wert höher als “128” zu setzen… Weitere Informationen findest du in der Dokumentation :arrow_upper_right:
  3. Für deine Installation ist keine Standard-Telefonregion festgelegt. Dies ist erforderlich, um Telefonnummern in den Profileinstellungen ohne Ländercode überprüfen zu können. Um Nummern ohne Ländervorwahl zuzulassen, füge bitte „default_phone_region“ mit dem entsprechenden ISO 3166-1-Code der Region zu deiner Konfigurationsdatei hinzu. Weitere Informationen findest du in der Dokumentation :arrow_upper_right:

To address 1., I executed as root in the terminal runagent -m nextcloud1 occ maintenance:repair --include-expensive, which however does not fix the issue.

I do not know how to address 2., as I don’t know where to configure the OPCache Size in the containers. Can someone give a hint how this is done in NS8?

Same holds true for 3.: where can I set the default phone region of my install in the proper way such that it survives updates of the container?

Thank you!

1 Like

Non important warnings.

↑ Upstream bug: [BUG] occ maintenance:repair --include-expensive without sucess · Issue #466 · linuxserver/docker-nextcloud · GitHub. Should be fixed with a future release.


Adapted to ns8 (from the info on old ns7’s wiki):

runagent -m nextcloud1 occ config:system:set default_phone_region --value="DE"

…where DE has to be replaced with the corresponding ISO-3166-1 country code.

3 Likes

I can confirm.

Interesting, thank you for the information.

That worked for me, thank you.

Since the php opcache message disappeared after a server reboot, nextcloud seems currently to be working fine for me.