Closed BlackbitDevs closed 2 years ago
Hi,
upgrade instructions can be found here https://github.com/elements-at/ProcessManager/blob/master/doc/migration.md
I guess the problem is, that renaming of the table was not done before running the installer on Pimcore X.
Regards, Christian
Ok, but why isn't there a migration which renames the table automatically?
Also the command pimcore:bundle:update
does not exist anymore, see https://github.com/elements-at/ProcessManager/blob/ed3b15fe0c99b91a569d621b9c1204fafdecbccd/doc/migration.md?plain=1#L34
I do not know what the concept for bundle updates with Pimcore 10 is. For our own bundles we use the pimcore:bundle:install
command for this now because the command to execute migrations (bin/console doctrine:migrations:migrate --prefix=Namespace\\of\\bundle
) is too complicated for our clients.
I also ran into the problem with picore:bundle:update
. Simply used doctrine-migrations with
php bin/console doctrine:migrations:list
-> I saw Version20210802000000 was not migratedphp bin/console doctrine:migrations:migrate 'Elements\Bundle\ProcessManagerBundle\Migrations\Version20210802000000'
Worked for me.
Thx - i updated the docs.
./bin/console doctrine:migrations:migrate --prefix=Elements\\Bundle\\ProcessManagerBundle
should work.
We updated to Pimcore 10 and so had to upgrade also the process manager. As the tables got renamed the old jobs are not used anymore. I tried to import the data from
plugin_process_manager_configuration
tobundle_plugin_process_manager_configuration
. This is more complex than necessary as you have changed to order of columns...Is there some instructions anywhere how to upgrade this bundle from 3 to 4?
PS: Ok, got it working. For others, here is the SQL to be executed: