Problem
After migrating BILLmanager to a new server, one or more of the previously installed modules has stopped working. At the same time, the modules are displayed in the web interface.
Solution
After migrating BILLmanager, some modules may need to be reinstalled because the required packages are missing on the new server. Because of this, the functionality of the modules is disrupted, even if they are displayed in the web interface.
To reinstall the required modules on the new server:
- Connect to the server with the platform via SSH. For more information about connecting via SSH, see Workstation setup.
- Run the command:
/usr/local/mgr5/sbin/mgrctl -m billmgr fix.modules
The command will automatically restore most BILLmanager modules.
Some packages are not restored by the command above. For example, payment modules, the Telegram module or online cash register modules. To restore these:
- Connect to the source and new platform servers via SSH with root permissions (root by default). For more information about connecting via SSH, see Workstation setup.
- Run the command on both servers:
AlmaLinuxrpm -qa|grep billmanager
Ubuntudpkg -l|grep billmanager
- Compare the output of the command and install the missing modules on the new server:
AlmaLinuxdnf install <package_name>
Ubuntuapt install <package_name>
Useful tips
Related topics: