ispCP - Board - Support
Upgrade IspCp 1.0.6 to 1.0.7 - 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: Upgrade IspCp 1.0.6 to 1.0.7 (/thread-11885.html)

Pages: 1 2


Upgrade IspCp 1.0.6 to 1.0.7 - bike92 - 10-17-2010 06:41 AM

I have read this guide http://isp-control.net/documentation/start:upgrade:ubuntu

and do all...
but when i do
Code:
perl ispcp-update
from ssh
the server respond:

Quote:Can't locate version.pm in @INC (@INC contains: /var/www/ispcp/engine/setup/.. /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at ispcp-setup-methods.pl line 31.
BEGIN failed--compilation aborted at ispcp-setup-methods.pl line 31.
Compilation failed in require at ispcp-update line 60.
root@emmerre:/var/www/ispcp/engine/setup# perl ispcp-install
Can't open perl script "ispcp-install": No such file or directory

can you help me???


RE: Upgrade IspCp 1.0.6 to 1.0.7 - Nuxwin - 10-17-2010 06:51 AM

Hello

Code:
$ sudo aptitude install libperl-version-perl

and then, rerun the update script.

Don't forget to install all listed required packages

Code:
$ sudo aptitude install $(cat ./docs/Ubuntu/ubuntu-packages-`lsb_release -cs`)

Note: I''ll checks if the package list is outdated.


RE: Upgrade IspCp 1.0.6 to 1.0.7 - bike92 - 10-17-2010 06:54 AM

hello! and thank you for the immediately reply....

but the error is the same....
Code:
Can't locate version.pm in @INC (@INC contains: /var/www/ispcp/engine/setup/.. /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at ispcp-setup-methods.pl line 31.
BEGIN failed--compilation aborted at ispcp-setup-methods.pl line 31.
Compilation failed in require at ispcp-update line 60.



RE: Upgrade IspCp 1.0.6 to 1.0.7 - Nuxwin - 10-17-2010 07:04 AM

Oh.. god...

First, perl 5.8.8 is not compatible with ispCP 1.0.7. Minimum Perl version for ispCP 1.0.7 is 5.10.0

What Ubuntu version you have ?

Also, what the result from this command:

Code:
$ aptitude show libperl-version-perl



Edit:

Also the http://isp-control.net/documentation/start:upgrade:ubuntu guide is only for ispCP 1.0.6 and was not updated for 1.0.7. For not stable versions, It's always better to read the INSTALL file from the package and not from our wiki.


RE: Upgrade IspCp 1.0.6 to 1.0.7 - bike92 - 10-17-2010 07:15 AM

Ubuntu 8.4

and the result of
Code:
$ aptitude show libperl-version-perl

is:
Code:
Unable to locate package libperl-version-perl

I read "READ" that speak about read the file in docs....but the file in docs/ named Ubuntu is empty....


RE: Upgrade IspCp 1.0.6 to 1.0.7 - Nuxwin - 10-17-2010 07:27 AM

First, the file docs/Ubuntu/INSTALL file exit...

Also, sorry but Hardy is not longer supported (due to Perl version that is too old). Support will be removed for it this week. Better for you ---> update to last Ubuntu LTS version (10.04 - Lucid Lynx). From ispCP 1.0.7, only the two last LTS Ubuntu versions will supported by ispCP now (beginning with Lucid Lynx).



Edit: http://isp-control.net/forum/thread-11886-lastpost.html


RE: Upgrade IspCp 1.0.6 to 1.0.7 - yaispcpu - 12-06-2010 12:35 AM

Hmm, i run in the same problem.

The documentation for upgrade to ISPCP Omega 1.07 found here
is wrong. As you can see, Hardy Heron is mentioned to be supported and no statement, that 8.04 user had to upgrade to 10.04. This is a bad trap. Sad

Upgrading the server to a new LTS is more than a single step. And not every provider has a 10.04 LTS Image ready. The Support for 8.04 LTS ends in April 2013.

You say only the last two LTS Version of Ubuntu are supported, but not 8.04 LTS. So, only one and not two LTS Versions of Ubuntu are at this time supported. To say this, sounds linke saying "Tomorrow the world will be gone!". And after the people gets panic, you wonder about that and say "Hey, i did´nt say, that today is the the day before tomorrow?" What will you say, if there will be no more LTS Versions of Ubuntu after 10.04 LTS in future? Wink


RE: Upgrade IspCp 1.0.6 to 1.0.7 - yaispcpu - 12-06-2010 02:09 AM

Ok, i did the upgrade to 10.04 LTS.

And then i execute following commands:

Code:
sudo aptitude install libperl-version-perl
sudo aptitude install $(cat ./docs/Ubuntu/ubuntu-packages-`lsb_release -cs`)

Code:
sudo aptitude show libperl-version-perl

shows now:

Code:
Package: libperl-version-perl
New: yes
State: installed
Automatically installed: no
Version: 1.009-1
Priority: optional
Section: universe/perl
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uncompressed Size: 106k
Depends: perl, libfile-slurp-perl (>= 9999.12)
Description: module to parse and manipulate Perl version strings
Perl::Version provides a simple interface for parsing, manipulating and
formatting Perl version strings.

Unlike version.pm (which concentrates on parsing and comparing version strings)
Perl::Version is designed for cases where you'd like to parse a version, modify
it and get back the modified version formatted like the original.
Homepage: http://search.cpan.org/dist/Perl-Version/

But after

Code:
perl ispcp-update

i get again:

Code:
Can't locate DateTime.pm in @INC (@INC contains: /var/www/ispcp/engine/setup/.. /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ispcp-setup-methods.pl line 43.
BEGIN failed--compilation aborted at ispcp-setup-methods.pl line 43.
Compilation failed in require at ispcp-update line 46.



RE: Upgrade IspCp 1.0.6 to 1.0.7 - RatS - 12-06-2010 07:05 AM

You are right, this was not the best idea to remove it and I think the developer who did was not thinking of it properly. let me see if I can restore 8.04. packages.
You need "libdatetime-timezone-perl" actually it should be in the packages.


RE: Upgrade IspCp 1.0.6 to 1.0.7 - motokochan - 12-06-2010 09:57 AM

(12-06-2010 12:35 AM)yaispcpu Wrote:  As you can see, Hardy Heron is mentioned to be supported and no statement, that 8.04 user had to upgrade to 10.04. This is a bad trap. Sad

Don't feel too bad. In my absence, the install documentation for CentOS got all kinds of messed up and there is no easy way to run CentOS 5.x with icpCP 1.07 as it requires Perl 5.10 (not available as a package until RHEL/CentOS 6). The solution to manually compile Perl works but is not very palatable.

(Hint to devs: only major or minor version increments should have new features and drop older version compatibility! The third number is a "bugfix" position.)