Configurations not loading is a sign something broke during the update.
The only option you have is to use your backup. That’s why it’s highly recommended to do backups before doing an update. Automatic backups made it even easier.
You actually don’t need to upgrade again. You can use your backup as it is. Since the update broke your installation, I’d recommend not upgrading for now and wait for the next update. Continue enjoying Mautic in the meantime.
When the next update comes. Upgrade in a clean environment and monitor the process to ensure nothing breaks.
We have already gone through the update three times since each update had issues. We have done using Mautic automatic update and also done manual backend update as well. We saw some pending updates in the backend also and it never completes. Here is the result below,
php bin/console doctrine:migration:status
== Configuration
>> Name: Mautic Migrations
>> Database Driver: mysqli
>> Database Host: localhost
>> Database Name: xxxxxxxxx
>> Configuration Source: manually configured
>> Version Table Name: maukp_migrations
>> Version Column Name: version
>> Migrations Namespace: Mautic\Migrations
>> Migrations Directory: /path/to/file/domain.com/mautic.domain.com/sg/app/migrations
>> Previous Version: 2021-01-04 17:10:05 (20210104171005)
>> Current Version: 2021-02-23 17:47:02 (20210223174702)
>> Next Version: Already at latest version
>> Latest Version: 2021-02-23 17:47:02 (20210223174702)
>> Executed Migrations: 162
>> Executed Unavailable Migrations: 134
>> Available Migrations: 28
>> New Migrations: 0
May I know why this is causing and can we solve it? What is the suggested way for the update?
Thank you so much for your help and waiting for the reply.
Hello @joeyk - this is the trick that I don’t find any error on log file and server log.
on var logs I can find a warning
[2023-07-25 04:29:03] mautic.WARNING: PHP Warning - file_put_contents(/home2/dandumit/public_html/mautic/var/cache/prod/…/languageList.txt): failed to open stream: Permission denied - in file /home2/dandumit/public_html/mautic/app/bundles/CoreBundle/Helper/LanguageHelper.php - at line 222 {“overrideCache”:false,“returnError”:false,…
I have tried to grant permission 777 on all subfolders var/cache/prod but nothing positive happened.
It also give some hints about problems with file access rights. Looks like the upgrade process uses a different user than the web server. This should be fixed, as you will otherwise run into other kinds of issues pretty soon after this.