Gets the version of a reference site and update the wordpress site, if the reference site has a higher version.
It downloads the latest wordpress version and upload it via ftp. After login, it clicks on the "Update WordPress Database" link.
- Checks if the reference site has a higher version.
- Download the new wp version.
- Unzip the wordpress zip file.
- Upload the new files.
- Login to update the database.
- Update the wordpress database.
License: GNU General Public License
Author: Christoph Daniel Miksche (m5e.de)
- Use the following command to install all dependencies.
pip install pipenv
pipenv install
Alternatively if your using Debian:
apt install python-beautifulsoup python-mechanize python-lxml
-
Then clone the git repository.
-
After that, please change the variables in the settings.py file.
-
Enter the command
python updater.py
in your commandline. -
If you want to schedule your updates, edit your /etc/crontab file.