• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Update templates after installing

P

pfellner

Guest
I used to use the command:
sb_config --update_templates
I've added a new custom template but that doesn't work anymore. How do I tell SB to update the templates DB?
 
Try to check custom template one more time if there are no problems with it's structure and information. Did you see it in Sitebuilder admin CP -> Server -> Templates list?
Try to create a copy of one of the default templates and change it to new one, just to make sure if update procedure works. Change name for this template (directory should have new name and info.xml file information should be updated).
Let me know about the results. As I know there were no issues with template updates in latest versions of Sitebuilder.
 
I'm sorry but I meant to say that the command isn't even recognized.
[root@jupiter ~]# cd /usr/local/sitebuilder/htdocs/templates/
[root@jupiter templates]# sb_config --update_templates
-bash: sb_config: command not found
but to answer your question, no it doesn't appear in the CP.
 
Try to check if it exists on the server:

# whereis sb_config
sb_config: /usr/local/bin/sb_config
# ls -la /usr/local/bin/sb_config
-rwx------ 1 root root 69 Авг 7 2007 /usr/local/bin/sb_config

# cat /usr/local/bin/sb_config
#!/bin/sh
cd /usr/local/sitebuilder/utils/ && exec perl configure $@

Try to run it with full path, like this:

# /usr/local/bin/sb_config --update_templates
 
That did it. I had to use the full path. Thank you Dmitry!
 
Back
Top