Saturday 24 April 2021

[SOLVED] Wordpress update failed

 I recently tried to update the wordpress installation on useful.website and got the following message.


The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php Installation failed.


So here's how I resolved it. My installation is behind the useful.website VPN which protects the login from other countries (esp. China and Russia ) so once I was connected to vpn.useful.website I issued the following command.

sudo chown -R www-data:www-data /path/to/wordpress


Breakdown of the command.

sudo         - switch to superuser for this command
chown     - give ownership to a folder
-R            recurse - so give permission to all files ans folders inside
www-data:www-data  - the user and group that apache web server is using when running wordpress
/path/to/wordpress  - sometimes its /var/www/html or /var/www/my.website.name but its where all the word press files are 

Hopefully this is useful for you. If you want to setup a VPN for protecting your wordpress site, please contact. VPN.team@projektor.co.uk
























Thursday 8 April 2021

How to download a windows 10 iso that fits onto a single layer DVD-R /RW

 I use a dvd-rw to store the latest image of windows 10.

In the recent update the size of the iso file was too big to fit on a single layer disk and the recommendation was to write to dual layer.


However dual layer dvd-rw doesn't exist and I don't want to create more waste.


So here's the method I used ...





Rufus download method...
https://pureinfotech.com/download-older-iso-windows-10/

I used the option to download via browser.

Direct download link analysis:



July 2020 build (4.9GB - may just fit!)

https://software-download.microsoft.com/db/Win10_2004_EnglishInternational_x64.iso?t=aae57666-d259-403a-aa29-75cc3a78936b&e=1617975838&h=6466e7113d27bab35de9221b6cec2313



October 2020 build windows 10 International English
Verdict: too large for DVD-R/W

https://software-download.microsoft.com/db/Win10_20H2_EnglishInternational_x64.iso?t=79540047-6d75-461e-a7f5-a3f5bf358129&e=1617972815&h=8f5914aaff3c79046b62333bee14a461