Update von Plesk 9.5.4 auf Plesk 10 schlägt fehl.

lakul

New Member
Hallo,

ich möchte gerne meinen V Powerserver A bei Strato auf Plesk 10 updaten. Ich habe keine Veränderungen am System vorgenommen, außer Updates eingespielt, d.h. es ist das von Strato "vorgegebene" System installiert ohne das ich irgendwelche Manipulationen an Plesk oder am System vorgenommen habe. Es ist Plesk 9.5.4 installiert. Bisher hatte ich auch keinerlei Probleme, aber egal wie ich es anstelle, ein Upgrade auf Version 10.0.0.1 schlägt immer fehl.

Ich gehe so vor:

/etc/init.d/psa stop
/etc/init.d/sw-cp-server stop

/usr/local/psa/admin/sbin/autoinstaller

Nach dem die Installation beginnt und die Dateien gedownload werden, erhalte ich folgende Fehlermeldung:

Code:
Extracting templates from packages: 100%
                                        Authentication warning overridden.
                                                                          (Reading database ... 47767 files and directories currently installed.)
                                                                                                                                                 Preparing to replace psa-mod-fcgid-configurator 1.0.1-0.97047 (using .../psa-mod-fcgid-configurator_2.0.0-ubuntu8.04.build109101029.17_i386.deb) ...
                                                                                                                        /var/lib/dpkg/info/psa-mod-fcgid-configurator.prerm: 9: Syntax error: "}" unexpected (expecting "fi")
                                                dpkg: warning - old pre-removal script returned error exit status 2
                                                                                                                   dpkg - trying script from the new package instead ...
                                                                                                                                                                        dpkg: error processing /var/cache/apt/archives/psa-mod-fcgid-configurator_2.0.0-ubuntu8.04.build109101029.17_i386.deb (--unpack):
                                                                                                                             there is no script in the new version of the package - giving up
                This module is already enabled!
                                               Errors were encountered while processing:
                                                                                         /var/cache/apt/archives/psa-mod-fcgid-configurator_2.0.0-ubuntu8.04.build109101029.17_i386.deb
          E: Sub-process /usr/bin/dpkg returned an error code (1)

Anschließend überprüft er noch die FTP Server, was fehlerfrei klappt und bringt dann:

Code:
ERROR: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Please, contact product technical support.

Ein Upgrade über Plesk selber, bringt übrigens den gleichen Effekt.

Woran könnte das liegen? Gehe ich bei der Installation falsch vor?

Viele Grüße

lakul
 
Hi,

hier die Liste:

Code:
deb ftp://ftp.stratoserver.net/pub/linux/ubuntu hardy main restricted universe
deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu hardy main restricted universe

deb ftp://ftp.stratoserver.net/pub/linux/ubuntu hardy-updates main restricted universe
deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu hardy-updates main restricted universe

deb ftp://ftp.stratoserver.net/pub/linux/ubuntu hardy-security main restricted universe
deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu hardy-security main restricted universe

Spielt diese Liste aber eine Rolle bei der Nutzung des Plesk Updaters? Greift dieser auf diese Liste zu?
 
Code:
apt-get purge psa-mod-fcgid-configurator

Achte aber in jedem Fall darauf, ob der dann noch mehr entfernen will.
 
Hi,

ich habe es probiert, aber leider kam wieder der gleiche Fehler:

Code:
apt-get purge psa-mod-fcgid-configurator
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Reading state information... Fertig
Die folgenden Pakete werden ENTFERNT:
  psa-mod-fcgid-configurator*
0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
After this operation, 61,4kB disk space will be freed.
Möchten Sie fortfahren [J/n]? j
(Lese Datenbank ... 47765 Dateien und Verzeichnisse sind derzeit installiert.)
Entferne psa-mod-fcgid-configurator ...
/var/lib/dpkg/info/psa-mod-fcgid-configurator.prerm: 9: Syntax error: "}" unexpected (expecting "fi")
dpkg: Fehler beim Bearbeiten von psa-mod-fcgid-configurator (--purge):
 Unterprozess pre-removal script gab den Fehlerwert 2 zurück
This module is already enabled!
Fehler traten auf beim Bearbeiten von:
 psa-mod-fcgid-configurator
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Poste mal den Inhalt der Datei /var/lib/dpkg/info/psa-mod-fcgid-configurator.prerm.

Die scheint bei dir ein wenig kaputt zu sein :)
 
Hier ist der Inhalt:

Code:
#!/bin/sh

mod_fcgid_configurator_uninstall_pre() {
        if [ -e /etc/apache2/mods-enabled/fcgid.load ]; then
                /usr/sbin/a2dismod fcgid
        elif [ -e /etc/apache2/conf.d/mod_fcgid.conf ]; then
                /usr/sbin/a2dismod fcgid
        return 0
}

mod_fcgid_configurator_upgrade_old_pre() {
        return 0
}
 
Code:
#!/bin/sh

mod_fcgid_configurator_uninstall_pre() {
        if [ -e /etc/apache2/mods-enabled/fcgid.load ]; then
                /usr/sbin/a2dismod fcgid
        elif [ -e /etc/apache2/conf.d/mod_fcgid.conf ]; then
                /usr/sbin/a2dismod fcgid
        [B][COLOR="Red"]fi[/COLOR][/B]
        return 0
}

mod_fcgid_configurator_upgrade_old_pre() {
        return 0
}


Füg die rote Zeile ein, dann sollte das tun.
 
Oh, wow, so was etwas Simples. Aber wie kann so etwas passieren? Ich habe nie händisch etwas an den Konfigs geändert?

Sollte ich jetzt dennoch

Code:
apt-get purge psa-mod-fcgid-configurator

bevor ich das Upgrade mache?
 
Super ich danke dir,

werde es heute Nacht probieren und mich dann morgen nochmal melden.

MfG und was ich vergessen habe. alles Gute zum Neuen Jahr.
 
Hallo,

dieses Problem habe ich auch, ich habe aber nicht das Verzeichnis /apt ich habe folgende Fehlermeldung, vielleicht kann mir auch jemand helfen:

CRITICAL:3:a programming/runtime error error: %trigger(psa-triggers-10.8.0-suse11.1.build108101004.13.noarch) scriptlet failed, exit status 3
ERROR: An error occurred during installation of packages. Attention! Your software might be inoperable. Please, contact product technical support.


Mein System:
Parallels Plesk Panel version 9.5.4
Operating system Linux 2.6.18-028stab070.5
CPU AuthenticAMD, Quad-Core AMD Opteron(tm) Processor 2347 HE
Average load 0.08; 0.02; 0.01

Strato vServer , auch untouched etc. , vielen Dank für jede Hilfe!!

Gruß
 
Du nicht das selbe, sondern ein völlig anderes Problem in einer völlig anderen Umgebung.

Führe das Folgende aus und poste im Zweifel die gesamte Ausgabe in Code-Tags.

Code:
/usr/local/psa/admin/bin/autoinstaller --select-release-latest --upgrade-installed-components
 
Hallo,

ich habe folgendes herausbekommen:
/usr/local/psa/admin/bin/autoinstaller --select-release-latest --upgrade-installed-components
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading ppsmbe.inf3: 18%..28%..39%..49%..59%..70%..80%..90%..100% was finished.
File downloading sitebuilder.inf3: 10%..22%..35%..48%..61%..74%..87%..99%..100% was finished.
File downloading sso.inf3: 10%..24%..37%..51%..64%..78%..91%..100% was finished.
File downloading setemplates.inf3: 19%..44%..69%..94%..100% was finished.
File downloading pp-sitebuilder.inf3: 13%..30%..47%..65%..82%..99%..100% was finished.
File downloading billing.inf3: 21%..34%..46%..58%..71%..83%..95%..100% was finished.
Checking for installed packages...
File downloading PSA_10.1.1/plesk-10.1.1-suse11.1-i386.inf3: 10%..21%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading PSA_10.1.1/plesk-patches-10.1.1-suse11.1-i386.inf3: 11%..21%..31%..41%..51%..60%..70%..80%..90%..100% was finished.
File downloading SITEBUILDER_5.1.0/sitebuilder-5.1.0-rhall-all.inf3: 64%..100% was finished.
File downloading BILLING_10.1.0/billing-10.1.0-rhall-all.inf3: 100% was finished.
Parallels Containers were detected. Trying to connect to VZAgent...Warning! Failed to connect to VZAgent: ioctl: Transport endpoint is not connected
Detecting installed product components.
Exchanging information with licensing server.
File downloading PSA_10.1.1/plesk_getkeyinfo.sh: 31%..71%..100% was finished.
Warning: your license key for the base component cannot be upgraded.
Response from the licensing server: Automatic upgrade for this license is not possible. Please contact your reseller.

ERROR: Failed to check whether a new license key is available.
Not all packages were installed.
Please, contact product technical support.

