S3 Object Storage as Primary Storage in Nextcloud with nginx

Hi,

I want to deploy Nextcloud with Object Storage using nginx and php-fpm.
This work as external storage but not as primary storage.
I end up with errors 504 time out or the impossibility to connect user (i stay on login page). Note that I still find objects created in my S3 dashboard.

i use this link:
https://www.scaleway.com/en/docs/install-and-configure-nextcloud-object-storage/
(i confirm that work with apache)
and this nginx config :
https://docs.nextcloud.com/server/20/admin_manual/installatio/nginx.html#nextcloud-in-a-subdir-of-the-nginx-webroot

if you have an idea that would help… otherwise I’ll have to change all others services to apache.

Thanks
adm

did you try to “convert” an existing installation to s3 storage?

you have to insert the s3 config into the config.php before you start nextcloud the first time.

yes, I have already seen your comment in another discussion (also user creation…) no success…
with apache I added the S3 config after and it worked.