Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.At this time we have a empty SITENAME/private and SITENAME/files folder on remote server after new site install.
For example, on Aegir host SITENAME/private folder contains 'config, files, temp' on remote server is empty. As result - site give error:
Warning: file_put_contents(temporary://fileBAldh4): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open"
Patch fix this.
| Comment | File | Size | Author |
|---|---|---|---|
| overwrite-files-and-private-folders-on-new-remote-site.patch | 497 bytes | formatC'vt |











Comments
Comment #2
formatC'vt CreditAttribution: formatC'vt as a volunteer commentedin other words - first rsync should be without
--exclude="files/*" --exclude="private/*"Comment #3
helmo CreditAttribution: helmo as a volunteer and at Initfour websolutions commentedThanks.
I've updated it to a bit more verbose
provision_drupal_push_site($override_slave_authority = TRUE);to match our other uses of this.Comment #5
helmo CreditAttribution: helmo as a volunteer and at Initfour websolutions commented