Hello
As I don't want to use ns1.domain.com and ns2.domain.com on each domain, but I choose to use my hardcoded dns, after each upgrade I run a little script.
It copies the db_e.tpl with my settings, change the database and then launch the manager
Code
- #copie le fichier db_e.tplcp /root/db_e.tpl /etc/imscp/bind/parts/db_e.tpl#Stop le Daemon/etc/init.d/imscp_daemon stop# Place tous les domaines en tochangemysql -u root -p$1 -B --exec='connect imscp;UPDATE `domain` SET `domain_status` = "tochange" WHERE `domain_status` = "ok";'# Remets CQFD.net en OKmysql -u root -p$1 -B --exec='connect imscp;UPDATE `domain` SET `domain_status` = "ok" WHERE `domain_name` = "cqfd.net";'# Place les domain_aliases en tochangemysql -u root -p$1 -B --exec='connect imscp;UPDATE `domain_aliasses` SET `alias_status` = "tochange" WHERE `alias_status` = "ok";'# Lance le request-Manager/var/www/imscp/engine/imscp-rqst-mngr# Start le Daemon/etc/init.d/imscp_daemon start
But this time, I got the following errors :
Code
- Processing type NetCard.
- [ERROR]
- iMSCP::Debug::__ANON__: Use of uninitialized value in concatenation (.) or
- string at /var/www/imscp/engine/PerlLib/Modules/Subdomain.pm line 191,
- <CATCHERR> line 1.
- [ERROR]
- iMSCP::Debug::__ANON__: Use of uninitialized value in concatenation (.) or
- string at /var/www/imscp/engine/PerlLib/Modules/Domain.pm line 363, <CATCHERR>
- line 1.
- etc...
It seems to generate one error per domain. But.. everything seems working.
I'm stressed
cEd