@slonkak wrote:
I compiled a list of everything that went wrong during my upgrade from the latest 66.x version to SNG7 so hopefully others doing an in-place upgrade know what to look out for.
Issues upgrading to SNG7
- Asterisk service was left as a SysV service and set to disabled, so literally nothing worked. I had to ‘chkconfig asterisk on’ and reboot.
- Fail2Ban service was converted to sysctl and set to disabled. I had to ‘systemctl enable fail2ban.service’.
- Snmpd service was converted to sysctl and set to disabled. I had to ‘systemctl enable snmpd.service’.
- .htaccess in /var/www/html/admin/ was overwritten and broke my ‘protected’ directory I made to run custom PHP scripts.
- System timezone info was deleted (set to n/a), which broke all Time Conditions on FreePBX. Ran ‘timedatectl status’ to see that the timezone was ‘n/a’. Ran ‘timedatectl list-timezones | grep America’ to find the EST timezone. Then ran ‘timedatectl set-timezone America/New_York’.
- DB table asteriskcdrdb/cel was crashed, which broke CDR reports. My FreePBX server didn’t have enough disk space (2x the size of cel) to run a REPAIR TABLE, so I had to copy the cel.* files from /var/lib/mysql/asteriskcdrdb to another server with mysql and run ‘myisamchk --safe-recover ./cel’, then on FreePBX open MariaDB and run ‘FLUSH TABLES WITH READ LOCK’, copy the cel.* files back in place, ‘UNLOCK TABLES’, then restart the MariaDB service.
- Asterisk Info module was removed. Added back in the Module Admin interface.
- SSHD config was overwritten, breaking my custom access. Fixed /etc/ssh/sshd_config.
- asterisk cron job for storage was readded. I don’t like the default storage alerting values, but they’re in a ZEND protected PHP file so they can’t be changed. I commented out asterisk’s storage cron job so I could have my own script run but it was added back into asterisk’s cron jobs. I had to delete it again.
Hopefully this list will help someone going through their own upgrade and also help the SNG people to make their upgrade process better.
Posts: 4
Participants: 3