How to update the wordpress manually

UPDATE WORDPRESS MANUALLY

Update Old wordpress version to the Latest WordPress version




Follow the below steps to update wordpress to the latest version.

1. Download the zip file from – https://wordpress.org/news/

wget https://wordpress.org/news/

2. unzip the downloaded zip file

unzip wordpress.zip




3. Now go to project directory and delete the wp-admin and wp-includes and replace it with new downloaded wp-includes annd wp-admin

4. Move the wp-admin and wp-includes in project directory

mv wp-admin wp-includes chiraag/

5. Now check the worpress admin area you can see the update .

Method 2

Create ftp user and mention the project directory to it

useradd -d /var/www/html techouse

Set password

passwd techouse  
  chown -R techouse:techouse myproject_directory

Now add created users group to default web server user

edit

sudo vim /etc/group

nginx:x:497:techouse

Now do to wp-admin

click update button, it ask for the ftp details. Enter the created user and password

It will take some time.

Issues reported while updating

Unable to locate WordPress Content directory (wp-content)

vim wp-config.php (add below lines in the end)

if(is_admin()) {
add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
define( 'FS_CHMOD_DIR', 0751 );
}




thank You

chirag

chirag.tomer

I provide help to beautiful people like you. I love hanging out with my dog

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

× How can I help you?