1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["3488"],{35051(e,r,o){o.r(r),o.d(r,{metadata:()=>t,default:()=>u,frontMatter:()=>s,contentTitle:()=>a,toc:()=>d,assets:()=>l});var t=JSON.parse('{"id":"updraftplus/general/how-to/permission-denied-error-remote-storage","title":"Fix \u201Cpermission denied\u201D errors with remote storage","description":"Learn how to fix \u201Cpermission denied\u201D errors when sending WordPress backups to remote storage services.","source":"@site/markdown/docs/updraftplus/general/how-to/permission-denied-error-remote-storage.md","sourceDirName":"updraftplus/general/how-to","slug":"/updraftplus/general/how-to/permission-denied-error-remote-storage","permalink":"/docs/updraftplus/general/how-to/permission-denied-error-remote-storage","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Fix \u201Cpermission denied\u201D errors with remote storage","description":"Learn how to fix \u201Cpermission denied\u201D errors when sending WordPress backups to remote storage services."},"sidebar":"updraftPlus","previous":{"title":"Fix maximum upload file size error installing plugins","permalink":"/docs/updraftplus/general/how-to/maximum-upload-file-size-plugin-install"},"next":{"title":"Premium features not showing after installation","permalink":"/docs/updraftplus/general/how-to/premium-features-not-showing"}}'),n=o(74848),i=o(28453);let s={title:"Fix \u201Cpermission denied\u201D errors with remote storage",description:"Learn how to fix \u201Cpermission denied\u201D errors when sending WordPress backups to remote storage services."},a="How to fix a \u201Cpermission denied\u201D error with remote storage",l={},d=[];function c(e){let r={a:"a",code:"code",h1:"h1",header:"header",li:"li",p:"p",pre:"pre",ul:"ul",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.header,{children:(0,n.jsx)(r.h1,{id:"how-to-fix-a-permission-denied-error-with-remote-storage",children:"How to fix a \u201Cpermission denied\u201D error with remote storage"})}),"\n",(0,n.jsx)(r.p,{children:"Short version: if you run your own server, it may have\xa0SELinux or AppArmor, which are likely configured to forbid network access. You need to enable that access. Otherwise, it\u2019s probably a firewall. Long version follows!"}),"\n",(0,n.jsx)(r.p,{children:"There can be many causes why UpdraftPlus is unable to contact your remote storage (e.g. Dropbox, Google Drive, FTP server, etc.). Some of these\xa0are:"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsx)(r.li,{children:"An incoming firewall on the remote storage (e.g. your FTP server needs a new firewall rule to allow the incoming traffic)"}),"\n",(0,n.jsx)(r.li,{children:"A misconfigured firewall on the remote storage (the FTP protocol is particularly susceptible to this, especially if you FTP server is on a private network, and especially if you are using encrypted FTP)"}),"\n",(0,n.jsx)(r.li,{children:"An outgoing firewall on the webserver or web hosting company\u2019s network (i.e. they are restricting outgoing traffic, and you need to ask them to allow yours)"}),"\n",(0,n.jsx)(r.li,{children:"The remote storage is currently down"}),"\n",(0,n.jsx)(r.li,{children:"The network is too congested, and traffic can\u2019t currently get through (in both these latter two cases, you just need to wait for UpdraftPlus to retry)"}),"\n"]}),"\n",(0,n.jsx)(r.p,{children:"However, if the error or log file you see specifically has the words \u201CPermission denied\u201D in it, for example like this\u2026"}),"\n",(0,n.jsx)(r.pre,{children:(0,n.jsx)(r.code,{children:"PHP event: code E_USER_NOTICE: Cannot connect to server.example.com:1234 Error 13. Permission denied\n"})}),"\n",(0,n.jsx)(r.p,{children:"\u2026 then the problem is on your webserver, which is configured to disallow outgoing network connections. This may be an outgoing firewall (i.e. as mentioned above); or if not, it is another security control mechanism in use on the server. The most common of these are SELinux (on CentOS/Red
1Hat-like systems) and AppArmor (on Ubuntu-like systems)."}),"\n",(0,n.jsxs)(r.p,{children:["In the case of SELinux, the solution is usually to turn on the\xa0httpd_can_network_connect boolean, to allow Apache (and thus mod_php, if that is how PHP is running on your system) to use the network.\xa0",(0,n.jsx)(r.a,{href:"https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Managing_Confined_Services/sect-Managing_Confined_Services-The_Apache_HTTP_Server-Booleans.html",children:"More information."})]})]})}function u(e={}){let{wrapper:r}={...(0,i.R)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},28453(e,r,o){o.d(r,{R:()=>s,x:()=>a});var t=o(96540);let n={},i=t.createContext(n);function s(e){let r=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function a(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:s(e.components),t.createElement(i.Provider,{value:r},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.