No module named 'mayan.apps.staging_folders' error after upgrade 3.4.9 -> 4.4.2

Hi, it seems like there might have been a failed / missing migration during my upgrade from version 3.4.9 to 4.4.2: I am now getting the error

mayan.apps.databases.model_mixins <21> [ERROR] "get_backend() line 43 ModuleNotFoundError while importing backend: mayan.apps.staging_folders.source_backends.SourceBackendStagingFolder; No module named 'mayan.apps.staging_folders'"

repeatedly and my staging sources show up as “Null”. How can I fix this? It seems like I might have to manually migrate the paths in my database (or I could try deleting + readding the source).
Should I open a gitlab issue?

Thank you for your help!

Hi,

You can fix this issue by deleting the source and creating it again. The way sources were defined changed between those two version and might not have converted correctly.

If you don’t want or can’t delete the source, and if you have experience manually modifying databases you can change the path to the source module from mayan.apps.staging_folders to mayan.app.sources.source_backends.staging_folder_backends.SourceBackendStagingFolder.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.