[ Nextcloud ] Self-hosted productivity platform

Discussion on apps, protocols, APIs, specifications, and more. You are welcome to join us as a TOS app developer!
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

[ Nextcloud ] Self-hosted productivity platform

Post by outkastm »

Image

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.
Add cache memory

After Nextcloud is configured, add this line on nextcloud config.

Code: Select all

'memcache.local' => '\OC\Memcache\APCu',
Optional add also Redis mem cached in nextcloud config.

Code: Select all

'filelocking.enabled' => true,
'memcache.locking' => '\OC\Memcache\Redis',
 'redis' => array(
     'host' => '127.0.0.1',
     'port' => 6379,
      ),
Here below some warning messages that you can encounter and a way to fix them

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
It can take hours to complete.
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
Image


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?
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Nextcloud ][ 22.0.0.0 ] Self-hosted productivity platform that

Post by outkastm »

updated to 22.0.0.0 (major version)
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Nextcloud ][ 22.1.1.0 ] Self-hosted productivity platform

Post by outkastm »

updated to 22.1.1.0
User avatar
Jesuralem
Posts: 11
Joined: 22 Jan 2021, 17:00

Re: [ Nextcloud ][ 22.1.1.0 ] Self-hosted productivity platform

Post by Jesuralem »

Hi there, how can we upgrade ?
Do i just install the new version over the old one ?
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Nextcloud ][ 22.1.1.0 ] Self-hosted productivity platform

Post by outkastm »

Yes indeed.
After installing the new tpk, when you access the login page it will ask you to perform the update
User avatar
sanctimon
Posts: 98
Joined: 14 Nov 2021, 06:57

Re: [ Nextcloud ][ 22.2.3.0 ] Self-hosted productivity platform

Post by sanctimon »

I am on F5-221 and these instructions do not work for me. I can get into the control screen immediately after installation, but the module refuses to start and will not allow initial configuration.
Post Reply