User Tools

Site Tools


servers:linux:nginx:friendica

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
servers:linux:nginx:friendica [2026/05/01 07:14] Sean Rhoneservers:linux:nginx:friendica [2026/06/05 06:31] (current) Sean Rhone
Line 20: Line 20:
   * https://friendi.ca/resources/requirements/   * https://friendi.ca/resources/requirements/
   * https://wiki.friendi.ca/docs/install#requirements   * https://wiki.friendi.ca/docs/install#requirements
-  * ''imagick'' is required ([[https://github.com/friendica/friendica/commit/0b78f43ee416a947c94e7d508e97cf1d2439cc45|0b78f43]]) 
  
-  sudo zypper install php-composer2 php8-curl php8-gd php8-gmp php8-pdo php8-mbstring php8-intl php8-mysql php8-zip php8-openssl php8-fileinfo php8-posix php8-APCu php8-imagick+  sudo zypper install php-composer2 php8-curl php8-gd php8-gmp php8-pdo php8-mbstring php8-intl php8-mysql php8-zip php8-openssl php8-fileinfo php8-posix
  
 ====== Download Source ====== ====== Download Source ======
Line 39: Line 38:
   sudo su 'wwwrun' -s '/bin/bash'   sudo su 'wwwrun' -s '/bin/bash'
  
-  cd '/tmp' && '/usr/bin/composer' --working-dir='/srv/www/social' --no-cache install --no-dev+  cd '/tmp' && '/usr/bin/composer' --working-dir='/srv/www/social' --no-cache install --no-dev --ignore-platform-req='ext-apcu' --ignore-platform-req='ext-imagick'
  
   exit   exit
Line 72: Line 71:
  
 pm = "ondemand" pm = "ondemand"
-pm.max_children = "4"+pm.max_children = "8"
 pm.process_idle_timeout = "30" pm.process_idle_timeout = "30"
  
Line 193: Line 192:
   * Navigation bar icon color: ''ffffff''   * Navigation bar icon color: ''ffffff''
   * Link color: ''3d8bff''   * Link color: ''3d8bff''
-  * Set the background color: ''dedede'' +  * Set the background color: ''fbfaf9''
-  * Login page background color: ''484848''+
  
   * Copy or paste schemestring:   * Copy or paste schemestring:
  
-<code>{"nav_bg":"#3d8bff","nav_icon_color":"#ffffff","link_color":"#3d8bff","background_color":"#dedede","background_image":"","contentbg_transp":"100","login_bg_image":"","login_bg_color":"#484848"}</code>+<code>{"nav_bg":"#3d8bff","nav_icon_color":"#ffffff","link_color":"#3d8bff","background_color":"#fbfaf9","background_image":"","contentbg_transp":"100"}</code>
  
 ===== local.config.php ===== ===== local.config.php =====
Line 251: Line 249:
 WorkingDirectory=/tmp WorkingDirectory=/tmp
  
-ExecStart='/usr/bin/php' '/srv/www/social/bin/console.php' worker+ExecStart='/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' worker
  
 # End</code> # End</code>
Line 290: Line 288:
 WorkingDirectory=/tmp WorkingDirectory=/tmp
 Environment="COMPOSER_CACHE_DIR=/dev/null" Environment="COMPOSER_CACHE_DIR=/dev/null"
 +Environment="COMPOSER_DISCARD_CHANGES=true"
  
 ExecStart='/usr/bin/git' -C '/srv/www/social' reset --hard 'origin/develop' ExecStart='/usr/bin/git' -C '/srv/www/social' reset --hard 'origin/develop'
Line 297: Line 296:
 ExecStart='/usr/bin/git' -C '/srv/www/social/addon' pull origin 'develop' --rebase ExecStart='/usr/bin/git' -C '/srv/www/social/addon' pull origin 'develop' --rebase
  
-ExecStart='/usr/bin/composer' --working-dir='/srv/www/social' --no-cache install --no-dev+ExecStart='/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/usr/bin/composer' --working-dir='/srv/www/social' --no-cache install --no-interaction --no-dev --ignore-platform-req='ext-apcu' --ignore-platform-req='ext-imagick'
  
-ExecStart='/usr/bin/php' '/srv/www/social/bin/console.php' dbstructure update --force +ExecStart='/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' dbstructure update --force 
-ExecStart='/usr/bin/php' '/srv/www/social/bin/console.php' dbstructure drop --execute+ExecStart='/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' dbstructure drop --execute
  
-ExecStartPost='/usr/bin/php' '/srv/www/social/bin/console.php' postupdate+ExecStartPost='/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' postupdate
  
 # End</code> # End</code>
Line 442: Line 441:
 ExecStart='/usr/bin/git' -C '/srv/www/social/addon' fsck --full --strict ExecStart='/usr/bin/git' -C '/srv/www/social/addon' fsck --full --strict
  
-ExecStart='/usr/bin/php' '/srv/www/social/bin/console.php' cache clear +ExecStart='/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' cache clear 
-ExecStart='/usr/bin/php' '/srv/www/social/bin/console.php' clearavatarcache+ExecStart='/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/social.conf' '/srv/www/social/bin/console.php' clearavatarcache
  
 # End</code> # End</code>
/usr/local/www/wiki/data/attic/servers/linux/nginx/friendica.1777634087.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki