Do you have any idea why system system shows the following error message when I try to install theme dependant plugins on a fresh OctoberCMS installation?
Error message:
Update Failed
"SQLSTATE[42P01]: Undefined table: 7 ERROR: relation “rainlab_translate_message_data” does not exist LINE 1: select * from “rainlab_translate_message_data” where “locale… ^ (SQL: select * from “rainlab_translate_message_data” where “locale” = en limit 1)” on line 760 of /vendor/laravel/framework/src/Illuminate/Database/Connection.php
I have these plugins as dependencies in the theme.yaml file of my theme:
Database was migrated when I first time opened the Backend page.
I used “Check dependency” button on backend System updates to install plugins that marked as required in theme.yaml file. I have not installed any other plugin before in this installation. I have copied only my theme files.
The most strange part is that I was able to install Translate plugin from Plugins menu point in the Backend but it did not work by Check dependency button and artisan/composer.
So if the Translate plugin is the last in the row.
But I receive the mentioned error message when Translation plugin tries to be installed before any other plugin.
As I see migration command runs only after the last plugin were installed (downloaded) so it ‘Check dependency’ button first download all plugin files to Plugins folder, then it runs php artisan migrate command.
For some reason the installation process die when it download Translate plugin and does not run migration immediately after.
Have you tried to test the same scenario in your environment with a fresh installation and with the following list in theme.yaml file?