Difference between revisions of "Nextcloud"

From wiki
Jump to navigation Jump to search
Line 22: Line 22:
 
post_max_size = 16G
 
post_max_size = 16G
 
</code>
 
</code>
 +
As my nextcloud server is a synology diskstation:
 +
 +
vi /volume1/@appstore/PHP7.2/misc/php-fpm.ini
 +
 +
/usr/syno/sbin/synoservice --restart <service>
 +
 +
 
;Change nginx setting for the nextcloud server
 
;Change nginx setting for the nextcloud server
 
<code>client_max_body_size 0</code>
 
<code>client_max_body_size 0</code>
 
:This will disable the checking of body size. The php settings rule.
 
:This will disable the checking of body size. The php settings rule.

Revision as of 15:19, 30 May 2020

An opensource private cloud solution [1].

Installation

Installation is as simple as deploying a new web-site. Tips for installing on Synology bit outdated using php7

  • The package can be installed in the root of a (virtual) webserver.
  • The configuration is in <webroot>/config/config.php. To (re)start the initialization:
  1. (re)move the config file
  2. delete all tables in the nextcloud database
  3. put a file named CAN_INSTALL in the config directory.
  4. browse to your nextcloud webserver
  • When you have unix-sockets enabled use localhost:<socketpath> as dbhost

Allow larger files to be uploaded

Change php settings:

upload_max_filesize = 16G

post_max_size = 16G As my nextcloud server is a synology diskstation:

vi /volume1/@appstore/PHP7.2/misc/php-fpm.ini

/usr/syno/sbin/synoservice --restart <service>


Change nginx setting for the nextcloud server

client_max_body_size 0

This will disable the checking of body size. The php settings rule.