Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter idougal

    (@idougal)

    I was able to figure out that changing the File URL setting to custom and then making the folder 2024/06 changes ALL of the media links. So the site is back up and running, but that means that all of my future files will be in one directory.

    Isn’t there a way to use dynamic directories based on upload time and have the plugin remember multiple directories?

    Plugin Author Oleksii Bolhunovskyi

    (@obolgun)

    Hello @idougal ,

    Could you please provide the following info:

    1) Do you use Uniform to Fine-grained permissions for you Google Storage Bucket?
    To check this please open your bucket in Google Cloud Console , open Configuration tab, and check Access Control in the Permissions section.

    2) Also in Admin Panel of your site please open Media / Stateless Settings, on the Status tab copy the Info section and paste it here.

    Thanks!

    Thread Starter idougal

    (@idougal)

    1. Uniform
    ### Server
    
    Server architecture: Linux 5.4.0-1069-gcp x86_64
    Web server: Apache
    MySQL version: 8.0.36-28
    PHP Version: 8.2.19
    PHP Memory Limit: 512M
    PHP Max Input Vars: 10000
    PHP Max Post Size: 100M
    PHP Time Limit: 3600
    Max Upload Size: 50M
    Allow URL-aware fopen Wrappers: Yes
    Loaded Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, random, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, newrelic, PDO, xml, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, imap, intl, ldap, exif, msgpack, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, redis, shmop, SimpleXML, soap, sockets, sqlite3, ssh2, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlrpc, xmlwriter, xsl, zip, memcached, Zend OPcache
    
    ### WordPress
    
    Version: 6.5.5
    Multisite: No
    Memory Limit: 40M
    Total Attachments: 162
    Image Sizes: thumbnail, medium, medium_large, large, 1536x1536, 2048x2048, mailpoet_newsletter_max, woocommerce_thumbnail, woocommerce_single, woocommerce_gallery_thumbnail
    Theme: Astra Child 1.0.0
    Parent Theme: Astra 4.7.2
    Active Plugins: Advanced Order Export For WooCommerce 3.5.3, Antispam Bee 2.11.6, Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro 5.4.0, Code Snippets 3.6.5.1, Custom Order Status Manager for WooCommerce 1.1.3.2, Jetpack 13.6, LoginPress 3.1.0, MailPoet 4.54.0, Smush 3.16.5, Spectra 2.13.8, WooCommerce 9.0.2, WooCommerce.com Update Manager 1.0.2, WooCommerce PayPal Payments 2.8.1, WooCommerce Shipping & Tax 2.6.1, WooCommerce Table Rate Shipping 4.3.11, WooPayments 7.8.1, WP-Stateless 4.0.4, WP Mail Logging 1.12.0
    
    ### WP-Stateless
    
    Version: 4.0.4
    Database Version: 1.0
    Mode: Stateless
    File URL Replacement: Disabled
    Supported File Types: jpg jpeg png gif pdf
    Bucket: Set
    Bucket Accessible: Yes
    Service Account JSON: Set
    Cache-Control: Default: public, max-age=36000, must-revalidate
    Delete GCS File: Enable
    Folder: 2024/06
    Domain: Not set
    Cache-Busting: Enable
    Dynamic Image Support: Enable
    Use Post Meta: Disable
    Total Files: 0
    Total File Sizes: 0
    Compatibility Files: 0
    Plugin Author Oleksii Bolhunovskyi

    (@obolgun)

    Hello @idougal ,

    Please add WP_STATELESS_SKIP_ACL_SET constant to your WP config like this:
    define('WP_STATELESS_SKIP_ACL_SET', true);
    This will ensure that WP-Stateless will work correctly with Uniform access bucket.

    For media, that is already uploaded, please switch to CDN mode, make re-sync, then switch back to Stateless mode and do re-sync again.

    Please let us know if this helps.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.