ispCP - Board - Support
update from vhcs - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: update from vhcs (/thread-3624.html)



update from vhcs - memic - 06-27-2008 03:13 AM

hi,

i followed http://www.isp-control.net/documentation/start/upgrade/vhcs
for the upgrade process, so far everythings fine, but i get this:

Starting Installation...
useradd: UID 2000 is not unique
ERROR: External command '/usr/sbin/useradd -d /var/www/fcgi/master -m -c vu-master -g vu2000 -s /bin/false -u 2000 vu2000' returned '4' status !

sure this user already exist since the previous installation is still there?

is the install script broken in case there is a old vhcs2 installation?

memic


RE: update from vhcs - kilburn - 07-04-2008 08:29 AM

It seems that the howto is wrong. You don't have to install ispcp, just run ispcp-update (the following step), which will let you choose vhcs as the source version to update from.


RE: update from vhcs - Cube - 07-04-2008 09:55 AM

I have changed it in the howto, it would be nice if somebody else could confirm that it is working now. (I have never upgraded from VHCS.)


RE: update from vhcs - ergozd - 07-05-2008 01:41 AM

Cube Wrote:I have changed it in the howto, it would be nice if somebody else could confirm that it is working now. (I have never upgraded from VHCS.)

I wanted to confirm that the howto works.

I did an upgrade from Debian 3.1 (Sarge) and VHCS 2.4.7.1 to Debian Etch and ISPCP-RC5 and it worked fine.


RE: update from vhcs - dabdab - 07-07-2008 12:46 PM

ergozd Wrote:
Cube Wrote:I have changed it in the howto, it would be nice if somebody else could confirm that it is working now. (I have never upgraded from VHCS.)

I wanted to confirm that the howto works.

I did an upgrade from Debian 3.1 (Sarge) and VHCS 2.4.7.1 to Debian Etch and ISPCP-RC5 and it worked fine.
Hello,
I did an upgrade from Debian 3.1 (Sarge) and VHCS 2.4.7.1 to Debian Etch and ISPCP-RC5 - but the upgrade did not work with the english howto.
After running the ispcp-setup the ispcp-update was running without errors.

The frensh howto with the 8 steps works fine - I adapted the english one...

Dabdab


RE: update from vhcs - dabdab - 07-08-2008 04:55 PM

After migration from vhcs, the default language is "unknown" everywhere.

Found this in "vhcs2.4.7-ispcp.sql":
-- English Translation is up to date after install
-- DROP TABLE IF EXISTS `lang_English`;

Yes, the lang_English is installed by "ispc-setup", but overwritten by the old table form vhcs2 by the "ispc-update".

May be it is a good idea to drop the `lang_English` too and reinstall the "good" `lang_English` form ispc later in the script?

dabdab


RE: update from vhcs - memic - 07-24-2008 06:17 AM

which upgrad doku was changed?
http://www.isp-control.net/documentation/start/upgrade/vhcs this?

here i still have the part 7 which seems to be wrong,
even on skipping this part i get an error

Welcome to ispCP '1.0.0 RC5 OMEGA' Update Dialog.
This program will update your VHCS / ispCP OMEGA system on your server.
Please make sure you have a backup of your server data.

NOTE: During the migration process some or all services might require to be
shut down or restarted.

Please select from which version you want to update:
(1) VHCS 2.4.7 or VHCS 2.4.7.1
(2) VHCS 2.4.8 RC1
(3) ispCP OMEGA 1.0.0 RC2 (incl. b and c)
(4) ispCP OMEGA 1.0.0 RC3
(5) ispCP OMEGA 1.0.0 RC4
(0) abort
Your selection: 2

Make sure you have installed ispCP OMEGA first as described in the INSTALL
document.

Continue?
(1) Yes
(0) No
Your selection: 1
Please enter path to vhcs2.conf [/etc/vhcs2/vhcs2.conf]:
Stopping vhcs2_daemon: No /var/www/vhcs2/daemon/vhcs2_daemon found running; none killed.
Stopping ispCP GUI-Backend communication Daemon: ispcp_daemon.
Stopping ispCP Network Traffic Logger: ispcp_network
* ispcp_network is already stopped
.
Dropping empty ispcp table...failed!

thats it..

seems that my mysql root passwort is wrong which is used in the install script..
i removed the mysql root password since there have been errors in the mysql log
(yes its a lokal test machine Wink). seems like the password for the database is not read
correct from the vhcs2.conf file? after this the database was created and copied.
maybe its because i tried to INSTALL first? maybe the db password was f***ed up there?

i will see if this works now..


RE: update from vhcs - dabdab - 07-24-2008 08:10 AM

memic Wrote:which upgrad doku was changed?
http://www.isp-control.net/documentation/start/upgrade/vhcs this?

here i still have the part 7 which seems to be wrong,
even on skipping this part i get an error
Yes, this doc was changed. The migration will not work without the new part 7!
Your problem looks like database problems as you decribed.
I testet the mig. with debian and it worked fine.

But there still is a flaw in language migration in RC5. You should adapt the changes that are fixed in RC6 by now.
see http://www.isp-control.net/ispcp/ticket/1395

dabdab


RE: update from vhcs - memic - 07-24-2008 06:35 PM

dabdab Wrote:
memic Wrote:which upgrad doku was changed?
http://www.isp-control.net/documentation/start/upgrade/vhcs this?

here i still have the part 7 which seems to be wrong,
even on skipping this part i get an error
Yes, this doc was changed. The migration will not work without the new part 7!
Your problem looks like database problems as you decribed.
I testet the mig. with debian and it worked fine.

But there still is a flaw in language migration in RC5. You should adapt the changes that are fixed in RC6 by now.
see http://www.isp-control.net/ispcp/ticket/1395

dabdab

well yes, than im back at the beginning point 6 quits cause i alredy have the user with the id 2000.


RE: update from vhcs - dabdab - 07-25-2008 10:38 AM

Hi memic,
figure out how many vu2xxx you have byt typing something like
grep vu2 /etc/passwd | sort
You could try to set in /etc/ispcp/ispcp.conf the parameter
APACHE_SUEXEC_MIN_UID = 2000 to the max number +1 of your installed vu2xxxx users and the run ispcp-setup.

dabdab