Replies: 9 comments 2 replies
-
If it helps, here is a list of apps:
|
Beta Was this translation helpful? Give feedback.
-
After further investigation identified module:
Once this is disabled files are deleted. Please kindly recommend how to perform further investigation, as the issue might be anywhere between workflow-media-converter, integration_openproject and core product as other examples shown. Want to avoid ping-pong/blame game and get it down to resolve the problem. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Looking at the stack trace to troubleshoot:
On stack number 11, we see that workflow_media_converter goes to delete the file. Looking at the exception message itself: This means that the I think this happens because the delete happens in a background job within workflow_media_converter, where there is no user session and therefore no user to get a UID for. I would submit a pull request to handle that scenario in OpenProject - specifically, add PHP code to check if Hope that helps. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thank you. Completely weird from OpenProject team side. |
Beta Was this translation helpful? Give feedback.
-
Would you mind to share the changes/PR in diff form with me? I'd patch this locally if they don't want to fix issues on their end. Thanks again for all done on this! |
Beta Was this translation helpful? Give feedback.
-
@cwilby - OpenProject team added applied some changed and I've added on top of that also your changes. Unfortunately it doesn't work still. Portion of modified code looks as below at my end. Would you mind to look at it again and suggest a new fix?
|
Beta Was this translation helpful? Give feedback.
-
@bugsyb - Coming back to this, it looks like their change should have solved the problem in the same way my change would have. Separately, I tested creating a conversion job that deletes the source file, and it worked. The reason for the deletion not happening may be something else at this point. Some questions:
|
Beta Was this translation helpful? Give feedback.
-
Worth adding - OpenProject app has been removed quite some time ago to get media converter working. Music app has been removed before tests earlier today (when it didn't work at all). |
Beta Was this translation helpful? Give feedback.
-
This is an ask for a help to further troubleshoot as am not sure if it is workflow-media-converter issue or core product issue.
Steps to reproduce
Unknown (can be a problem with one of the other modules on the install. Vanilla install didn't show up this issue.
Expected behaviour
Delete file after converstion.
Actual behaviour
Fille gets converted by ffmpeg, but not deleted (or moved to a folder).
Problem seems to be coming from:
OC\\Files\\Node\\File->delete()
Workflow Media Converter app
1.8.4
Server configuration
Error reported is as follows:
This could be related to:
But it should be fixed already given NC versions.
Beta Was this translation helpful? Give feedback.
All reactions