Wenn ich den Server neuinitialisieren lassen möchte, dann wird mir 10.0 jedoch auch als Plesk Option angezeigt.
 
Stopping mail handlers tmpfs storage
Checking that /usr/local/psa/bin/chrootsh registered as login shell...
/usr/local/psa/bin/chrootsh already registered as a login shell

Create PPSB support group
Checking for the group 'psasb'...
Trying to add group 'psasb'... done

Checking for the group 'psasb'...
Trying to add supplementary group 'psasb' for user 'psaadm'... done
Checking for the group 'psasb'...
Trying to add supplementary group 'psasb' for user 'wwwrun'... done
psa is stopped
Stopping Plesk... done
Stopping mail handlers tmpfs storage

===> Performing safe prep-install database actions

===> Checking MySQL DB consistency
mysql.columns_priv OK
mysql.db OK
mysql.func OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.host OK
mysql.proc OK
mysql.procs_priv OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
psa.APSApplicationItems OK
psa.APSCatalogUpdates OK
psa.APSClientApplicationItems OK
psa.APSLicenseTypes OK
psa.APSLicenses OK
psa.BackendCache
warning : 1 client is using or hasn't closed the table properly
status : OK
psa.BillingCache OK
psa.Cards OK
psa.ClientsTraffic OK
psa.Components
warning : 1 client is using or hasn't closed the table properly
status : OK
psa.DashboardPreset OK
psa.DashboardPresetConfig
warning : 2 clients are using or haven't closed the table properly
status : OK
psa.DatabaseServers OK
psa.DomainServices OK
psa.DomainsTraffic OK
psa.GL_remote_domains OK
psa.GL_settings OK
psa.IP_Addresses OK
psa.Limits OK
psa.ListsParams OK
psa.Logos OK
psa.MailLists OK
psa.MailMessagesStat OK
psa.Modules OK
psa.NewsArticles OK
psa.Notes OK
psa.Notifications OK
psa.Parameters OK
psa.Permissions OK
psa.PersistentCache
warning : 2 clients are using or haven't closed the table properly
status : OK
psa.PleskPagesStat OK
psa.Repository OK
psa.SBConfig OK
psa.SBResellers OK
psa.SBSites OK
psa.SSOBranding OK
psa.SiteAppFiles OK
psa.SiteAppPackages OK
psa.SiteAppResources OK
psa.SiteApps OK
psa.SiteAppsHitsStat OK
psa.SitePagesStat OK
psa.Skins OK
psa.Templates OK
psa.TmplData OK
psa.WebApps OK
psa.Webmails OK
psa.accounts OK
psa.actions OK
psa.ai_vendor_sources OK
psa.anon_ftp OK
psa.apscategories OK
psa.badmailfrom OK
psa.certificates OK
psa.cl_param OK
psa.clients OK
psa.cp_access OK
psa.custom_buttons OK
psa.data_bases OK
psa.db_users OK
psa.disk_usage OK
psa.dns_recs OK
psa.dns_recs_t OK
psa.dns_zone OK
psa.dom_level_usrs OK
psa.dom_param OK
psa.domainaliases OK
psa.domains OK
psa.event_handlers OK
psa.exp_event OK
psa.forwarding OK
psa.hosting OK
psa.ip_pool OK
psa.itmpl OK
psa.itmpl_data OK
psa.key_history OK
psa.key_history_params OK
psa.locales OK
psa.lockout OK
psa.log_actions
warning : 1 client is using or hasn't closed the table properly
status : OK
psa.log_components
warning : 1 client is using or hasn't closed the table properly
status : OK
psa.log_rotation OK
psa.longtaskparams OK
psa.longtasks OK
psa.mail
warning : 1 client is using or hasn't closed the table properly
status : OK
psa.mail_aliases OK
psa.mail_redir OK
psa.mail_resp OK
psa.mass_mail OK
psa.mass_mail_clients OK
psa.mass_mail_domains OK
psa.misc
warning : 1 client is using or hasn't closed the table properly
status : OK
psa.mn_param OK
psa.module_firewall_objects OK
psa.module_firewall_rules OK
psa.module_vpn_objects OK
psa.password_secrets OK
psa.pd_users OK
psa.protected_dirs OK
psa.report OK
psa.report_auto OK
psa.report_section OK
psa.resp_attach OK
psa.resp_forward OK
psa.resp_freq OK
psa.secret_keys OK
psa.sessions
warning : 3 clients are using or haven't closed the table properly
status : OK
psa.siteapppackages_apscategories OK
psa.slave_params OK
psa.slaves OK
psa.smtp_poplocks OK
psa.spamfilter OK
psa.spamfilter_preferences OK
psa.subdomains OK
psa.sys_users OK
psa.tts_cats OK
psa.tts_conf OK
psa.tts_priorities OK
psa.tts_queues OK
psa.tts_reporters OK
psa.tts_slave_info OK
psa.tts_ticket_events OK
psa.tts_tickets OK
psa.upgrade_history OK
psa.web_users OK
psa.webalizer_group_referrer OK
psa.webalizer_hidden_referrer OK

