Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker_notes:docker-nextcloud [2026-03-28 Sat wk13 08:45] – [Nextcloud with supervisord] baumkpdocker_notes:docker-nextcloud [2026-04-03 Fri wk14 22:43] (current) – [Nextcloud with supervisord] baumkp
Line 132: Line 132:
 ++++ ++++
  
 +====php/php-fpm setting====
 ++++php.ini configuration files| ++++php.ini configuration files|
 The files are added to  ''/usr/local/etc/php/conf.d/''. The files are added to  ''/usr/local/etc/php/conf.d/''.
 +
 To check actual php setting from cli: ''php -i''. To check actual php setting from cli: ''php -i''.
  
Line 152: Line 154:
 </code> </code>
 ++++ ++++
 +
 ++++php-fmp configuration files| ++++php-fmp configuration files|
 The files are added to  ''/usr/local/etc/php-fpm.d/''. The files are added to  ''/usr/local/etc/php-fpm.d/''.
-To check actua lphp-fpm setting from cli ''php-fpm -tt''+ 
 +To check actual lphp-fpm setting from cli ''php-fpm -tt'' 
 **www.conf**: **www.conf**:
 <code>; Start a new pool named 'www'. <code>; Start a new pool named 'www'.
Line 649: Line 654:
 ++++ ++++
  
 +I noticed that these changes I made improved the performance of the Nextcloud.  Some of the intermittent errors stop and the page response improved significantly.
 ====RedirectRegex==== ====RedirectRegex====
 I get a redirect error in Nextcloud that I have not been able to track down to date.  Does not seem much info in this on the net, and the little there is also indicates a problem without and easy solution.  Nextcloud main support looks Apache web server based with little Nginx support and even less Traefik support. I get a redirect error in Nextcloud that I have not been able to track down to date.  Does not seem much info in this on the net, and the little there is also indicates a problem without and easy solution.  Nextcloud main support looks Apache web server based with little Nginx support and even less Traefik support.
Line 732: Line 738:
 =====CLI Use of Nextcloud===== =====CLI Use of Nextcloud=====
 Sometime it is necessary to get direct CLI (command line interface) access to Nextcloud for updating, turning of maintenance mode and similar. Sometime it is necessary to get direct CLI (command line interface) access to Nextcloud for updating, turning of maintenance mode and similar.
 +  * Access tips:
 +    * Use www-data when working with php occ
 +    * Use root when working with php or php-fpm directly
 +    * The nextcloud image is based upon Alpine Linux, so shell type is ash (not BASH).
   * ''%%docker exec -it --user www-data nextcloud-app-1 ash%%''  gain terminal access to Nextcloud   * ''%%docker exec -it --user www-data nextcloud-app-1 ash%%''  gain terminal access to Nextcloud
   * Nextcloud is running in the nextcloud-fpm Docker container, to access the cli in Portainer need to select ''/bin/sh'' shell and user ''www-data'' The working directory is ''/var/www/html''   * Nextcloud is running in the nextcloud-fpm Docker container, to access the cli in Portainer need to select ''/bin/sh'' shell and user ''www-data'' The working directory is ''/var/www/html''