addons icon indicating copy to clipboard operation
addons copied to clipboard

[Bug]: Missing `storage/shared_storage/tmp/` causes submission failures in localdev

Open willdurand opened this issue 1 year ago • 1 comments

What happened?

I am not sure how I ended up in this situation but I could no longer submit add-ons in localdev. The error message in the UI was very generic: "couldn't load your extension".

In the worker logs, I saw that the problem came from: https://github.com/mozilla/addons-server/blob/0a384e40c8a0d31844c8a6c835cfab0907c302df/src/olympia/files/tasks.py#L104-L106

This tmp directory is defined here: https://github.com/mozilla/addons-server/blob/0a384e40c8a0d31844c8a6c835cfab0907c302df/src/olympia/lib/settings_base.py#L1350

At this point, I realized that I had no storage/shared_storage/tmp/ folder locally. Not sure why, though.

What did you expect to happen?

No error and the creation of this tmp folder? But as I said, I am not sure how I ended up in this situation (I mainly do git pull and make up these days, though - nothing fancy)

Is there an existing issue for this?

  • [X] I have searched the existing issues

┆Issue is synchronized with this Jira Task

willdurand avatar Nov 20 '24 09:11 willdurand

We haven't seen this issue for a long time and lots have change, is this still reproducible ?

diox avatar Mar 26 '25 14:03 diox