MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Development => Topic started by: MRatWork on 2013-01-03, 11:42:32

Title: [Kloxo-MR 6.5.1] Change data path
Post by: MRatWork on 2013-01-03, 11:42:32
As we know, data path for Kloxo-MR 6.5.0 still the same as Kloxo official:
Code: [Select]
/home
  |
  |__<user>
  |    |
  |    |__<domain> ==> document root for website
  |    |
  |    |__kloxoscript ==> phpinfo script for <user>
  |
  |__lxadmin
  |    |
  |    |__mail
  |         |
  |         |__bin ==> executable file for vpopmail (using special vpopmail for lxadmin)
  |         |
  |         |__domains
  |              |
  |              |__<domain> ==> mail data
  |
  |__kloxo
  |    |
  |    |__client
  |    |    |
  |    |    |__<user> ==> for backup data
  |    |
  |    |__httpd ==> for defaults pages (like cp., webmail. and etc), ssl, awstats and etc
  |
  |__httpd
  |    |
  |    |__<domain> ==> php.ini
  |         |
  |         |__dirprotect
  |         |
  |         |__stats
  |
  |__apache/lighttpd/nginx/php-fpm/phpini ==> for config

For Kloxo-MR 6.5.1, data path propose to change to:

Code: [Select]
/home
  |
  |__<user>
  |    |
  |    |__<domain> ==> php.ini
  |    |    |
  |    |    |__www  ==> document root for website
  |    |    |
  |    |    |__mail ==> mail data
  |    |    |
  |    |    |__dirprotect
  |    |    |
  |    |    |__stats
  |    |
  |    |__backup
  |
  |__configs ==> for apache/lighttpd/nginx/php-fpm/phpini for config
  |
  |__defaults ==> for defaults pages (like cp., webmail. and etc), ssl, awstats and etc

Need discussion/feedback/response from Kloxo-MR users.
Title: Re: [Kloxo-MR 6.5.1] Change data path
Post by: Spacedust on 2013-01-03, 17:17:06
Good, but I'm scared that moving mail won't work. On each update there will be a long downtime to rebuild whole configuration and there is no guarantee that it will all work.

Kloxo doesn't even have the simplest thing to rebuild /var/qmail/users. In case of data lost we're stuck.

Some of my domains are using:

/home/lxadmin/mail/domains/3/domain.pl

instead of:

/home/lxadmin/mail/domains/domain.pl

because some users reported mail_account_add_failed message and I have to readd domain inside qmail manually to make such domains work.
Title: Re: [Kloxo-MR 6.5.1] Change data path
Post by: MRatWork on 2013-01-03, 18:19:24
If I am sucessful for using qmail-toaster (instead 'special' qmail using by lxadmin), I am confidence to change data path.
Title: Re: [Kloxo-MR 6.5.1] Change data path
Post by: Spacedust on 2013-01-03, 18:58:02
Quote from: "MRatWork"
If I am sucessful for using qmail-toaster (instead 'special' qmail using by lxadmin), I am confidence to change data path.

OK, but please my a script that will rebuild the new configuration not just leave users as is or we'll have all non-working mail accounts.
Title: Re: [Kloxo-MR 6.5.1] Change data path
Post by: Tsanten on 2013-01-04, 17:21:54
For me the new datapath is better
Title: Re: [Kloxo-MR 6.5.1] Change data path
Post by: Spacedust on 2013-01-04, 17:31:04
Quote from: "tsanten"
For me the new datapath is better

It's better for me too, but Mustafa need to make a script or instruction how to rebuild all structure without having big downtime.
Title: Re: [Kloxo-MR 6.5.1] Change data path
Post by: Tsanten on 2013-01-04, 21:53:11
Lets see first how is working on a new server ( i have a kvm vps waiting for).
Title: Re: [Kloxo-MR 6.5.1] Change data path
Post by: MRatWork on 2013-01-05, 10:39:16
Kloxo-MR 6.5.0 still using old data path but I hope already use standard qmail-toaster (instead lxadmin qmail).

And then Kloxo-MR 6.5.1 already using new data path.
Title: Re: [Kloxo-MR 6.5.1] Change data path
Post by: Spacedust on 2013-01-05, 17:16:04
Quote from: "MRatWork"
Kloxo-MR 6.5.0 still using old data path but I hope already use standard qmail-toaster (instead lxadmin qmail).

And then Kloxo-MR 6.5.1 already using new data path.

So we will be able to upgrade qmail via repos like atomic etc. ?
Title: Re: [Kloxo-MR 6.5.1] Change data path
Post by: MRatWork on 2013-01-06, 02:07:23
No, must be using qmail-toaster from qmailtoaster.com

No guarantee if taken from other sources.
Title: Re: [Kloxo-MR 6.5.1] Change data path
Post by: awan on 2013-08-21, 18:29:41
it is possible kloxo have new structural of admin / panel page?
I was try to editing template but stuck with very very Hard structural those ,
on httpdocs << too much script unneccessary  there.
if template structure is change I want to support about design :D