- #NEXTCLOUD UNRAID SETUP INSTALL#
- #NEXTCLOUD UNRAID SETUP UPGRADE#
- #NEXTCLOUD UNRAID SETUP FOR ANDROID#
- #NEXTCLOUD UNRAID SETUP CODE#
It is not necessary to configure opcache here as this php.ini is only used by the occ command line tool and the background job, i.e. etc/webapps/nextcloud/php.ini open_basedir=/var/lib/nextcloud/data:/var/lib/nextcloud/apps:/tmp:/usr/share/webapps/nextcloud:/etc/webapps/nextcloud:/dev/urandom:/usr/lib/php/modules:/var/log/nextcloud:/proc/meminfoĭepending on which additional extensions you configure you may need to extend this list, e.g.
#NEXTCLOUD UNRAID SETUP CODE#
This limits the locations where Nextcloud's PHP code can read and write files. Optional: For additional security configure open_basedir. etc/webapps/nextcloud/php.ini memory_limit = 512M Raise PHP's memory limit to at least 512MiB: etc/webapps/nextcloud/php.ini date.timezone = Europe/Berlin Set date.timezone to your preferred timezone, e.g.: in case you also installed php-intl (as recommended) in case you installed php-imagick (as recommended) etc/webapps/nextcloud/php.ini extension=bcmath Additionally enable the following extensions: Most of the prerequisites listed in Nextcloud's installation instructions are already enabled in a bare PHP installation. Although not strictly necessary change ownership of the copy:Ĭhown nextcloud:nextcloud /etc/webapps/nextcloud/php.ini Make a copy of /etc/php/php.ini in /etc/webapps/nextcloud. These will be covered in the section about application servers. Corresponding settings in the configuration of the application server.A dedicated copy of php.ini in /etc/webapps/nextcloud/php.ini (for the occ command line tool and the background job).This guide does not tamper with PHP's central configuration file /etc/php/php.ini but instead puts Nextcloud specific PHP configuration in places where it does not potentially interfere with settings for other PHP based applications. Other optional dependencies will be covered later depending on your concrete setup (e.g.
#NEXTCLOUD UNRAID SETUP INSTALL#
Additionally install the recommended packages php-imagick for preview generation and php-intl for increased translation performance and fixed sorting (preferrably as dependent package with pacman option -asdeps). All required PHP extensions will be taken care of this way. This will pull in quite a few dependent packages. For the very same reason it is not possible anymore to execute Nextcloud's PHP code directly in the Apache process by means of php-apache. This is one of the reasons why the application server comes into play here. Among other things this mandates that the web application to be run with a dedicated user - in this case nextcloud. The Nextcloud package complies with the web application package guidelines.
#NEXTCLOUD UNRAID SETUP FOR ANDROID#
12.5 Self-signed certificate for Android devices.12.4 Self-signed certificate not accepted.12.3 Environment variables not available.12.2 Login loop without any clue in access.log, error.log, nor nextcloud.log.
![nextcloud unraid setup nextcloud unraid setup](https://i.ytimg.com/vi/3NES2gFQ5ek/maxresdefault.jpg)
#NEXTCLOUD UNRAID SETUP UPGRADE#