Be sure to check Changelog before updating
Update utility
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
Update from development branch
Use this type of update only if you know what you are doing
./update.sh -b dev
Update license
./update.sh -dl
Check fields of database
The utility checks the presence of the required fields in the database
/usr/abills/misc/db_check/db_check.pl
System rollback
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/
Move the system from server to server
On the old server
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:~
On a new server
- Install abills
Unzip archive
gzip -d stats-2018-08-04.sql.gz
Copy the configuration file config.pl to /usr/abills/libexec/
- Restore beckup
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