temp folder not writable error appeared suddenly
-
Hello!
I have an issue with generating invoices. The plugin worked fine until some time in December. I haven’t installed anything new on the site, just updated other plugins. I am not sure when exactly the invoices weren’t generated anymore so I can’t say what could have triggered it.
I see an error on the plugin status page that the temp folders are not writable. When I check directory permissions, they are all 0755. Do they need to be changed? I don’t understand why the permissions need to be changed suddenly when they worked fine before.
Do you know what might be going on here?
-
That’s strange indeed, and 755 should be just fine. Could you share a screenshot of those write permission errors and also share your system status report (WooCommerce > Status > Get system report)?
Also for reference: can you still upload images to your site via the Media Library?
Here’s the screenshot: https://i.imgur.com/b4GCr2m.png
I cannot upload images anymore. The error message: Unable to create directory uploads/2022/01. Is its parent directory writable by the server?
And in the system report it also says that the log directory is not writable, so it seems that the problem might be somewhere else?
### WordPress Environment ### WordPress address (URL): https://www.kuuesmeel.ee Site address (URL): https://www.kuuesmeel.ee WC Version: 6.0.0 REST API Version: ✔ 6.0.0 WC Blocks Version: ✔ 6.3.3 Action Scheduler Version: ✔ 3.3.0 WC Admin Version: ✔ 2.9.4 Log Directory Writable: ❌ Logimise võimaldamiseks tee /home3/greencar/kuuesmeel/wp-content/uploads/wc-logs/ kirjutatavaks või defineeri enda WC_LOG_DIR. WP Version: 5.8.2 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ✔ Language: et External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.27 PHP Post Max Size: 256 MB PHP Time Limit: 60 PHP Max Input Vars: 10000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 10.3.32-MariaDB-log-cll-lve Max Upload Size: 256 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 6.0.0 WC Database Prefix: wp_ Andmebaasi maht kokku: 36.56MB Andmebaasi andmete maht: 31.20MB Andmebaasi indeksi maht: 5.36MB wp_woocommerce_sessions: Andmed: 2.05MB + indeks: 0.06MB + mootor MyISAM wp_woocommerce_api_keys: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_woocommerce_attribute_taxonomies: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_woocommerce_downloadable_product_permissions: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_woocommerce_order_items: Andmed: 0.12MB + indeks: 0.07MB + mootor MyISAM wp_woocommerce_order_itemmeta: Andmed: 1.65MB + indeks: 0.64MB + mootor MyISAM wp_woocommerce_tax_rates: Andmed: 0.00MB + indeks: 0.01MB + mootor MyISAM wp_woocommerce_tax_rate_locations: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_woocommerce_shipping_zones: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_woocommerce_shipping_zone_locations: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_woocommerce_shipping_zone_methods: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_woocommerce_payment_tokens: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_woocommerce_payment_tokenmeta: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_woocommerce_log: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_actionscheduler_actions: Andmed: 0.05MB + indeks: 0.04MB + mootor MyISAM wp_actionscheduler_claims: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_actionscheduler_groups: Andmed: 0.00MB + indeks: 0.01MB + mootor MyISAM wp_actionscheduler_logs: Andmed: 0.04MB + indeks: 0.03MB + mootor MyISAM wp_commentmeta: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_comments: Andmed: 0.36MB + indeks: 0.14MB + mootor MyISAM wp_eabi_carriermodule: Andmed: 0.02MB + indeks: 0.00MB + mootor InnoDB wp_eabi_postoffice: Andmed: 2.52MB + indeks: 0.09MB + mootor InnoDB wp_links: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_litespeed_url: Andmed: 0.02MB + indeks: 0.03MB + mootor InnoDB wp_litespeed_url_file: Andmed: 0.02MB + indeks: 0.08MB + mootor InnoDB wp_options: Andmed: 1.50MB + indeks: 0.19MB + mootor MyISAM wp_postmeta: Andmed: 7.14MB + indeks: 2.58MB + mootor MyISAM wp_posts: Andmed: 3.07MB + indeks: 0.42MB + mootor MyISAM wp_sgpb_subscribers: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_sgpb_subscription_error_log: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_termmeta: Andmed: 0.02MB + indeks: 0.02MB + mootor MyISAM wp_terms: Andmed: 0.01MB + indeks: 0.03MB + mootor MyISAM wp_term_relationships: Andmed: 0.08MB + indeks: 0.17MB + mootor MyISAM wp_term_taxonomy: Andmed: 0.01MB + indeks: 0.02MB + mootor MyISAM wp_usermeta: Andmed: 0.46MB + indeks: 0.31MB + mootor MyISAM wp_users: Andmed: 0.03MB + indeks: 0.04MB + mootor MyISAM wp_wcpdf_invoice_number: Andmed: 0.01MB + indeks: 0.01MB + mootor MyISAM wp_wc_admin_notes: Andmed: 0.01MB + indeks: 0.00MB + mootor MyISAM wp_wc_admin_note_actions: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_wc_category_lookup: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_wc_customer_lookup: Andmed: 0.04MB + indeks: 0.04MB + mootor MyISAM wp_wc_download_log: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_wc_order_coupon_lookup: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_wc_order_product_lookup: Andmed: 0.11MB + indeks: 0.09MB + mootor MyISAM wp_wc_order_stats: Andmed: 0.04MB + indeks: 0.03MB + mootor MyISAM wp_wc_order_tax_lookup: Andmed: 0.02MB + indeks: 0.03MB + mootor MyISAM wp_wc_product_meta_lookup: Andmed: 0.08MB + indeks: 0.13MB + mootor MyISAM wp_wc_rate_limits: Andmed: 0.02MB + indeks: 0.02MB + mootor InnoDB wp_wc_reserved_stock: Andmed: 0.02MB + indeks: 0.00MB + mootor InnoDB wp_wc_tax_rate_classes: Andmed: 0.00MB + indeks: 0.01MB + mootor MyISAM wp_wc_webhooks: Andmed: 0.00MB + indeks: 0.00MB + mootor MyISAM wp_wdr_order_discounts: Andmed: 0.02MB + indeks: 0.00MB + mootor InnoDB wp_wdr_order_item_discounts: Andmed: 0.06MB + indeks: 0.00MB + mootor InnoDB wp_wdr_rules: Andmed: 0.02MB + indeks: 0.00MB + mootor InnoDB wp_wpml_mails: Andmed: 11.58MB + indeks: 0.02MB + mootor MyISAM ### Post Type Counts ### attachment: 1640 custom_css: 1 jetpack_migration: 2 jp_img_sitemap: 1 jp_sitemap: 1 jp_sitemap_master: 1 nav_menu_item: 22 page: 15 popupbuilder: 1 post: 6 product: 878 product_variation: 430 revision: 1058 shop_coupon: 23 shop_order: 554 wcs_ruleset: 9 woo_discount: 5 woo_discount_cart: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (21) ### Analytics Cat Free: - Fatcat Apps – 1.0.9 Conditional Shipping for WooCommerce: - Lauri Karisola / WooElements.com – 2.2.3 Cookie Notice & Compliance for GDPR / CCPA: - Hu-manity.co – 2.2.1 Estonian Banklinks for WooCommerce: - Konekt OÜ – 1.4 Homepage Control: - WooThemes – 2.0.3 Limit Login Attempts Reloaded: - Limit Login Attempts Reloaded – 2.23.2 LiteSpeed Cache: - LiteSpeed Technologies – 4.4.6 Popup Builder: - Sygnoos – 4.0.6 Really Simple SSL: - Really Simple Plugins – 5.2.1 Under Construction: - WebFactory Ltd – 3.90 UpdraftPlus - Backup/Restore: - UpdraftPlus.Com DavidAnderson – 1.16.69 Checkout Field Editor for WooCommerce: - ThemeHigh – 1.5.2 Woo Discount Rules PRO 2.0: - Flycart – 2.3.4 Woo Discount Rules: - Flycart – 2.3.4 Variation Swatches for WooCommerce: - Emran Ahmed – 1.1.19 Woocommerce E-Abi Postoffice plugin: - Matis Halmann Aktsiamaailm LLC – 1.53 WooCommerce PDF Invoices & Packing Slips: - WP Overnight – 2.11.2 E-Abi Omniva Shipping method plugin: - Matis Halmann Aktsiamaailm LLC – 1.9 E-Abi Woocommerce Itella Shipping method plugin: - Matis Halmann Aktsiamaailm LLC – 1.18 WooCommerce: - Automattic – 6.0.0 WP Mail Logging: - Wysija – 1.10.2 ### Inactive Plugins (5) ### Akismet Anti-Spam: - Automattic – 4.2.1 Dash Notifier: - LiteSpeed Technologies – 1.2 Estonian Shipping Methods for WooCommerce: - Konekt OÜ – 1.5.8.2 Hello Dolly: - Matt Mullenweg – 1.7.2 WooCommerce Product Stock Alert: - WC Marketplace – 1.7.3 ### Must Use Plugins (1) ### installatron_hide_status_test.php: - – ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Poe alusaadress: #4 - /pood/ Ostukorv: #5 - /ostukorv/ Kassa: #6 - /kassa/ Minu konto: #7 - /minu-konto/ Müügitingimused: #294 - /minust/kasutamistingimused/ ### Theme ### Name: Storefront Version: 3.9.1 Author URL: https://woocommerce.com/ Child Theme: ❌ – Kui muudad WooCommerce-i ülemteemas mida sina isiklikult ei ole ehitanud soovitame kasutada alamteemat. Vaata: kuidas luua alamteema WooCommerce Support: ✔ ### Templates ### Overrides: – ### Action Scheduler ### Täidetud: 143 Oldest: 2021-12-06 12:58:18 +0200 Newest: 2022-01-06 10:58:15 +0200 ### Status report information ### Generated at: 2022-01-06 12:45:20 +02:00And in the system report it also says that the log directory is not writable, so it seems that the problem might be somewhere else?
Indeed, this points to a higher level configuration issue. The fact that you cannot upload images in WordPress, that WooCommerce cannot write its logs and our plugin cannot write to the temporary folders has the same root cause, which is that apparently the parent wp-content/uploads/ folder is not writable.
I’m closing this thread because this is not a plugin issue, but I hope the above information will help you solve this issue. Good luck!
The topic ‘temp folder not writable error appeared suddenly’ is closed to new replies.