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
Upgrading/installing via (delete as applicable) : Command Line
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.
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
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