• Resolved taropaa

    (@taropaa)


    This plugin looks truly great, however there is a slight issue.
    When multisite is enabled, it skips the blogs.dir folder.

    I tried it on a subsite, and it just uploads them to bucket/2017/…

    If I have 2 subsites with a logo.png created on the same day, I got a conflict.
    Not to mention the insane mess this would create.

    Any idea on how to resolve this?
    I don’t want to enable it per site, as I do like the option of having different buckets to different regions (my business model happens to segment things geographically quite a bit). I also don’t want to have to create a bucket per sub-site.

    Any ideas on how to get it to play nicely?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey,

    plugin has separate settings for each network site. You can specify different buckets or different folders inside the same bucket. Media -> Stateless Settings.

    Thanks.

    Thread Starter taropaa

    (@taropaa)

    Hi Anton,

    Thank you for your reply

    The problem is that Multisite installs have the file structure as /blogs.dir/123/files which in the front end get mapped as subdomain.network.com/files

    Your plugin rewrites that path as /files only and skips the blogs.dir part.

    Right now can’t use one bucket for 2 sites on the same network, since files would get overwritten.

    I recommend the plugin check if the site is on a Multisite network and if it is, use the blogs.dir/site-id/files path instead of just /files/.

    Did you understand what I mean?

    Yes, while we look into this you can manually set dir for each blog separately from Media >> Stateless Settings >> Google Cloud Storage (GCS) >> Bucket Folder.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multisite disaster waiting to happen’ is closed to new replies.