|
RC4 testers needed
|
| Author |
Message |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: RC4 testers needed
can you see the owner of the mail folders?
This should all be the same:
# ls -la /var/mail/virtual/
drwxr-xr-x 5 root root 4096 2008-01-19 01:47 .
drwxrwsr-x 3 root mail 4096 2008-03-10 06:26 ..
drwx------ 54 vmail mail 4096 2008-01-25 12:57 domain.ch
# ls -la /var/mail/virtual/domain.ch/
drwx------ 54 vmail mail 4096 2008-01-25 12:57 .
drwxr-xr-x 5 root root 4096 2008-01-19 01:47 ..
drwxr-xr-x 5 vmail mail 4096 2008-01-02 03:00 abuse
...
/J
2008-03-16 ispCP RC4 released!!!
|
|
| 03-10-2008 08:08 PM |
|
 |
Kika
Junior Member

Posts: 59
Group: Registered
Joined: Feb 2007
Status:
Offline
Reputation: 1
|
RE: RC4 testers needed
# ls -la /var/mail/virtual/
drwxr-xr-x 32 root root 4096 2008-02-21 10:24 .
drwxrwsr-x 3 root mail 4096 2008-03-10 06:25 ..
drwx------ 5 vmail mail 4096 2008-02-06 22:59 domain.tld
# ls -la /var/mail/virtual/domain.tld
drwx------ 22 vmail mail 4096 2008-02-06 14:38 .
drwxr-xr-x 32 root root 4096 2008-02-21 10:24 ..
drwxr-xr-x 5 vmail mail 4096 2007-12-13 06:45 abuse
OS: Debian etch
ispCP version: nightly 2008-04-02; 2008-05-31
This post was last modified: 03-10-2008 10:22 PM by Kika.
|
|
| 03-10-2008 08:31 PM |
|
 |
Kika
Junior Member

Posts: 59
Group: Registered
Joined: Feb 2007
Status:
Offline
Reputation: 1
|
RE: RC4 testers needed
This is the script what i used for the upgrade:
#!/bin/bash
TIMESTAMP=`date +%Y-%m-%d_%H%M`
FILE=`date +%Y%m%d`
# Backup current version
mkdir /var/www/backup/
cd /var/www/backup/
tar czpf $TIMESTAMP-ispcp_backup.tar.gz ../ispcp/
tar czpf $TIMESTAMP-etc.tar.gz /etc
cp ../ispcp/engine/ispcp-db-keys.pl ./ispcp-db-keys.pl
cp ../ispcp/gui/include/ispcp-db-keys.php ./ispcp-db-keys.php
cp ../ispcp/gui/tools/pma/config.inc.php ./config.inc.php
#Download and unpack new version
rm -fR /tmp/ispcp
mkdir /tmp/ispcp
cd /tmp/ispcp
wget http://www.isp-control.net/downloads/snapshots/ispcp-omega-trunk-$FILE.tar.bz2
tar -xjvf ispcp-omega-trunk-$FILE.tar.bz2
cd /tmp/ispcp/web/svn/nightly
make install
# Stop IspCP
/etc/init.d/ispcp_daemon stop
sleep 5
# Upgrade
cd /tmp/ispcp/var/www/
cp -R ispcp/ /var/www/
cd /var/www/backup/
cp ispcp-db-keys.pl ../ispcp/engine/
cp ispcp-db-keys.pl ../ispcp/engine/messager/
cp ispcp-db-keys.php ../ispcp/gui/include/
cp config.inc.php ../ispcp/gui/tools/pma/
cd ../ispcp/engine/setup/
./set-engine-permissions.sh
./set-gui-permissions.sh
# mySQL upgrades
mysql -u root -ppassword ispcp < /root/ispcontrol/ispcp_mysql_update.sql
# Rebuild
/var/www/ispcp/engine/ispcp-rqst-mngr
#remove temp directories
rm -fR /tmp/ispcp
# Start IspCP
/etc/init.d/ispcp_daemon start
ispcp_mysql_update.sql:
UPDATE mail_users SET status="toadd" where status="ok";
UPDATE domain SET domain_status = 'change' WHERE domain_status = 'ok';
UPDATE domain_aliasses SET alias_status = 'change' WHERE alias_status = 'ok';
UPDATE subdomain SET subdomain_status = 'change' WHERE subdomain_status = 'ok';
OS: Debian etch
ispCP version: nightly 2008-04-02; 2008-05-31
This post was last modified: 03-10-2008 10:51 PM by Kika.
|
|
| 03-10-2008 09:32 PM |
|
 |
Zothos
Member
   
Posts: 581
Group: Dev Team
Joined: Feb 2007
Status:
Offline
Reputation: 7
|
RE: RC4 testers needed
thx for your mysql root pw....
Real programmers don't comment their code - it was hard to write, it should be hard to understand
OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd
|
|
| 03-10-2008 10:11 PM |
|
 |
Kika
Junior Member

Posts: 59
Group: Registered
Joined: Feb 2007
Status:
Offline
Reputation: 1
|
RE: RC4 testers needed
thx for your mysql root pw....
Thx. i changed that
OS: Debian etch
ispCP version: nightly 2008-04-02; 2008-05-31
|
|
| 03-10-2008 10:17 PM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: RC4 testers needed
if it's a bigger update step, you should also copy the new tpl files in /etc/ispcp/*/parts/*.tpl
/J
2008-03-16 ispCP RC4 released!!!
|
|
| 03-10-2008 10:35 PM |
|
 |
Kika
Junior Member

Posts: 59
Group: Registered
Joined: Feb 2007
Status:
Offline
Reputation: 1
|
RE: RC4 testers needed
I upgraded the iscp.conf, but the tpls not. I will try...
OS: Debian etch
ispCP version: nightly 2008-04-02; 2008-05-31
|
|
| 03-10-2008 10:45 PM |
|
 |
Kika
Junior Member

Posts: 59
Group: Registered
Joined: Feb 2007
Status:
Offline
Reputation: 1
|
RE: RC4 testers needed
hmm
in the ispcp database i found this at the status of a mail_user:
store_file() | ERROR: Undefined input data, fname: |/etc/ispcp/postfix/backup/mailboxes.1205063224|, fdata, fuid: '', fgid: '', fperms: '420'
This file not extists...
OS: Debian etch
ispCP version: nightly 2008-04-02; 2008-05-31
|
|
| 03-10-2008 11:25 PM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: RC4 testers needed
seems that the engine does not know what's the right user.
Since some trunk versions the ispcp.conf hast two more lines: user (root) and group (also root, or wheel in bsd) - if you put theese data in later then set the status to "toadd" an rerun the request manager (I think this now can also be done in the debugger in the gui).
/J
2008-03-16 ispCP RC4 released!!!
|
|
| 03-10-2008 11:33 PM |
|
 |
Kika
Junior Member

Posts: 59
Group: Registered
Joined: Feb 2007
Status:
Offline
Reputation: 1
|
RE: RC4 testers needed
The problem was when i try to upgrade first than i didn't upgrade the ispcp.conf. I saw the error on the login screen (ROOT_USER, ROOT_GROUP) than i did the ispcp.conf upgrade, but the status of the mail_users was not "ok" when i rerun the mysql upgrade script... Thanks joximu.
Now i updated the mail_users, domains, aliases, subdomains tables and rebuild (/var/www/ispcp/engine/ispcp-rqst-mngr). All status is ok, but the courier doesn't works. The log equal than the last what i pasted.
OS: Debian etch
ispCP version: nightly 2008-04-02; 2008-05-31
|
|
| 03-10-2008 11:56 PM |
|
 |
|
|