*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

nextcloud 12

Webserver service.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
unicom
NewUser
NewUser
Posts: 7
Joined: 14 Mar 2017 05:12
Status: Offline

nextcloud 12

#1

Post by unicom » 25 Nov 2017 02:55

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 Tips & Ticks section and the documentation for more information.

I installed nextcloud latest on Nas4free latest build but receiving following errors.
Could anyone can help how to fix these erroe?

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…)
Your data directory and your files are probably accessible from the Internet. The .htaccess file is not working. It is strongly recommended 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.

This server has no working Internet connection: Multiple endpoints could not be reached. This means that some of the features like mounting external storage, notifications about updates or installation of third-party apps will not work. Accessing files remotely and sending of notification emails might not work, either. We suggest to enable Internet connection for this server if you want to have all features.
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.

No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our documentation.
The PHP OPcache is not properly configured. For better performance we recommend to use following settings in the php.ini:

opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1

User avatar
tony1
Moderator
Moderator
Posts: 172
Joined: 14 Jul 2016 19:04
Status: Offline

Re: nextcloud 12

#2

Post by tony1 » 25 Nov 2017 16:59

personally I think the best way to setup owncloud/nextcloud would be to use a virtual machine. Virtualization > VirtualBox
it will run fine in a virtual machine.
the virtualbox manual is also loaded with valuable information.

look at the nextcloud manual and it will give you the needed information on the proper installation and the necessary configuration corrections.

danielisgs
NewUser
NewUser
Posts: 1
Joined: 13 Dec 2017 08:16
Status: Offline

Re: nextcloud 12

#3

Post by danielisgs » 13 Dec 2017 08:28

This is my experience in establishing Nextcloud Server, Hope to help you ;)


Nextcloud on NAS4Free

Tools > File Editor

File Path : /usr/local/etc/php.ini
[
upload_max_filesize = 16G
post_max_size = 16G
max_file_uploads = 8192

File Path : /usr/local/etc/php/opcache.ini
[opcache]
zend_extension = opcache.so
opcache.enable=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1
opcache.save_comments=1

Tools > Execute Command
[
Command : fetch https://download.nextcloud.com/server/r ... .4.tar.bz2
Command : tar -xzvf /usr/local/www/nextcloud-12.0.4.tar.bz2
Command : mkdir -p /mnt/ada1/website
Command : mv -f /usr/local/www/nextcloud /mnt/ada1/website
Command : chmod -R 770 /mnt/ada1/website
Command : chown -R www:www /mnt/ada1/website
]

Services > Webserver
Document Root : /mnt/ada1/website/nextcloud
Additional Parameters :

$HTTP["url"] =~ "^/data/" {
url.access-deny = ("")
}
$HTTP["url"] =~ "^/nextcloud($|/)" {
dir-listing.activate = "disable"
}
server.modules += ( "mod_setenv" )
$HTTP["scheme"] == "https" {
setenv.add-response-header = ( "Strict-Transport-Security" => "max-age=63072000; includeSubdomains; ")
}

Tools > Execute Command
[
Command : rm /mnt/ada1/website/nextcloud/.websrv_htpasswd
]

Tools > File Editor
-------------------------------------------------------------------------------------
File Path : /mnt/ada1/website/nextcloud/config/config.php
add : 'memcache.local' => '\OC\Memcache\APCu',

Post Reply

Return to “WebServer”