github anonaddy/anonaddy v0.12.0

latest releases: v1.3.0, v1.2.3, v1.2.2...
pre-release2 years ago

Updates

  • This release has breaking changes, please see below.
  • Upgrade from Laravel 8 to Laravel 9
  • Swiftmailer has been deprecated so this upgrade has meant migrating over to Symfony mailer which has proved quite tricky
  • Upgrade to v3 of Laravel WebAuthn (closes #298)
  • PHP 8.1 is now required due to requirements of Laravel WebAuthn

Breaking Changes

  • PHP v8.1 is now the minimum version required so you will need to install this on your server by running the following commands:
sudo apt install php8.1-fpm php8.1-common php8.1-mysql php8.1-dev php8.1-gmp php8.1-mbstring php8.1-dom php8.1-gd php8.1-imagick php8.1-opcache php8.1-soap php8.1-zip php8.1-cli php8.1-curl php8.1-mailparse php8.1-gnupg php8.1-redis -y

You must then update the user & group in /etc/php/8.1/fpm/pool.d/www.conf to the user that your web application is run by, in the self-hosting instructions I used a user called johndoe:

user = johndoe
group = johndoe
listen.owner = johndoe
listen.group = johndoe

Restart php8.1-fpm to reflect the changes.

sudo service php8.1-fpm restart

You will also need to update your web application's Nginx config e.g. /etc/nginx/conf.d/example.com.conf:

location ~ \.php$ {
    fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
    include fastcgi_params;
}

Changing from php8.0-fpm.sock to php8.1-fpm.sock. Then restart nginx:

sudo service nginx restart

Once you've done the above you can update the application by running the usual commands found at the end of the self-hosting instructions.

Don't miss a new anonaddy release

NewReleases is sending notifications on new releases.