Skip to content
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

Module does not work with S3 when deployed in Odoo docker container image #350

Open
archipell opened this issue Mar 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@archipell
Copy link

Module

fs_storage

Describe the bug

Prerequisite : Odoo is deployed with a Docker container and so running on Ubuntu image, fs_storage is installed, configuring a S3 storage like in development environment. Behavior is different between development and docker-deployed environment. When attaching an ir_attachment to S3, it either does not work or Odoo runs until timeout.

To Reproduce

Affected versions: v16.0.
Python: 3.9.
Odoo docker image: v16.0 from 01/01/2024.
fsspec: 2024.2.0

Steps to reproduce the behavior:

  1. Install docker image on web server (we use Scaleway provider to create an instance and install docker + docker-compose), contact me if any help is needed
  2. Install fs_storage module in Odoo and configure an S3 attachment storage for res.partner for example
  3. Add an attachment to a res.partner
  4. First try resolves to not adding the attachment at all (when refreshing with F5, attachment disappears). Second try, application runs with spinner indefinitely (until timeout)

Expected behavior
Attachment should be created in S3 mentioned directory.

Additional context
I use an Object storage (from Scaleway) (S3).

  • Connection test is successful
  • Tried with and without optimizes directory
  • Using a simple directory path "Archipell"
  • Tried every directory path
@archipell archipell added the bug Something isn't working label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant