| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:linux:nginx:friendica [2026/05/15 00:34] – [Composer] Sean Rhone | servers:linux:nginx:friendica [2026/06/05 06:31] (current) – Sean Rhone |
|---|
| * 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 ====== |
| |
| pm = "ondemand" | pm = "ondemand" |
| pm.max_children = "4" | pm.max_children = "8" |
| pm.process_idle_timeout = "30" | pm.process_idle_timeout = "30" |
| |
| 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> |
| 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' |
| 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> |
| 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> |