Commit Graph
18 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 47b88ae300 lemp and gitbarerepos 2023-12-21 09:53:56 +01:00
bachir 2c3682bf4c fixed gitbarrerepos bug 2023-07-01 12:12:06 +02:00
bachir 692584ff8a fixed gitbarrerepos bug 2023-07-01 12:10:19 +02:00
bachir 37a8a031da git barerepos & redis warnings 2021-03-16 10:02:38 +01:00
bachir faabe5d622 reverted for bash shell 2019-10-21 16:11:31 +02:00
bachir 9225ca2f4b reverted for bash shell 2019-10-21 16:10:05 +02:00
bachir 67b84ed088 some updates for buster 2019-10-21 16:00:06 +02:00
bachir b252c8c755 fixed sed bug" 2019-03-18 11:59:06 +01:00
Bachir Soussi Chiadmi 2a1187aa50 gitbarrerepo.sh fix 2018-04-07 17:27:50 +02:00
Bachir Soussi Chiadmi 930616c71d gitbarrerepo.sh fix 2018-04-07 17:18:51 +02:00
Bachir Soussi Chiadmi 3c238f0e4d imporved gitbarrerpo.sh 2018-04-07 17:09:27 +02:00
Bachir Soussi Chiadmi 540d964935 fixed assets path every where 2018-04-07 16:13:19 +02:00
Bachir Soussi Chiadmi 9b8670f4e4 added some color fixes, not finished 2018-04-07 12:59:00 +02:00
Bachir Soussi Chiadmi c5a8b8b87b check for user in vhost and user creation 2018-04-07 12:47:24 +02:00
Bachir Soussi Chiadmi 6e5433b041 splitted vhost, added gitbarerepo creation 2018-04-07 12:27:55 +02:00
Bachir Soussi Chiadmi e15e231cc5 chmod +x bin/* 2018-04-07 11:34:55 +02:00
Bachir Soussi Chiadmi 0e81a4ab11 splitted in subscripts, cleaned 2018-04-07 11:15:09 +02:00