Commit Graph
8 Commits
Author SHA1 Message Date
bachirandClaude Sonnet 5 7ff4df1173 Fix installer bugs: broken root checks, PHP version mismatches, dead paths
- Replace $EUID with $(id -u) for root checks across all bin/*.sh and
  install.sh: dash (Debian's /bin/sh) never sets $EUID, so the check was
  silently broken everywhere.
- lemp.sh: make apt-get upgrade non-interactive (--yes), align the Redis
  PHP module and php-fpm restart with $PHP_VERSION instead of a hardcoded
  8.1, and template the nginx PHP-FPM socket path via a PHP_FPM_SOCK
  placeholder substituted at install time.
- nginx-phpmyadmin.conf: fix docroot to match the actual phpMyAdmin
  symlink location created by lemp.sh.
- mysql-db.sh: inline the root check instead of sourcing the
  nonexistent bin/checkroot.sh.
- webhook.sh: fix chowm typo (chown).
- urbackup.sh: copy the systemd unit from assets/ instead of a relative
  path to a file that doesn't exist in the repo.
- _addUserSite.sh: fix invalid `$var=value` assignment and an empty
  if-block that was a POSIX sh syntax error.

Also carries over pending fixes to deploy-drupal.sh (drush now
invoked via vendor/bin/drush) and gitbarrerepos.sh (comment cleanup).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-04 09:28:08 +02:00
bachir cb915edc33 fixed php version on nginx conf files 2023-06-30 12:31:39 +02:00
bachir d2380db06b misc 2023-03-31 11:16:46 +02:00
bachir 6fd0b7c443 fixed phpmyadmin install (not secured yet 2020-03-30 12:07:00 +02:00
Bachir Soussi Chiadmi 9677df40ab letsencrypt install + ssl nginx conf vhost 2018-04-06 19:15:20 +02:00
Bachir Soussi Chiadmi 10738b8897 activated php-fpm for default nginx conf 2018-04-06 11:28:48 +02:00
Bachir Soussi Chiadmi 12b96c64ba cleaning 2018-04-06 11:09:48 +02:00
Bachir Soussi Chiadmi 8f21321eaf added nginx-phpmyadmin.conf 2018-04-06 10:51:11 +02:00