ispCP - Board - Support
RC4 testers needed - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Announcements (/forum-6.html)
+--- Thread: RC4 testers needed (/thread-2666.html)

Pages: 1 2 3 4 5 6


RE: RC4 testers needed - joximu - 03-10-2008 08:08 PM

can you see the owner of the mail folders?

This should all be the same:
Code:
# 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


RE: RC4 testers needed - Kika - 03-10-2008 08:31 PM

Code:
# 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

Code:
# 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



RE: RC4 testers needed - Kika - 03-10-2008 09:32 PM

This is the script what i used for the upgrade:

Code:
#!/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:
Code:
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';



RE: RC4 testers needed - Zothos - 03-10-2008 10:11 PM

thx for your mysql root pw....


RE: RC4 testers needed - Kika - 03-10-2008 10:17 PM

Zothos Wrote:thx for your mysql root pw....
Thx. i changed that Smile


RE: RC4 testers needed - joximu - 03-10-2008 10:35 PM

if it's a bigger update step, you should also copy the new tpl files in /etc/ispcp/*/parts/*.tpl

/J


RE: RC4 testers needed - Kika - 03-10-2008 10:45 PM

I upgraded the iscp.conf, but the tpls not. I will try...


RE: RC4 testers needed - Kika - 03-10-2008 11:25 PM

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...


RE: RC4 testers needed - joximu - 03-10-2008 11:33 PM

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


RE: RC4 testers needed - Kika - 03-10-2008 11:56 PM

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.