Update auf 1.4.2.2

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
schüri
Posts: 94
Joined: 2009-01-09 10:01
 

Update auf 1.4.2.2

Post by schüri »

Hallo zusammen,

mein Server läuft momentan mit SysCP 1.4.2.1 (2) und ich möchte ihn nun endlich auf die neuste Version 1.4.2.2 upgraden.

Nach langer Recherche habe ich herausgefunden, dass ich zunächst die Sourcelist erweitern muss. Alle Punkte der Beschreibung von der Seite http://www.syscp.org/download.html habe ich ausgeführt:
Debian Repositories
You could also use our Debian Repositories. Please add the following line to your /etc/apt/sources.list:

deb http://debian.syscp.org/ lenny/

If apt-get complains about an unknown key, please import our stable repository key:

apt-key add pubkey

Please check, that the fingerprint matches 50DF 75D4 2FF3 AF21 F510 BCC5 EB8B DC41 95A7 D80C:

gpg --import pubkey && gpg --fingerprint
Doch trotz erneuter Eingabe von apt-get update bzw. apt-get upgrade schlägt er mir kein Upgrade auf 1.4.2.2 vor.

Kann mir jmd weiterhelfen?

Danke und Gruß

schueri
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Update auf 1.4.2.2

Post by Roger Wilco »

Das Upgrade via APT klappt nur, wenn SysCP zuvor auch über den Paketmanager installiert wurde. Wenn du SysCP manuell installiert hast, klappt das natürlich nicht.
schüri
Posts: 94
Joined: 2009-01-09 10:01
 

Re: Update auf 1.4.2.2

Post by schüri »

Roger Wilco wrote:Das Upgrade via APT klappt nur, wenn SysCP zuvor auch über den Paketmanager installiert wurde. Wenn du SysCP manuell installiert hast, klappt das natürlich nicht.
Dann muss ich mich ja jetzt mit dem Hetzner-Support rumschlagen :/

hmm naja, mal schauen, wie sie reagieren...
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Update auf 1.4.2.2

Post by Joe User »

Das Update lässt sich doch auch manuell durchführen, da ist der Hetzner-Support der falsche Ansprechpartner.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
schüri
Posts: 94
Joined: 2009-01-09 10:01
 

Re: Update auf 1.4.2.2

Post by schüri »

Joe User wrote:Das Update lässt sich doch auch manuell durchführen, da ist der Hetzner-Support der falsche Ansprechpartner.
was muss ich da tun? einfach alle Dateien von 1.4.2.2 kopieren? oder muss ich noch eventuelle php-Dateien aufrufen? update.php für eventuelle DB-Änderungen? :-D
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Update auf 1.4.2.2

Post by Joe User »

Datenbankänderungen wurden laut dem offiziellen Patchfile nicht vorgenommen, daher reicht es das Patchfile anzuwenden:

Code: Select all

cd /path/to/syscp
wget http://files.syscp.org/releases/diff/syscp-1.4.2.1-1.4.2.2.patch
patch -p0 < syscp-1.4.2.1-1.4.2.2.patch
rm syscp-1.4.2.1-1.4.2.2.patch
Last edited by Joe User on 2010-06-19 14:32, edited 1 time in total.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
schüri
Posts: 94
Joined: 2009-01-09 10:01
 

Re: Update auf 1.4.2.2

Post by schüri »

Joe User wrote:

Code: Select all

patch -p0 syscp-1.4.2.1-1.4.2.2.patch
wenn ich das eingebe, passiert bei mir nichts :?

er springt nur in die nächste Zeile und das wars...
Last edited by schüri on 2010-06-19 14:26, edited 1 time in total.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Update auf 1.4.2.2

Post by Joe User »

Sorry Tippfehler, ist oben Korrigiert.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
schüri
Posts: 94
Joined: 2009-01-09 10:01
 

Re: Update auf 1.4.2.2

Post by schüri »

ok, danke - jetzt hat er den Befehl gestartet, aber mit Errors beendet:

Code: Select all

patching file scripts/cron_tasks.inc.http.10.apache.php
Hunk #1 succeeded at 173 (offset 29 lines).
patching file scripts/cron_tasks.inc.http.15.apache_fcgid.php
patching file lib/functions.php
Hunk #1 FAILED at 814.
Hunk #2 FAILED at 1233.
2 out of 2 hunks FAILED -- saving rejects to file lib/functions.php.rej
patching file lib/tables.inc.php
Hunk #1 FAILED at 89.
1 out of 1 hunk FAILED -- saving rejects to file lib/tables.inc.php.rej
habe mir dann mal die Datei angeschaut - die ist im Vergleich zur functions.php aus der Version 1.4.2.2 sehr klein!

und auch sonst ist der Aufbau zwischen der Dateien/Ornder auf dem Server und der Version 1.4.2.2 sehr unterschiedlich :(
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Update auf 1.4.2.2

Post by Joe User »

Bist Du Dir sicher, dass Du Version 1.4.2.1 installiert hast?
Notfalls führst Du die Änderungen an den zwei Dateien halt per Texteditor selbst durch:

Code: Select all

Index: lib/functions.php
===================================================================
--- lib/functions.php	(.../1.4.2.1)	(Revision 2743)
+++ lib/functions.php	(.../1.4.2.2)	(Revision 2743)
@@ -814,11 +814,13 @@
 function makeSecurePath($path)
 {
 	$search = Array(
+		'#\:+#',
 		'#/+#',
 		'#\.+#',
 		'#\0+#'
 	);
 	$replace = Array(
+		'',
 		'/',
 		'.',
 		''
@@ -1231,7 +1233,7 @@
 	$ok = false;
 	foreach($allowed_commands as $allowed_command)
 	{
-		if(strpos($exec_string, $allowed_command) == 0
+		if(strpos($exec_string, $allowed_command) === 0
 		   && (strlen($exec_string) === ($allowed_command_pos = strlen($allowed_command)) || substr($exec_string, $allowed_command_pos, 1) === ' '))
 		{
 			$ok = true;
Index: lib/tables.inc.php
===================================================================
--- lib/tables.inc.php	(.../1.4.2.1)	(Revision 2743)
+++ lib/tables.inc.php	(.../1.4.2.2)	(Revision 2743)
@@ -89,6 +89,6 @@
 define('PACKAGE_LOCKED', 1);
 define('PACKAGE_ENABLED', 2);
 $version = '1.4.2';
-$patchlevel = '.1';
+$patchlevel = '.2';
 
 ?>
\ No newline at end of file
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
schüri
Posts: 94
Joined: 2009-01-09 10:01
 

Re: Update auf 1.4.2.2

Post by schüri »

Joe User wrote:Bist Du Dir sicher, dass Du Version 1.4.2.1 installiert hast?
im Footer des SysCP steht:

Code: Select all

SysCP 1.4.2.1 (2) ©  2003-2009 by the SysCP Team
Theme: Luca Piona and Luca Longinotti
also sollte es stimmen.. aber wenn die Quellen meiner Inet-Recherche stimmen, soll das nur ne Entwickler-Version des SysCP sein ](*,)

und anscheinend bietet Hetzner genau diese Version an :roll:
Last edited by schüri on 2010-06-19 23:49, edited 1 time in total.
Post Reply