-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration: Errors in ConfigurationDeploy() might not show up in migration.pl web interface #1216
Comments
See also #744. |
Tested this be renaming the state 'closed successful' to 'closed successful renamed'. During migration there was no error message but ZZZAAuto,pm was not written. This effect should not happen all the time, but it did in my initial tests. Along the way, I did a bit of tidying of the migration modules. |
The fix looks fine. Here is the changed message:
|
Because the migration is not only about notifications.
when OTRS already has been replaced be OTOBO
as not everything is a notification message
In the POD of the the migration modules.
TODO:
|
Mention that in OTOBO 10.0.12 there is a new check for NULLs before the data transfer.
…igurationDeploy Issue RotherOSS/otobo#1216 configuration deploy
I think that there is still an issue with caching. In the test scenario where the state 'closed successful' I could repair the sysconfig with Admin::Config::FixInvalid. But at first there was a complaint for some other settings, indicating that the new states were not valid. This could be explained by the Kernel::System::State cache holding still the states of the initiial OTOBO installation. Let's try to do the migration task |
Using the step
Apparently the deployment is already done by FixInvalid. TODO:
|
Another test migration ran fine. The PR is merged . Closing this issue. |
While Testing #1297 I ran into more SecureMode errors after calling Admin::Config::FixInvalid. The difference to the previous migration scenarios must have been, that SecureMode was now enabled in the source OTRS installation. This can be fixed by calling |
especially when SecureMode was active in the source OTRS installation.
Issue #1216: Maint::Config::Rebuild is needed after all,
Adapted the message. Closing this issue again. |
During migration from OTRS 6 to OTOBO 10 the following line was encountered in the Apache log file:
This message is emitted by
Kernel::System::SysConfig::ConfigurationDeploy()
which is called in Kernel/System/MigrateFromOTRS/OTOBOMigrateConfigFromOTRS.pm. The cause of the error message is that the queue Platinum-Support is not available in the migrated database. This could have been caused by a misconfiguration in the source system.However the code that calls
ConfigurationDeploy()
looks fishy.The method should return a list of key value pairs, not a single scalar. This means that
$Success
is set to the last value of that list, which can be0
by chance. Thus it depends on chance whether a failure ofConfigurationDeploy()
is detected and thus reported in the webinterface. A missing error message is bad because in the error case the file ZZZAAuto.pm is propably not updated.The text was updated successfully, but these errors were encountered: