{"id":778,"date":"2024-05-07T11:43:10","date_gmt":"2024-05-07T11:43:10","guid":{"rendered":"https:\/\/kb.shortpixel.com\/docs\/update-failed-could-not-create-directory\/"},"modified":"2025-08-27T08:43:23","modified_gmt":"2025-08-27T08:43:23","password":"","slug":"update-failed-could-not-create-directory","status":"publish","type":"docs","link":"https:\/\/kb.shortpixel.com\/knowledge-base\/article\/update-failed-could-not-create-directory\/","title":{"rendered":"Error: &#8220;Update Failed: Could not create directory.&#8221;"},"content":{"rendered":"\n<p>If you see this error using one of ShortPixel&#8217;s plugins, it is related to file permissions and ownership and usually occurs after a website was moved from one hosting provider to another.<\/p>\n\n\n\n<p>Fixing the file permissions\/ownership to match those of the webserver is usually something that <strong>your hosting provider is best fitted to help you with<\/strong>. Please contact them and let them know about this issue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you see this error using one of ShortPixel&#8217;s plugins, it is related to file permissions and ownership and usually occurs after a website was moved from one hosting provider to another. Fixing the file permissions\/ownership to match those of the webserver is usually something that your hosting provider is best fitted to help you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[39,40,41,45,35,37],"glossaries":[],"doc_tag":[],"class_list":["post-778","docs","type-docs","status-publish","hentry","doc_category-enable-media-replace","doc_category-regenerate-thumbnails-advanced","doc_category-resize-image-after-upload","doc_category-resmushit-image-optimizer","doc_category-shortpixel-adaptive-images","doc_category-shortpixel-image-optimizer"],"blocksy_meta":[],"year_month":"2026-05","word_count":67,"total_views":"764","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"admin","author_nicename":"admin_mdli53m5","author_url":"https:\/\/kb.shortpixel.com\/author\/admin_mdli53m5\/"},"doc_category_info":[{"term_name":"Enable Media Replace","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/enable-media-replace\/"},{"term_name":"reGenerate Thumbnails Advanced","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/regenerate-thumbnails-advanced\/"},{"term_name":"Resize Image After Upload","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/resize-image-after-upload\/"},{"term_name":"reSmush.it Image Optimizer","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/resmushit-image-optimizer\/"},{"term_name":"ShortPixel Adaptive Images","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/shortpixel-adaptive-images\/"},{"term_name":"ShortPixel Image Optimizer","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/shortpixel-image-optimizer\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/comments?post=778"}],"version-history":[{"count":1,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/778\/revisions"}],"predecessor-version":[{"id":1656,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/778\/revisions\/1656"}],"wp:attachment":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/media?parent=778"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_category?post=778"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/glossaries?post=778"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_tag?post=778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}