The following page gives some tips on how to manage Nextcloud on your Gandi Simple Hosting instance.
You have the possibility to use the occ tool (for OwnCloud Console) provided by Nextcloud to manage your installation via the emergency console of your Simple Hosting Instance.
You will find a list of all commands available via the official Nextcloud documentation.
Once the emergency console of your instance has been activated and you are connected to it, go to the root directory of your website:
Start the Nextcloud update procedure with the following command:
php occ upgrade
If necessary, deactivate the maintenance mode at the end of the upgrade operation:
php occ maintenance:mode --off
In the administration section of Nextcloud you will see some security and setup warnings. The following sections list these warnings and explains how to address them.
You can access the adminstration section of Nextcloud at https://[your.domain.here]/settings/admin/overview, where you replace [your.domain.here] with the domain where you access Nextcloud.
The PHP memory limit is below the recommended value of 512MB.
For Simple Hosting instances, this value is set to 128M, except for the XXL size where it is set to 256M. You can find more information about this on our documentation page on editing your PHP configuration file.
However, this will have no impact on the functionality of your NextCloud instance.
Unsecured access to the site via HTTP. It is strongly recommended that you configure your server to require HTTPS instead.
You can modify the SSL strategy of your website via its management page to force the use of HTTPS only protocol.
The “Strict-Transport-Security” HTTP header is not set to at least “15552000” seconds.
The HTTP header “Strict-Transport-Security” can be forced by editing the .htaccess file of your site and adding the following lines:
<IfModule mod_headers.c> Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains" </IfModule>
The PHP OPcache is not properly configured.
The opcache values can be set by editing the php.ini file, as indicated on the page of our documentation page on editing your PHP configuration file.
You will then need to add the following lines:
opcache.enable=1 opcache.enable_cli=1 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=10000 opcache.save_comments=1 opcache.revalidate_freq=1
Since the value of opcache.memory_consumption is defined according to the size of your instance (48M for S+, 96M for M, 192M for L, etc), the message about opcache will remain displayed, since it is not possible to define exactly 128.
However, again, this does not affect the performance of your NextCloud instance.