===> Upgrading database

Trying to start service mysql... done
Trying to establish test connection... connected
done
Trying to find psa database... version is 0954
Trying to backup MySQL database... mysqldump: Got error: 1049: Unknown database 'horde' when selecting the database
done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.9.5.4-10.10.1.20110214-213745.dump.gz
===> Cumulative database upgrade has been started
Trying to Update sessions... done
no crontab for nfreiter
Trying to Update SA preferences... done
===> Upgrade completed.
Trying to set psa database version to 010101...
**** Product prep-install completed successfully.

Installing the package sw-cp-server-1.0-7.201007051545.suse111.i586
Stoppping SWsoft control panels server.....done
Starting SWsoft control panels server.....done
Installing the package libicu-4.0-7.2.1.i586
Installing the package sw-engine-2.0-7.201101141527.suse111.i586
Installing the package plesk-base-10.10.1-suse11.1.build1010110120.18.i586
Installing the package psa-logrotate-3.7-suse11.1.build1010110112.13.i586
Installing the package psa-awstats-configurator-10.10.1-suse11.1.build1010110112.13.noarch
Installing the package sw-doctrine-1.0.4-0.280352.noarch
Installing the package psa-pylibplesk-10.10.1-suse11.1.build1010110120.18.i586
Installing the package psa-libpam-plesk-10.10.1-suse11.1.build1010110120.18.i586
Installing the package psa-triggers-10.10.1-suse11.1.build1010110120.18.noarch
Shutting down syslog services..done
Starting syslog services..done
CRITICAL:3:a programming/runtime error
error: %trigger(psa-triggers-10.10.1-suse11.1.build1010110120.18.noarch) scriptlet failed, exit status 3

ERROR: An error occurred during installation of packages.
Attention! Your software might be inoperable.
Please, contact product technical support.


Args nach dem das durchgelaufen ist habe ich jetzt MySQL Fehler im Plesk Panel:
ERROR: PleskMainDBException
Up Level
MySQL query failed: Table 'psa.lockout' doesn't exist
0: common_func.php3:206
db_query(string 'delete from lockout where (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP(last_wrong)) > (30 * 60)')
1: cmd_loginup.php:82
createSession(string 'admin', string '********')
2: login_up.php3:22

Was ist da passiert?

Thx für deine Hilfe!
 
Lege die Tabelle wie folgt erneut in der Datenbank 'psa' an.

Code:
CREATE TABLE `lockout` (
  `login` varchar(20) character set utf8 NOT NULL,
  `last_wrong` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
  `attempts` int(11) NOT NULL default '1',
  PRIMARY KEY  (`login`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1


Damit sollte dein Login Problem erstmal behoben sein.
 
Hi,

kannst du mir dabei helfen, ich komme leider ja auch nicht mehr in PHP Admin rein, gibt es ein Skript was ich per Shell ausführen kann?

Alternativ hätte ich noch Heidi SQL aber ich glaube nicht das ich von außen da so dran komme.

Danke für deine Hilfe!
 
Code:
mysql -uadmin -p$(cat /etc/psa/.psa.shadow)
use psa;

Und schau dann mal, ob du in /tmp/ ein autoinstaller.log und ggfls. auch die psa-triggers* rumliegen hast. Die Logdatei wäre interessant.
 
mysql -uadmin -p$(cat /etc/psa/.psa.shadow)
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2029
Server version: 5.0.67 SUSE MySQL RPM

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> use psa;
Database changed
mysql> CREATE TABLE `lockout` (
-> `login` varchar(20) character set utf8 NOT NULL,
-> `last_wrong` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
-> `attempts` int(11) NOT NULL default '1',
-> PRIMARY KEY (`login`)
-> ) ENGINE=MyISAM DEFAULT CHARSET=latin1
->
->
-> ;
Query OK, 0 rows affected (0.00 sec)

mysql>

Vielen vielen Dank ich bin wieder im Rennen!! ;-)

Okay ich gucke..
 
Back
Top