Be sure to check Changelog before updating
for update created utility update.sh
Run it
./update.sh |
The first time you update, the system will ask you for a password to the maintenance system and an update certificate (a certificate without a password, just press [Enter]).
The renewal certificate is provided by ABillS Support.
When updating the system
* shows the last 10 web interface errors.
* updates the database structure.
* warns about updating commercial modules.
* makes a backup of the current system in the /usr/abills_YYYY_MM_DD directory
Use this type of update only if you know what you are doing
./update.sh -b dev |
./update.sh -dl |
The utility checks the presence of the required fields in the database
/usr/abills/misc/db_check/db_check.pl |
if you need to roll back, just copy the files from the /usr/abills_YYYY_MM_DD backup directory to /usr/abills/
# cp -r /usr/abills_YYYY_MM_DD/* /usr/abills/
make a backup of the SQL database
/usr/abills/libexec/periodic backup |
copy backup to new server
scp /usr/abills/backup/stats-2018-08-04.sql.gz abills_admin@10.10.10.1:~ |
Copy the config file to the new server
scp /usr/abills/libexec/config.pl abills_admin@10.10.10.1:~ |
Unzip archive
gzip -d stats-2018-08-04.sql.gz |
Copy the configuration file config.pl to /usr/abills/libexec/
mysql -D abills < stats-2018-08-04.sql |
Run the database matching utility
cd /usr/abills/misc/db_check ./db_check.pl |
Check logs
/usr/abills/var/log/sql_errors /var/log/httpd/abills-error.log |