Jump to content

Option To Update Module_Row_Id In Service Fields


Blesta Addons

Recommended Posts

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/

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 .

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 .

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...