Updating from 11.3.13 composer errors.
This appears to be related to this issue : https://www.drupal.org/project/drupal/issues/3091285 and is noted as possible in the update page but sorry I am not a coder of any sort and can't follow the workarounds there.
On updating, composer runs but errors and returns:
In Filesystem.php line 305:
Could not delete /home/u949427330/domains/horrorxscifi.com/public_html/sites/default/default.settings.php:
And core is not updated.
Changing permissions on default.settings.php and settings.php files makes no difference. Error occurs when trying to update to 11.4.0-rc2 or 11.4.1
Note the same "could not delete message" appears on updating any module through composer, but the modules do get updated.
Comments
Comment #2
cilefen commentedAsk that at #3607866: HTTP ERROR 500 Update => 11.4. But it's undoubtedly because you haven't made the directory writable.
Comment #4
cilefen commentedIssue #3091285: Composer scaffolding fails when permissions on default.settings.yml or default.settings.php is not writable. contains the answer in its description:
chmod 775 web/sites/default. That's a generic path. Yours seems to be `/home/u949427330/domains/horrorxscifi.com/public_html/sites/default/default`. I don't know why there are two "default" directories in a row there, only you could say.Comment #5
shadowmihai commentedThat was incorrect. There was nothing wrong with the directories. The S3SF module for Amazon was blocking the update, won't apparently go past 11.4.0 at this time. In the end I had to update manually, composer simply did not work.
Comment #6
cilefen commentedYou never once mentioned S3 until comment #5. How was I to know that?