-
-
Save rickhernandezio/0ac76e656d331810138c6507aabd0f2b to your computer and use it in GitHub Desktop.
cd /var/www/mautic | |
find . -type d -exec chmod 755 {} \; | |
find . -type f -exec chmod 644 {} \; | |
chmod -R g+w app/cache/ | |
chmod -R g+w app/logs/ | |
chmod -R g+w app/config/ | |
chmod -R g+w media/files/ | |
chmod -R g+w media/images/ | |
chmod -R g+w translations/ | |
chown -R $USER:www-data . |
Well that's...new.
Apparently, the php getting set to 8.0 was indeed the start of the problem. Then when I manually deleted the cache, since nothing could run correctly, something in the cache wasn't created correctly--no big surprise there. And you'd THINK that setting the php back down to 7.4 and deleting the cache would fix it--but it didn't.
However, when I deleted the cache the first time, I let it go to the trashcan. So having set the php down to 7.4 and manually wiped the cache again, I RESTORED this older cache, and now the site's working again. That's totally bizarre, but if makes me fear it's only working because there's something needed in the restored cache, and as soon as it's gone or I wipe the cahce I'll be dead again, so I'm going to zip the entire cache folder up for future reference/backup and try applying the latest upgrade and see what disasters I can invoke.
Mautic 3