NAS 3rd Party
[ Nextcloud ][ ] OwnCloud fork - Printable Version

+- NAS 3rd Party (
+-- Forum: Thecus NAS (
+--- Forum: 3rd Party Modules - Paid (
+--- Thread: [ Nextcloud ][ ] OwnCloud fork (/showthread.php?tid=27)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

[ Nextcloud ][ ] OwnCloud fork - outkastm - 21-04-2017

[Image: unnamed.png]

Thecus_Nextcloud is available for:

x64_OS5/OS7 - last version
x86_OS5/OS6 - last version

"You have not unlocked the download links. Read here to check how you can unlock them."


apache24 >
MariaDB >
Redis > optional

During setup choose a shared folder on your NAS to store your data (/raid/data/$name_of_your_share). After upgrade you can retrive your data

Guide to use Cron as background job

Add cache memory

After Nextcloud is configured, add this line on nextcloud config.
'memcache.local' => '\OC\Memcache\APCu',

Optional for x64 platform and x86 over version, add also Redis mem cached in nextcloud config. Redis module have to be installed and running.
'filelocking.enabled' => true,
'memcache.locking' => '\OC\Memcache\Redis',
 'redis' => array(</br>
     'host' => '',</br>
     'port' => 6379,

Convert file cache to big init

Stop Nextcloud module
Connect with SSH and run
cd /raid/data/module/Nextcloud_okm/bin/nextcloud
/raid/data/module/apache24/sys/bin/php -c /raid/data/module/Nextcloud_okm/bin/php.ini 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
cd /raid/data/module/Nextcloud_okm/bin/nextcloud
/raid/data/module/apache24/sys/bin/php -c /raid/data/module/Nextcloud_okm/bin/php.ini occ db:add-missing-indices

Increase PHP memory size to minimum recomended 512M

Go to module WebUI and from menu choose Configuration files >> Edit php.ini
Find this line
memory_limit = 128M
and replace with
memory_limit = 512M


A safe home for all your data
Access & share your files, calendars, contacts, mail & more from any device, on your terms

Nextcloud puts you in control
Nextcloud puts your data at your fingertips, under your control. You store your photos, calendar, contacts and documents on a server of your choosing, be it at home, a rented server or at one of our providers. Your existing data can stay on that FTP drive at work, dropbox or a NAS you have at home, while you access it through Nextcloud.
A trusted solution giving you access to all data you care about in one convenient place!
[Image: serverwebui.png]

File access and sharing.Your files everywhere
Nextcloud gives you access to all your files wherever you are and whatever device you use.

The easy web interface allows you to share files with other users on your server, to create and send password protected public links, to let others upload files to your cloud and to get notifications on your phone and desktop when a user on another cloud server shares files directly with you. And you can do all these things from the desktop or mobile clients, too.

Nextcloud makes sharing and collaboration easy!

Security and control. Share on your terms
With Nextcloud, system administrators can control and direct the flow of data between users on a server. Rule based file tagging and responding to these tags as well as other triggers like physical location, user group, file properties and request type enables administrators to specifically deny access to, convert, delete or retain data following business or legal requirements.

Features including our monitoring app, 2-factor authentication, brute force protection and our Eur 5000 security bug bounty program give you the highest level of security and protection against privacy breaches.

Nextcloud puts you in control of your data and keeps it safe.
[Image: file_access_control_wee.png]

Monitoring your Nextcloud server
The Server Information app provides a way for admins to monitor the health and performance of a Nextcloud system. Besides the graphical UI, an API endpoint provided makes it possible for system administrators to import this data in their monitoring app so they can keep an eye on Nextcloud operations from the same place they monitor the rest of their infrastructure.
[Image: monitoring_wee.png]

Mobile and desktop clients
Nextcloud clients for Android, iOS and desktop systems allow you to sync and share files, in a fully secure way through an encrypted connection. The mobile clients feature automatic upload of pictures and videos you take and can synchronize select files and folders. The clients can handle multiple accounts, show all activity happening on your server and notify you of new events such as the availability of new shares.

While not all clients support all features yet, here is a non-exhaustive list of what you can do today:

Perform file operations such as rename, delete and move
Show previews of documents, photos and videos and choose between list and grid view
Mark files as favourites to keep them in sync with the server and available offline
Upload pictures taken with your phone's camera automatically
Share files directly with users on your Nextcloud, with other cloud servers or via public link
Get notified of shares or other events
Show all activity related to your files

External Storage
The external storage feature of Nextcloud gives you access to your data wherever it is. Nextcloud can access files stored with a wide variety of popular cloud service providers such as Amazon, Google and Dropbox, but you can also access them using standard protocols such as (S)FTP, WebDAV and more.

The Encryption App can encrypt data at rest for both local and remote storage, protecting data stored on networks outside of your infrastructure. Keys can be handled by an external key management server or stored locally, on the server. Nextcloud will keep your data where it is and retrieve it over a secure communication channel whenever you need to access it.
[Image: externalstorage.png]

External storage features:

Support for SWIFT, (S)FTP, WebDAV, Amazon S3, Google Drive, Dropbox, SMB/CIFS/Windows Network Drive, Sharepoint and OpenStack Object Storage (Swift).
Full server side encryption with optional external key management
Encryption can be enabled or disabled for each external storage system
Administrators can control the list of external storage types users have access to
[Image: externalstorage2.png]

Calendar and Contacts

The Nextcloud Calendar and Contacts apps allow you to store, sync and share your plans and contacts. You can share with users or groups on your server or sync the calendar or contacts with your devices and access them wherever you are.
The Calendar and Contacts app feature:

Easy to use interface
Private and shared calendars and addressbooks with permissions management
CalDAV and CardDAV sync with third party clients both on mobile and desktop (i.e with Thunderbird)
[Image: calendar.png]

[Image: contacts.png]

RE: [Nextcloud][] OwnCloud fork - outkastm - 03-05-2017

x64 updated to
fixed redis startup

RE: [Nextcloud][] OwnCloud fork - outkastm - 04-05-2017

x64 updated to

RE: [Nextcloud][] OwnCloud fork - outkastm - 15-05-2017

updated to
x86 ported to apache24

RE: [Nextcloud][] OwnCloud fork - outkastm - 18-05-2017

updated to

RE: [Nextcloud][] OwnCloud fork - outkastm - 22-05-2017

updated to
12.0.0 final

RE: [Nextcloud][] OwnCloud fork - NogNeetMachinaal - 26-05-2017

Hi OutKastM,

After updating Nextcloud to version I encountered the following messages:
(1) - Some files have not passed the integrity check. Further information on how to resolve this issue can be found in our documentation. (List of invalid files… / Rescan…)
(2) - Your data directory and your files are probably accessible from the Internet. The .htaccess file is not working. We strongly suggest that you configure your web server in a way that the data directory is no longer accessible or you move the data directory outside the web server document root.
(3) - The "Strict-Transport-Security" HTTP header is not configured to at least "15552000" seconds. For enhanced security we recommend enabling HSTS as described in our security tips.

What does it take to fix these?
Please note that the error log shows:
[Fri May 26 16:33:00.857702 2017] [ssl:warn] [pid 25788] AH01909: server certificate does NOT include an ID which matches the server name.

Cheers - Will

Hi OutKastM,
Besides the messages mentioned previously, I also need to re-enable the Nextcloud apps I'm working with.
It looks like this still isn't fixed?

Grtz - Will

RE: [Nextcloud][] OwnCloud fork - outkastm - 26-05-2017

FYI, Last version is,
Let's start one by one

1) it works following my guide ?
2) Your data is placed inside the Nextcloud module ? You didn't create a folder for data in /raid/data/nextcloud as example, when you first setup nextcloud ? If you still want to keep the data folder inside, edit httpd24.conf from module WebUI menu. Search for this segment:

   # AllowOverride controls what directives may be placed in .htaccess files.
   # It can be "All", "None", or any combination of the keywords:
   #   AllowOverride FileInfo AuthConfig Limit
   AllowOverride None
<IfModule mod_dav.c>
 Dav off
and modify like this AllowOverride line

   # AllowOverride controls what directives may be placed in .htaccess files.
   # It can be "All", "None", or any combination of the keywords:
   #   AllowOverride FileInfo AuthConfig Limit
   AllowOverride All
<IfModule mod_dav.c>
 Dav off

3)  From module WebUI menu, edit httpd-ssl24.conf, search for this segment

#   General setup for the virtual host
DocumentRoot "/raid/data/module/Nextcloud_okm/bin/nextcloud"
ErrorLog "/raid/data/module/Nextcloud_okm/bin/error_log"
TransferLog "/raid/data/module/Nextcloud_okm/bin/access_log"

and add below code right after
<IfModule mod_headers.c>
     Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"

And your last question, due to the fact that saving installed apps lead to an issues with file integrity, these have to be restored after the upgrade process within Nextcloud is completed. From module WebUI menu select Application control >> Restore Apps. This information is in the module WebUI

RE: [Nextcloud][] OwnCloud fork - Timeforsmilin - 02-07-2017

Strike 3!
2017/07/02 13:19:00: The App will install/upgrade, please do not reload or close the admin UI
2017/07/02 13:19:23: App Name : [ NextCloud ]
2017/07/02 13:19:23: App Version: [ ]
2017/07/02 13:19:24: backup nextcloud Config File and data folder into /raid/data/module/backup/Nextcloud_okm/
2017/07/02 13:19:24: hasta la vista, baby !
2017/07/02 13:19:26: App(apache, above version: does not exist.
2017/07/02 13:19:26: App installation failed.

Apache shows the latest version to be the one installed, as does MariaDB, but the desktop app is now saying status update is forbidden, and app is black.

OS7 uses the structure of raid0/data, and I had edited the backup files some time ago to reflect this change from OS5; could this be part of the issue?

RE: [Nextcloud][] OwnCloud fork - outkastm - 02-07-2017

On OutkastM Repo module you have to update repository, to add NextCloud in AppCenter
Dependency has changed to apache 2.4.x but the last Nextcloud version in Thecus Repo have dependency set to old apache 2.2