Updating a templete for all users using the template  [SOLVED]

Discussions about the usage of KeyHelp.
Post Reply
gacott
Posts: 25
Joined: Sat 23. Dec 2023, 19:41

Updating a templete for all users using the template

Post by gacott »

We made a template and have a number of users assigned to that template. Then we found we needed to make a change to the template. Is there a way to push those changes to all existing users? I thought I saw this, but I can't find it now.

Thanks
User avatar
Alexander
Keyweb AG
Posts: 4448
Joined: Wed 20. Jan 2016, 02:23

Re: Updating a templete for all users using the template

Post by Alexander »

Hello,

this is not possible using the user interface. It is possible using the API.

What do you want to change? You may also be able to use the database directly - but this depends on what you want to change.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
gacott
Posts: 25
Joined: Sat 23. Dec 2023, 19:41

Re: Updating a templete for all users using the template

Post by gacott »

Alexander wrote: Mon 12. Aug 2024, 09:55 Hello,

this is not possible using the user interface. It is possible using the API.

What do you want to change? You may also be able to use the database directly - but this depends on what you want to change.
I need to change a number of the PHP settings
User avatar
Alexander
Keyweb AG
Posts: 4448
Joined: Wed 20. Jan 2016, 02:23

Re: Updating a templete for all users using the template  [SOLVED]

Post by Alexander »

ATTENTION: Modifying data directly in the database can lead to problems if not done carefully.

1) Execute the desired SQL query on the relevant fields in the KeyHelp database - table `php_settings`.
2) Then call the CLI command "keyhelp-toolbox" and select this menu item "Rewrite user configuration files (Apache, Bind9, PHP-FPM)".
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Post Reply