Current time: 11-23-2024, 09:10 AM Hello There, Guest! (LoginRegister)


Thread Closed 
RC4 testers needed
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #21
RE: RC4 testers needed
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
03-10-2008 08:08 PM
Visit this user's website Find all posts by this user
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #22
RE: RC4 testers needed
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
(This post was last modified: 03-10-2008 10:22 PM by Kika.)
03-10-2008 08:31 PM
Find all posts by this user
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #23
RE: RC4 testers needed
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';
(This post was last modified: 03-10-2008 10:51 PM by Kika.)
03-10-2008 09:32 PM
Find all posts by this user
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #24
RE: RC4 testers needed
thx for your mysql root pw....
03-10-2008 10:11 PM
Find all posts by this user
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #25
RE: RC4 testers needed
Zothos Wrote:thx for your mysql root pw....
Thx. i changed that Smile
03-10-2008 10:17 PM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #26
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
03-10-2008 10:35 PM
Visit this user's website Find all posts by this user
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #27
RE: RC4 testers needed
I upgraded the iscp.conf, but the tpls not. I will try...
03-10-2008 10:45 PM
Find all posts by this user
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #28
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...
03-10-2008 11:25 PM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #29
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
03-10-2008 11:33 PM
Visit this user's website Find all posts by this user
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #30
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.
03-10-2008 11:56 PM
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)