Plesk 8.6 - 9.0.0 Update Fehler

laztrix

New Member
Hallo,

Ich habe hier ein kleines Problem.Nach dem update über /usr/local/psa/bin/autoinstaller ist Plesk abgestürzt.


Code:
ERROR: PleskFatalException
StatInfo->getProductVersion failed: file_get_contents() failed: mktime() [<a href='function.mktime'>function.mktime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead

0: /usr/local/psa/admin/plib/common_func.php3:108
psaerror(string 'StatInfo->getProductVersion failed: file_get_contents() failed: mktime() [<a href='function.mktime'>function.mktime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead')
1: /usr/local/psa/admin/plib/common_func.php3:66
getProductLoginVersion()
2: /usr/local/psa/admin/plib/sso/SP.php:101
ssoGetSpName()
3: /usr/local/psa/admin/plib/sso/SP.php:393
SsoSpConfig->load()
4: /usr/local/psa/admin/plib/sso/SP.php:215
SsoSpConfig->__construct()
5: /usr/local/psa/admin/plib/sso/SP.php:223
SsoSpConfig::getInstance()
6: /usr/local/psa/admin/plib/sso/SP.php:447
SsoSpConfig()
7: /usr/local/psa/admin/plib/sso/RelyingParty.php:19
isSsoEnabled()
8: /usr/local/psa/admin/auto_prepend/auth.php3:195

Code:
ERROR: PleskFatalException
Components::componentUpdate() failed: Unable to exec utility packagemng: packagemng: Unable to clean BackendCache in DB: Table 'psa.BackendCache' doesn't exist

Additionally, an exception has occurred while trying to report this error: PleskMainDBException
MySQL query failed: Table 'psa.PersistentCache' doesn't exist

0: /usr/local/psa/admin/auto_prepend/auth.php3:501

Kann vielleicht Jemand einen Tipp geben was schief mit Plesk ist ?

Vielen Dank.
 
Last edited by a moderator:
Hallo,

Da bin ich wieder :(

Seit Stunden versuche ich eine Lösung zu finden.Bedauerlicherweiße ist alles wie zuvor.

Würe es vielleicht helfen php und alle andere relative komponenten vom Server zu entfehrnen und es neu zu installieren?
 
Code:
Unable to exec utility packagemng: packagemng: Unable to clean BackendCache in DB: Table 'psa.BackendCache' doesn't exist

Dir fehlt ganz einfach eine Tabelle in der MySQL Datenbank
 
Das einfachste wäre wenn du dir nachdem du die Tabellenstruktur herausgefunden hast einen Dump schreibst, oder einer mit Plesk 9 schickt dir entsprechend nur diesen Table Dump ... den kannst du dann ganz einfach über die Konsole einspielen.
 
Das einfachste wäre wenn du dir nachdem du die Tabellenstruktur herausgefunden hast einen Dump schreibst, oder einer mit Plesk 9 schickt dir entsprechend nur diesen Table Dump ... den kannst du dann ganz einfach über die Konsole einspielen.

Erlich zu sagen binn ich hier absoloute ferlohren gegangen..

Ich habe folgendes gemacht :

/usr/local/psa/etc/db aud dem Verzeichniss habe ich psa_db.sql heruntergeladen und es auf localhost eingedummt.

Die beiden fehlenden tabellen ; backendcache.frm und persistentcache.frm umgenännt nach BackendCache-frm und PersistentCache.frm.

Anschließlich die beiden Tabellen nach /var/lib/mysql/psa kopiert.

Nur hat sich der Fehler geändert.

Code:
ERROR: PleskFatalException
Components::componentUpdate() failed: Unable to exec utility packagemng: packagemng: Unable to clean BackendCache in DB: Can't find file: './psa/BackendCache.frm' (errno: 13)

Additionally, an exception has occurred while trying to report this error: PleskMainDBException
MySQL query failed: Can't find file: './psa/PersistentCache.frm' (errno: 13)

0: /usr/local/psa/admin/auto_prepend/auth.php3:501

Könntest du mir vielleich ein kleines "how to" machen ?
 
Code:
BackendCache-frm und PersistentCache.frm

Ich würde da auch den PUNKT anstelle des Bindestriches bevorzugen. Ändern das mal ... oder war das nur ein Tippfehler von dir?
 
Code:
BackendCache-frm und PersistentCache.frm

Ich würde da auch den PUNKT anstelle des Bindestriches bevorzugen. Ändern das mal ... oder war das nur ein Tippfehler von dir?

Ja das war ein Tipfehler.Ich habe den Punkt bei den beiden Tabellen benutzt.

Was könnten wir den als alternativ tun um diesen Problem zu beheben ?
 
Last edited by a moderator:
Gibt es hierzu eine Lösung? bin auf das gleiche Problem gestoßen:
Code:
ERROR: PleskFatalException
StatInfo->getProductVersion failed: file_get_contents() failed: mktime() [<a href='function.mktime'>function.mktime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead
 
0: /usr/local/psa/admin/plib/common_func.php3:108
    psaerror(string 'StatInfo->getProductVersion failed: file_get_contents() failed: mktime() [<a href='function.mktime'>function.mktime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead')
1: /usr/local/psa/admin/plib/common_func.php3:66
    getProductLoginVersion()
2: /usr/local/psa/admin/plib/sso/SP.php:101
    ssoGetSpName()
3: /usr/local/psa/admin/plib/sso/SP.php:393
    SsoSpConfig->load()
4: /usr/local/psa/admin/plib/sso/SP.php:215
    SsoSpConfig->__construct()
5: /usr/local/psa/admin/plib/sso/SP.php:223
    SsoSpConfig::getInstance()
6: /usr/local/psa/admin/plib/sso/SP.php:447
    SsoSpConfig()
7: /usr/local/psa/admin/plib/sso/RelyingParty.php:19
    isSsoEnabled()
8: /usr/local/psa/admin/auto_prepend/auth.php3:195
MOD: Bitte Code Tags nutzen.
 
Last edited by a moderator:
OK, bei mir war das /usr/local/psa/version - File leer,
nachdem ich das mit der Version von 8.6.0 ersetzt habe erhalte ich beim Loginversuch von Plesk nun:
Code:
ERROR: PleskFatalException
Components::componentUpdate() failed: Unable to exec utility packagemng: packagemng: Unable to clean BackendCache in DB: Table 'psa.BackendCache' doesn't exist
 
Additionally, an exception has occurred while trying to report this error: PleskMainDBException
MySQL query failed: Table 'psa.PersistentCache' doesn't exist
 
0: /usr/local/psa/admin/auto_prepend/auth.php3:501
Ideen dazu? :-)
 
Last edited by a moderator:
Ich schreibe mal fleissig weiter...
Habe nun aus einer anderen Plesk 9 die Tabellen per sql-Dump eingespielt.
Neuer Fehler:
Code:
ERROR: PleskMainDBException
MySQL query failed: Unknown column 'type' in 'where clause'

Additionally, an exception has occurred while trying to report this error: PleskMainDBException
MySQL query failed: Unknown column 'type' in 'where clause'

0: /usr/local/psa/admin/plib/common_func.php3:168
	db_query(string 'SELECT * FROM clients WHERE type = 'admin'')
1: /usr/local/psa/admin/plib/common_func.php3:215
	db_query_ex(string 'SELECT * FROM clients WHERE type = 'admin'', array)
2: /usr/local/psa/admin/plib/SQLSelectQuery.php:99
	SQLSelectQuery->rewind()
3: /usr/local/psa/admin/plib/SQLSelectQuery.php:33
	SQLSelectQuery->execute()
4: /usr/local/psa/admin/plib/class.Client.php3:1951
	Client::getAdmins()
5: /usr/local/psa/admin/plib/class.Client.php3:1846
	Client::getByType(string 'admin')
6: /usr/local/psa/admin/plib/user/UserAdmin.php:71
	UserAdmin::getAdminClient()
7: /usr/local/psa/admin/plib/elements.php3:932
	getCustomPageTitle(object of type UserNone)
8: /usr/local/psa/admin/plib/elements.php3:884
	getPleskTitle()
9: /usr/local/psa/admin/htdocs/login.php3:23

wenn da einem was bekannt vor kommt, bitte melden. .hier oder per PM..
danke
 
Last edited by a moderator:
Für alle denen es helfen könnte,
habe eine Spalte in der Tabelle psa/clients hinzugefügt:

ALTER TABLE clients ADD type enum('client','reseller','admin') AFTER id ;

und einen User zum Admin gemacht:

update clients set type='admin' where id=1;

Der Login in Plesk ist wieder möglich, allerdings hadert er nun mit der Lizenz.
Weiss jemand ob ich mit ner Plesk 8.6.0 Lizenz ein Plesk 9.0.1 laufen lassen kann / darf? Wo bekomme ich gegebenenfalls eine Upgrade-Lizenz und was kostet das?

Gruß
Volker
 
Back
Top