About :
Applicable models: TerraMaster x.64 series
Applicable TOS 4.x: 4.1.27 or later versions
App download: https://tmnascommunity.eu/download/nextcloud_okm
Required packages:
apache24 > 2.4.53.0
PHP81 > 8.1.7.0
MariaDB > 10.4.17.0 - optional
For upgrade, don't skip any major version (20.0.0.0, 21.0.0.0, 22.0.0.0 etc)
Module WebUI for additional settings can be accesses at
http(s)://yournasip:port/modules/Nextcloud_okm/www
In case you have additional app installed
After any upgrade version is installed, after the upgrade is completed, within Nextcloud WebUI restore your installed apps: go to Application control >> Restore apps
During setup choose this shared folder on your NAS as example, to store your data:
/mnt/md0/appdata/NextcloudData for TOS4
/Volume1/NextcloudData for TOS5
As in example above, use the full path in nextcloud setup (symlinks can cause issues as Nextcloud doesn't allow symlinks as default)
As from version 21.0.2 apc need to be enable in php.ini to run under cli
Go to module WebUI and from menu choose Configuration files >> Edit php.ini
Add this line apc.enable_cli = 1 at the beginnig of the file as below (if is not already there):
Code: Select all
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
apc.enable_cli = 1
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
After Nextcloud is configured, add this line on nextcloud config.
Code: Select all
'memcache.local' => '\OC\Memcache\APCu',
Code: Select all
'filelocking.enabled' => true,
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => '127.0.0.1',
'port' => 6379,
),
Convert file cache to big init
Stop Nextcloud module
Connect with SSH and run
Code: Select all
sudo -u www-data Nextcloud_okm occ db:convert-filecache-bigint
When is done, start Nextcloud module
Add missing indexes
Connect with SSH and run
Code: Select all
sudo -u www-data Nextcloud_okm occ db:add-missing-indices
About:
https://nextcloud.com
A safe home for all your data
Access & share your files, calendars, contacts, mail & more from any device, on your terms
How to manully install this app on TerraMaster application store?