Blesta Addons Posted April 28, 2016 Report Posted April 28, 2016 in some case, we need to change services from server to server, or from package to package , and we need to update the module_row_id also . at the moment there are no option/way to update module_row_id in service fields . the function getAdminAddFields() when it send the data is designed to allow sending module_row_id . it would be nice if the editservice() function also allow acepeting if the $vars['module_row_id'] exist and update it if sended via post . at the moment we are totally stuck and we can't migrate any service from server to server just for this stuck . we need to terminate the service , recreate the service without use module . hope to see a fix for this in v 4 . some older thread that are concerned about this behavior http://www.blesta.com/forums/index.php?/topic/3906-changing-module-in-package-settings-does-not-update-module-row-id-of-existing-services/ http://www.blesta.com/forums/index.php?/topic/3891-remove-module/ http://www.blesta.com/forums/index.php?/topic/4387-change-directadmin-server/ http://www.blesta.com/forums/index.php?/topic/6293-cpanel-allow-staff-to-choose-wich-server-to-create-the-account/ http://www.blesta.com/forums/index.php?/topic/5598-how-to-safely-remove-tasty-cpanel-module-and-revert-to-stock-cpanel-module/ Quote
Tyson Posted April 28, 2016 Report Posted April 28, 2016 When you manage the module in Blesta, are there two module rows (servers) defined? Are they in the same group (if grouping is allowed for that module)? If so, you can manage the service and find a select option at the top of the Information page that allows you to switch module rows, which will update the module_row_id you are referring to. Blesta Addons 1 Quote
Blesta Addons Posted April 28, 2016 Author Report Posted April 28, 2016 When you manage the module in Blesta, are there two module rows (servers) defined? Are they in the same group (if grouping is allowed for that module)? If so, you can manage the service and find a select option at the top of the Information page that allows you to switch module rows, which will update the module_row_id you are referring to. sorry , i don't understand your attention . i'm talking about services not packages , let describe a simple example . with cpanel module , we have 4 servers . in service creation , the service is created with the server 1 . after we diceded to move the account to another server , we have made the transfer, we need to update a service to update the module_row_id with the new server , the same thing with proxmox , and the same with logicbox module if we have two account that we use . from admin side , no option to update the module_row_id for service beside change it from database directly . this case has no effect if we use 1 server or 1 account in our modules, like we have a large base of clients and distributors, we have a lot of servers for hosting , for vps, and for domains . i hope is clear now . Quote
Blesta Addons Posted April 28, 2016 Author Report Posted April 28, 2016 from this thread cpanel-change-server i see the OP have option to change server for accounts ? i don't have this option ? where i can find it ? Quote
Blesta Addons Posted April 28, 2016 Author Report Posted April 28, 2016 i have found how to display the server info ... it's from package , the module should support server group , and then put the servers inside group , then in package select the server group . now in service info an option to change the server is available . activa 1 Quote
Tyson Posted April 28, 2016 Report Posted April 28, 2016 i have found how to display the server info ... it's from package , the module should support server group , and then put the servers inside group , then in package select the server group . now in service info an option to change the server is available . Yes, this is the option I was referring to in my previous post. Quote
Blesta Addons Posted April 29, 2016 Author Report Posted April 29, 2016 Yes, this is the option I was referring to in my previous post. it would also good if the option available even if package group is not set . not all the module has group option and this can help in so many cases . Quote
activa Posted April 30, 2016 Report Posted April 30, 2016 i have found how to display the server info ... it's from package , the module should support server group , and then put the servers inside group , then in package select the server group . now in service info an option to change the server is available . this has resolved one issue we have , it remain the option to change the service module row id if no group available . we hope to see this in some new releases . it's very very useful and will save us a lot of time by editing the database directly . Blesta Addons 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.