Your software: Mautic 2.16.5 β Mautic 3.2.4 (Docker)
My PHP version is : 7.3
My MySQL/MariaDB version is (delete as applicable): MySQL5.7
Updating/Installing Errors
Upgrading/installing via (delete as applicable) : Command Line
php upgrade_v3.php
These errors are showing in the installer :
No errors. Upgrade script runs successfully but all files show root permission. I think that may be the cause of file write issues I encounter later after the upgade.
Your problem
My problem is :
All files show root permission instead of www-data. Is that expected? I suspect itβs the reason why I still have issues when I finally upgrade to 3.3.3.
What permission should the upgrade_v3.php have and what user should I run it in?
Steps I have tried to fix the problem :
Iβve ran it with:
sudo php upgrade_v3.php
sudo -u www-data php upgrade_v3.php
sudo chown -u www-data:www-data upgrade_v3.php and then running
UPDATE/CLARIFICATION: I still ran upgrade_v3.php with root permission but applied the sudo chown
-R
www-data:www-data *
to the Mautic directory afterwards before continuing with
sudo -u www-data php bin/console mautic:update:find
sudo -u www-data php bin/console mautic:update:apply