NextCloud on Freenas 11.1

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
\\\
Ok,
Here's a problem I lived with since NC 11 and persist over updates to now lates version 15.
Getting a bi sick of these errors and have tried anything in my power to resolve this, but to no avail :(

A few key points...
* I've installed NC using Lighthttp in its own standard Freenas jail - i.e not using the plugins - Rational when I installed this using Lighttpd was that its not going to be heavily used so anything running with limited or as little system resources was of interest.
* I've found three versions of ".htaccess" on the system tied to the NC installation *jail* - Any changes to what I think is the one the server is using *i,e "/usr/local/www/nextcloud"'.htaceess" don't change anything! *
The root location specified in the lighthttp.conf points to "var.server_root = "/usr/local/www/nextcloud"
* I have tried to install newer versions of php but non seem to take affect - method used to install versions is basic pkg install xxxx *which php keep pointing to the old current version

The errors thrown have grown with each release and personally I think the documentation pointing to each issue suxxx big time

Is there anyone that can provide some step by step instructions on how to resolve each issue????

Like, do I need to login to the jail itself to perform some of the updates or can I simply login as root to issue db updates to add the BigInt field to the NC db????

This is the system warning screen thrown at me as we speak - tired seeing this, but obviously would like to resolve each issue, but not sure how to go about sorting each reported issue due to crappy NC documentation

***Should be noted that NC still runs and other than the warnings I havent noticed any issues

Currently running FreeNAS-11.1-U7

This is what NextCloud throws back under "System Overview"

Security & setup warnings

It's important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the linked documentation for more information.

There are some warnings regarding your setup.


    Your web server is not properly set up to resolve "/.well-known/caldav". Further information can be found in the documentation.
    Your web server is not properly set up to resolve "/.well-known/carddav". Further information can be found in the documentation.
    No memory cache has been configured. To enhance performance, please configure a memcache, if available. Further information can be found in the documentation.
    You are currently running PHP 7.0.22. Upgrade your PHP version to take advantage of performance and security updates provided by the PHP Group as soon as your distribution supports it.
    The PHP OPcache module is not loaded. For better performance it is recommended to load it into your PHP installation.
    The database is missing some indexes. Due to the fact that adding indexes on big tables could take some time they were not added automatically. By running "occ db:add-missing-indices" those missing indexes could be added manually while the instance keeps running. Once the indexes are added queries to those tables are usually much faster.
        Missing index "share_with_index" in table "oc_share".
        Missing index "parent_index" in table "oc_share".
        Missing index "owner_index" in table "oc_share".
        Missing index "initiator_index" in table "oc_share".
        Missing index "fs_mtime" in table "oc_filecache".
    This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them.
        imagick
    Some columns in the database are missing a conversion to big int. Due to the fact that changing column types on big tables could take some time they were not changed automatically. By running 'occ db:convert-filecache-bigint' those pending changes could be applied manually. This operation needs to be made while the instance is offline. For further details read the documentation page about this.
        activity.activity_id
        activity.object_id
        activity_mq.mail_id
        filecache.fileid
        filecache.storage
        filecache.parent
        filecache.mimetype
        filecache.mimepart
        filecache.mtime
        filecache.storage_mtime
        mimetypes.id
        storages.numeric_id



Please double check the installation guides ↗, and check for any errors or warnings in the log. 
\\\

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 (eg, 12.0.2): 15.0.4
Operating system and version (eg, Ubuntu 17.04): iX System FreeNAS-11.1-U7
Apache or nginx version (eg, Apache 2.4.25): n/a **** using Lighttpd
PHP version (eg, 7.1): 7.0.22 *but request a step by step guide how to update to later version and configure it so NC recognize it

The issue you are facing:

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

Steps to replicate it:

  1. Ongoing reported issues where references to documentation dont offer detailed info enough to resolve each issue *see separate message outlining issues

The output of your Nextcloud log in Admin > Logging:

PASTE HERE
Level App Message Time
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18 2019-02-24T21:05:21+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18 2019-02-24T21:05:21+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18 2019-02-24T21:05:20+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18 2019-02-24T21:05:20+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18 2019-02-24T21:05:20+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18 2019-02-24T21:05:19+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18 2019-02-24T21:05:19+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18 2019-02-24T21:05:19+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:19+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:18+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:18+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:18+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:17+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:17+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:17+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:17+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:16+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:16+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:16+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:15+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:15+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:15+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:15+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:14+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:14+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:14+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:13+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:13+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:13+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:13+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:12+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:12+0800
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/local/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

2019-02-24T21:05:12+08

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

PASTE HERE
<?php $CONFIG = array ( 'htaccess.RewriteBase' => '/', 'instanceid' => 'och39750hmp5', 'passwordsalt' => 'fwL2jj2nH+pSDnbZxorQfJjsHgo4Aa', 'secret' => '6TPcUQr6yeJ2S6B2e7aOhAOyD0FgAhdyYbIA4mW6Cw0fugZW', 'trusted_domains' => array ( 0 => '192.168.2.6', 1 => '203.59.226.209:8080', ), 'datadirectory' => '/usr/local/www/nextcloud/data', 'overwrite.cli.url' => 'https://192.168.2.6', 'overwriteprotocol' => 'https', 'dbtype' => 'mysql', 'version' => '15.0.4.0', 'dbname' => 'nextcloud', 'dbhost' => 'localhost:80', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'oc_spap', 'dbpassword' => 'rG5lSVHZIOYEUL8wYraJtPW+77tz6y', 'logtimezone' => 'UTC', 'installed' => true, 'mail_smtpmode' => 'smtp', 'mail_from_address' => 'spap', 'mail_domain' => 'iinet.net.au', 'mail_smtphost' => 'mail.iinet.net.au', 'mail_smtpport' => '465', 'maintenance' => false, 'theme' => '', 'logfile' => '/var/log/mailnextcloud.log', 'loglevel' => 0, 'updater.release.channel' => 'production', 'mail_smtpauthtype' => 'PLAIN', 'mail_smtpauth' => 1, 'mail_smtpname' => 'spap', 'mail_smtppassword' => '7h9DFW7fxE2mRJ', 'updater.secret' => '$2y$10$A3JAxnejlBsJ7Ly2TxKN7edq23MWRMFlHCWGyoYC9ZtLvxXYMt/xm', ); The output of your Apache/nginx/system log in `/var/log/____`: ``` PASTE HERE ``` ****from lighttpd error log *not using Apache nginx <?php $CONFIG = array ( 'htaccess.RewriteBase' => '/', 'instanceid' => 'och39750hmp5', 'passwordsalt' => 'fwL2jj2nH+pSDnbZxorQfJjsHgo4Aa', 'secret' => '6TPcUQr6yeJ2S6B2e7aOhAOyD0FgAhdyYbIA4mW6Cw0fugZW', 'trusted_domains' => array ( 0 => '192.168.2.6', 1 => '203.59.226.209:8080', ), 'datadirectory' => '/usr/local/www/nextcloud/data', 'overwrite.cli.url' => 'https://192.168.2.6', 'overwriteprotocol' => 'https', 'dbtype' => 'mysql', 'version' => '15.0.4.0', 'dbname' => 'nextcloud', 'dbhost' => 'localhost:80', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'oc_spap', 'dbpassword' => 'rG5lSVHZIOYEUL8wYraJtPW+77tz6y', 'logtimezone' => 'UTC', 'installed' => true, 'mail_smtpmode' => 'smtp', 'mail_from_address' => 'spap', 'mail_domain' => 'iinet.net.au', 'mail_smtphost' => 'mail.iinet.net.au', 'mail_smtpport' => '465', 'maintenance' => false, 'theme' => '', 'logfile' => '/var/log/mailnextcloud.log', 'loglevel' => 0, 'updater.release.channel' => 'production', 'mail_smtpauthtype' => 'PLAIN', 'mail_smtpauth' => 1, 'mail_smtpname' => 'spap', 'mail_smtppassword' => '7h9DFW7fxE2mRJ', 'updater.secret' => '$2y$10$A3JAxnejlBsJ7Ly2TxKN7edq23MWRMFlHCWGyoYC9ZtLvxXYMt/xm', );