Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/ubuntu-2404-lamp-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,18 @@ jobs:

# Install composer dependencies
cd /var/www/horde
sudo composer install --no-dev --no-interaction --prefer-dist
sudo COMPOSER_ALLOW_SUPERUSER=1 composer config minimum-stability dev
sudo COMPOSER_ALLOW_SUPERUSER=1 composer install --no-interaction --prefer-dist

# Set ownership for Apache
sudo chown -R www-data:www-data /var/www/horde
sudo chmod -R 755 /var/www/horde

# Set correct permissions: directories 755, files 644
sudo find /var/www/horde -type d -exec chmod 755 {} \;
sudo find /var/www/horde -type f -exec chmod 644 {} \;

# Make scripts executable
sudo chmod +x /var/www/horde/vendor/bin/*

# Ensure var directories are writable
sudo chmod -R 775 /var/www/horde/var
Expand Down Expand Up @@ -189,7 +196,8 @@ jobs:

sudo hordectl configure auth --driver=sql --encryption=ssha

sudo -u www-data /var/www/horde/vendor/bin/horde-db-migrate up
cd /var/www/horde
sudo -u www-data vendor/bin/horde-db-migrate up

- name: Configure admin secret for API
run: |
Expand Down
Loading