Suppose you have installed WordPress via the Synology Nas Package Center and you have noticed that the installed version is outdated. How can you upgrade your outdated Synology WordPress version to a newer version? Updating WordPress to the latest version (5.3) is rather easy.
Synology WordPress Package vs Official WordPress Files:
- When WordPress.org releases a new version, it can take several weeks or months before the equivalent Synology Package becomes available. Most of the recent updates have been patches for security vulnerabilities so having quick access to updates is really important these days.
- While the manual installation process for the WordPress.org version is a little more complex than the wizard-driven Synology Package version, it gives you more control over the whole WordPress installation.
Before you upgrade, please read these important notes:
WARNING: the upgrade process will affect all files and folders included in the main Synology Web/WordPress. This includes all the core files used to run your WordPress. Remember, before installing new WordPress files back up all your WordPress files and databases. Once you have done that, download the latest version of WordPress from the official WordPress website, unzip it and save it on your desktop.
Overwrite all your files on web/wordpress except these: (Follow the instructions in the images below).
- wp-config.php (File)
- wp-content (Entry Folder)
- .htaccess (File)
Step 1 – After downloading the latest WordPress version from the official website, unzip it and delete the folder named wp-content.
Step 2 – Your fresh WordPress folder should look like this one without the wp-content folder inside.
Step 3 – Log into your Synology, access File Station and the directory where your wordpress files are stored and overwrite them with the new wordpress files. Overwrite all your files on web/wordpress except the file wp-config.php, wp-content entry folder, .htaccess.
Step 4 – When you log into your WordPress again, you will be prompted to upgrade your database:
After clicking “Continue” you can Enjoy your latest WordPress version!
Can I delete syno-misc.php and pingbackIsOpend files already present in my Synology web/wordpress folder? Yes you can. You will no longer need these exclusive files requested only for the official version of Synology WordPress Package.
Something gone wrong after delete syno-misc.php and pingbackIsOpend? No problem you can download again by contacting me.
if deleting these files things go wrong open wp_config.php that you find in the main wordpress folder and delete these lines at the end of the file and save it:
/ ** Sets up WordPress vars and included files. * / require_once (ABSPATH. 'wp-settings.php'); require_once (ABSPATH. 'syno-misc.php');
I can’t upload themes and plugins and I can’t update existing plugins or themes. If you have this problem please read my complete step by step guide Synology: WordPress Request FTP Credentials To Download Plugins (Solved) If you don’t have time to read the entire article, just follow these easy instructions below.
If you want to avoid inserting the FTP credentials every time you want to download/update plugins or themes, go to File Station – Web – WordPress – wp-config.php
Download the wp-config.php file, edit it in notepad and, at the end of the file, insert this code:
//**The next line allows direct downloads*/ define('FS_METHOD', 'direct');
It should look like this when you save the file:
After you do this, upload the file to File Station – Web – WordPress – and overwrite the existing wp-config.php file with the new one. Now you can try to install some plugins and no FTP credentials will be requested.