Z-Push 2.2 final version (build 1934) als SPK?

Status
Für weitere Antworten geschlossen.

tom9865

Benutzer
Mitglied seit
20. Feb 2013
Beiträge
75
Punkte für Reaktionen
0
Punkte
6
Sorry dass ich hier die ganze Zeit mit meinen Problemen komme...

Neuestes Paket als Update installiert, Befehl ausgeführt:

Rich (BBCode):
Z-Push - Open Source ActiveSync

Version 2.2.4
FatalMisconfigurationException

The configured LOGFILE can not be modified.

Trace:
Array
(
    [0] => Array
        (
            [file] => /volume1/web/z-push/index.php
            [line] => 140
            [function] => CheckConfig
            [class] => ZPush
            [type] => ::
            [args] => Array
                (
                )

        )

)
 

Tosoboso

Benutzer
Mitglied seit
27. Aug 2012
Beiträge
1.256
Punkte für Reaktionen
52
Punkte
74
Naja wir nähern uns.. Ich habe jetzt nochmal die Rechte auf das Log-File Verzeichnis erweitert.. Achtung: ich hab jetzt auf Betat Status umgestellt, du musst ggf deine EInstellungen im Paketzentrum anpassen und Beta zulassen.
 

Anhänge

  • Z-Push_2.2.4.spk
    451 KB · Aufrufe: 15

tom9865

Benutzer
Mitglied seit
20. Feb 2013
Beiträge
75
Punkte für Reaktionen
0
Punkte
6
Ich kann mich nur sehr für Deine Mühe bedanken!!!

Update meiner lauffähigen Installation:
- Serverfehler 500
- chown -R root.users /var/services/web/z-push/
Rich (BBCode):
Z-Push - Open Source ActiveSync

Version 2.2.4
FatalMisconfigurationException

The configured LOGFILE can not be modified.

Trace:
Array
(
    [0] => Array
        (
            [file] => /volume1/web/z-push/index.php
            [line] => 140
            [function] => CheckConfig
	
	


Rich (BBCode):
[class] => ZPush [type] => :: [args] => Array ( ) ) )

Deinstallation und dann Neuinstallation Dein letztes 2.2.4 SPK:
- direkt Serverfehler 500

Ich weiß echt nicht woran es liegen kann... Außer an Berechtigungen?!?

Nachtrag:
wenn ich meine alte Version wieder drüberkopiere kommt dann:

Rich (BBCode):
Z-Push - Open Source ActiveSync

Version 2.2.0-1934
FatalMisconfigurationException

Not possible to write to the configured state directory.

Trace:
Array
(
    [0] => Array
        (
            [file] => /volume1/web/z-push/lib/core/zpush.php
            [line] => 353
            [function] => FileStateMachine
            [class] => FileStateMachine
            [type] => ->
            [args] => Array
                (
                )

        )

    [1] => Array
        (
            [file] => /volume1/web/z-push/lib/core/zpush.php
            [line] => 325
            [function] => GetStateMachine
            [class] => ZPush
            [type] => ::
            [args] => Array
                (
                )

        )

    [2] => Array
        (
            [file] => /volume1/web/z-push/index.php
            [line] => 146
            [function] => CheckAdvancedConfig
            [class] => ZPush
            [type] => ::
            [args] => Array
                (
                )

        )

)
 

Tosoboso

Benutzer
Mitglied seit
27. Aug 2012
Beiträge
1.256
Punkte für Reaktionen
52
Punkte
74
Hi kannst du nochmal das Paket deinstallieren und dann den Anhang von 21:35 installieren (erkennt man dann an de, Beta Status)? Sollte nach Installation ohne EIngriff funktionieren (hoffe ich)
 

tom9865

Benutzer
Mitglied seit
20. Feb 2013
Beiträge
75
Punkte für Reaktionen
0
Punkte
6
Sehr gerne, soeben geschehen...

Es tut mir ja leid. Aber das führt bei mir wieder nur zum Serverfehler 500 auf beiden adressen (lokal+ms-active... und /z-push). ?!
 

Tosoboso

Benutzer
Mitglied seit
27. Aug 2012
Beiträge
1.256
Punkte für Reaktionen
52
Punkte
74
Hi, komisch und wie gesagt bei mir hatte es ja auf Anhieb funktioniert. Nix für ungut, aber für heute gehe ich offline. Du kannst mir nochmlas gerne als PN die Verzeichnisrechte (ll /var/services/web/z-piush + Unterverzeichnisse logs, state) schicken. NAch Installation ohne chmod Eingriff. Ich schu mir das ggf. morgen nochmal an. Ich kann aber keine Wunder versprechen, da ich es nicht selbst tracen kann (und die Rechte Vergabe ist wi im Orginal Paket Z-Push 2.1.3 von JD)
 

tom9865

Benutzer
Mitglied seit
20. Feb 2013
Beiträge
75
Punkte für Reaktionen
0
Punkte
6
Klar klar verstehe ich. Ich bin auch offline für heute.

Wäre cool wenn Du da demnächst noch mal drüber schauen könntest. Pm kommt.

Hi, wie besprochen:

Rich (BBCode):
ll /var/services/web/z-push
drwxr-xr-x    8 root     users         4096 Oct 17 22:24 .
drwxrwxrwx   15 root     root          4096 Oct 17 22:24 ..
-rw-r--r--    1 root     users        11571 Oct 17 22:24 INSTALL
-rw-r--r--    1 root     users        36212 Oct 17 22:24 LICENSE
drwxr-xr-x    8 root     users         4096 Oct 17 22:24 backend
-rw-r--r--    1 root     users          253 Oct 17 22:24 composer.json
-rwxr-xr-x    1 root     users        13694 Oct 17 22:24 config.php
-rwxr-xr-x    1 root     users        13586 Oct 17 22:24 config.php.orig
drwxr-xr-x    2 root     users         4096 Oct 17 22:24 include
-rw-r--r--    1 root     users        14059 Oct 17 22:24 index.php
drwxr-xr-x   11 root     users         4096 Oct 17 22:24 lib
drwxrwxrwx    2 root     users         4096 Oct 17 22:25 logs
drwxrwxrwx    2 root     users         4096 Oct 17 22:24 state
drwxr-xr-x    3 root     users         4096 Oct 17 22:24 tools
-rw-r--r--    1 root     users         2035 Oct 17 22:24 version.php
-rwxr-xr-x    1 root     users        36045 Oct 17 22:24 z-push-admin.php
-rwxr-xr-x    1 root     users        29811 Oct 17 22:24 z-push-top.php


ll /var/services/web/z-push/logs
drwxrwxrwx    2 root     users         4096 Oct 17 22:25 .
drwxr-xr-x    8 root     users         4096 Oct 17 22:24 ..
-rwxrwxrwx    1 root     users           33 Oct 17 22:24 .htaccess
-rw-r--r--    1 http     http             0 Oct 17 22:25 z-push-error.log
-rw-r--r--    1 http     http             0 Oct 17 22:25 z-push.log


ll /var/services/web/z-push/state
drwxrwxrwx    2 root     users         4096 Oct 17 22:24 .
drwxr-xr-x    8 root     users         4096 Oct 17 22:24 ..
-rwxrwxrwx    1 root     users           33 Oct 17 22:24 .htaccess

https://dl.dropboxusercontent.com/u/25553511/2015-10-17 z-push Verzeichnisrechte-2-2-4-beta-TH.txt
 
Zuletzt bearbeitet:

Tosoboso

Benutzer
Mitglied seit
27. Aug 2012
Beiträge
1.256
Punkte für Reaktionen
52
Punkte
74
Moin, hiermit nochmals versuchen, ich habe die Rechtestruktur auf root.http angepasst und logs / state Verzeichnis wie in Install beschreiben schreibbar gemacht. - Hoffe jetzt passts..
 

Anhänge

  • Z-Push_2.2.4-1.spk
    465,5 KB · Aufrufe: 19

coppe218

Benutzer
Mitglied seit
28. Feb 2014
Beiträge
3
Punkte für Reaktionen
0
Punkte
0
Hallo, Ich habe die pakete auch updated, aber Leider wirkt dass bei mich auch nicht. Auch nicht mit ihre letzte post. Ich habe eine DS213
 

tom9865

Benutzer
Mitglied seit
20. Feb 2013
Beiträge
75
Punkte für Reaktionen
0
Punkte
6
Vielen Dank für das Update. Mir wurde auch ein Update für Z-Push über das Paketzentrum angeboten.
Habe den Anhang hier von heue 12:57 installiert - als update.

Ergebnis wieder einmal ein Server fehler auf /z-push und /Microsoft...

Migrationreport.txt ist auch wieder da.

Grüße,
Tom

Neuinstallation 2.2.4.1
Rich (BBCode):
 ll /var/services/web/z-push
drwxr-x--x    8 root     http          4096 Sep 30 19:10 .
drwxrwxrwx   16 root     root          4096 Oct 18 15:38 ..
-r--------    1 root     http         11571 Sep  1 17:37 INSTALL
-r--------    1 root     http         36212 Sep  1 17:37 LICENSE
drwxr-x--x    8 root     http          4096 Sep 30 15:05 backend
-rw-r-----    1 root     http           253 Sep 30 19:10 composer.json
-rw-r-----    1 root     http         13694 Jul  6  2014 config.php
-rw-r-----    1 root     http         13586 Jul  6  2014 config.php.orig
drwxr-x--x    2 root     http          4096 Sep 30 15:05 include
-rw-r-----    1 root     http         14059 Sep 30 19:10 index.php
drwxr-x--x   11 root     http          4096 Aug  3 23:10 lib
drwxrwxrwx    2 root     http          4096 Oct 18 15:39 logs
drwxrwxrwx    2 root     http          4096 Oct 18 12:53 state
drwxr-x--x    3 root     http          4096 Sep 30 19:10 tools
-rw-r-----    1 root     http          2035 Sep 30 19:14 version.php
-rw-r-----    1 root     http         36045 Sep 30 19:10 z-push-admin.php
-rw-r-----    1 root     http         29811 Sep 30 19:10 z-push-top.php

Rich (BBCode):
 ll /var/services/web/z-push/logs
drwxrwxrwx    2 root     http          4096 Oct 18 15:39 .
drwxr-x--x    8 root     http          4096 Sep 30 19:10 ..
-rwxrwxrwx    1 root     http            33 Jul  6  2014 .htaccess
-rw-r--r--    1 http     http             0 Oct 18 15:39 z-push-error.log
-rw-r--r--    1 http     http             0 Oct 18 15:39 z-push.log

Rich (BBCode):
ll /var/services/web/z-push/state
drwxrwxrwx    2 root     http          4096 Oct 18 12:53 .
drwxr-x--x    8 root     http          4096 Sep 30 19:10 ..
-rwxrwxrwx    1 root     http            33 Jul  6  2014 .htaccess

nach chown:
Z-Push - Open Source ActiveSync

Version 2.2.4
FatalMisconfigurationException

The configured LOGFILE can not be modified.

Trace:
Array
(
[0] => Array
(
[file] => /volume1/web/z-push/index.php
[line] => 140
[function] => CheckConfig
[class] => ZPush
[type] => ::
[args] => Array
(
)

)

)
 
Zuletzt bearbeitet:

augusrad

Benutzer
Mitglied seit
11. Mrz 2014
Beiträge
11
Punkte für Reaktionen
0
Punkte
0
mit version Z-Push_2.2.4-1.spk

Fatal error: Call to undefined function posix_getuid() in /volume2/web/z-push/lib/utils/utils.php on line 890

wenn ich es zu testen, nachdem Update http://192.168.1.2/Microsoft-Server-ActiveSync/

mit version Z-Push_2.1.3-0.spk es funktioniert gut

Z-Push - Open Source ActiveSync

Version 2.1.3-1892
GET not supported

This is the Z-Push location and can only be accessed by Microsoft ActiveSync-capable devices


More information about Z-Push can be found at:
Z-Push homepage
Z-Push download page at BerliOS
Z-Push Bugtracker and Roadmap

All modifications to this sourcecode must be published and returned to the community.
Please see AGPLv3 License for details.
 
Zuletzt bearbeitet:

tom9865

Benutzer
Mitglied seit
20. Feb 2013
Beiträge
75
Punkte für Reaktionen
0
Punkte
6
Hi,
meinst Du 2.1.3 oder 2.3.1 als funktionierende Version ?
 

augusrad

Benutzer
Mitglied seit
11. Mrz 2014
Beiträge
11
Punkte für Reaktionen
0
Punkte
0
2.1.3

bereits korrigierte ich die Post war ein Fehler
 

augusrad

Benutzer
Mitglied seit
11. Mrz 2014
Beiträge
11
Punkte für Reaktionen
0
Punkte
0
Done it is working now !!!
What you have to do - after installation of spk made by TosoBoso you must change utils.php file that is located in /volume1/web/z-push/lib/utils

what you have to change

in line 890 you have :

public static function FixFileOwner($file) {
if(posix_getuid() == 0 && file_exists($file)) {
$dir = dirname($file);
$perm_dir = stat($dir);
$perm_log = stat($file);

if($perm_dir[4] !== $perm_log[4] || $perm_dir[5] !== $perm_log[5]) {
chown($file, $perm_dir[4]);
chgrp($file, $perm_dir[5]);
}
}
return true;
}

change this to

public static function FixFileOwner($file) {
// Commented out on Synology NAS due to not availibility of posix_getuid
// function only seems to check if posix_getuid return 0. On Synology NAS it should be
// 1023 for the User http, therefore this function will not do anything even if posix_getuid is available
/* if(posix_getuid() == 0 && file_exists($file)) {
$dir = dirname($file);
$perm_dir = stat($dir);
$perm_log = stat($file);

if($perm_dir[4] !== $perm_log[4] || $perm_dir[5] !== $perm_log[5]) {
chown($file, $perm_dir[4]);
chgrp($file, $perm_dir[5]);
}
}*/
return true;
}

TosoBoso please be so kind pack/build new spk file with corrected utils.php file - Thx and sorry for english
 

Tosoboso

Benutzer
Mitglied seit
27. Aug 2012
Beiträge
1.256
Punkte für Reaktionen
52
Punkte
74
Vielen Dank für das Update. Mir wurde auch ein Update für Z-Push über das Paketzentrum angeboten. Habe den Anhang hier von heue 12:57 installiert - als update.
Hi, das hatte sich überschnitten und ich konnte das alte Paket nicht auschecken, sondern nur zeitversetzt überschreiben. Bitte die Version 2.2.4.1 Beta nehmen, die jetzt auch im Community Package Hub aktiv ist.
 
Zuletzt bearbeitet:

Tosoboso

Benutzer
Mitglied seit
27. Aug 2012
Beiträge
1.256
Punkte für Reaktionen
52
Punkte
74
Done it is working now !!! TosoBoso please be so kind pack/build new spk file with corrected utils.php file - Thx and sorry for english
Ok mach ich, Vermutung: ARM spezifisch - Whow you found it that fast. Yes I can remove the particular function. As it was working on my box on Atom x86 question is if this is ARM specific.- Will take some time though as duing week I'm to busy for agile developemnt.
 

augusrad

Benutzer
Mitglied seit
11. Mrz 2014
Beiträge
11
Punkte für Reaktionen
0
Punkte
0
Hi do you know if Outlook can work with ActiveSync after this update to Z-Push_2.2.4 ? In release note for 2.2.2 ver there is information ZP-604 is this mean that should work ? and I assume also in 2.2.4 as it is next version

Changes since Z-Push 2.2.1
General
[ZP-451] - Mobile sending a folder type receives wrong ping information.
[ZP-544] - Not compatible with Cyanogenmod 11.
[ZP-558] - Enhance error message for folder resync.
[ZP-563] - z-push-admin ignores -u when -d is given.
[ZP-572] - Increase default SYNC_CONTACTS_MAXPICTURESIZE.
[ZP-604] - Allow OL connections via ActiveSync.
[ZP-606] - Warnings in appointment sync.
[ZP-608] - Write binary logs.
[ZP-611] - Set folder display name to "unknown" if the name is not available.
[ZP-623] - Resync folder if ICS exports <Remove> requests for more than 1000 items of a folder.
[ZP-631] - Disable checking of notifications validity in Ping.
 

tom9865

Benutzer
Mitglied seit
20. Feb 2013
Beiträge
75
Punkte für Reaktionen
0
Punkte
6
Ok, dann teste ich das mal. Gibt es jetzt schon eine Version mit den finalen Anpassungen? ;)
 

tom9865

Benutzer
Mitglied seit
20. Feb 2013
Beiträge
75
Punkte für Reaktionen
0
Punkte
6
OMG... how the hell did u find that!?

Can confirm that's working now for me!!! ;)
 

Jens H

Benutzer
Mitglied seit
06. Jun 2010
Beiträge
271
Punkte für Reaktionen
7
Punkte
18
Hallo,
danke für das Update.
hatte bis vor kurzem die Version 2.1.3 installiert und nun zuerst auf 2.2.4 beta und dann auf 2.2.4.1beta (jeweils über das Paketzentrum angeboten) üpgedatet. Beide Versionen funktionieren so weit. DS214. Ich synchronisiere auf mein Android 5.0.2 Handy.

Grund des Updates: Ich habe seit ein paar Wochen folgendes Problem: Wenn ich vom Android Handy aus E-Mails lösche, verschiebe oder einfach einige male kurz hintereinander Synchronisiere, dann ist auf einmal meine Diskstation nicht mehr erreichbar (sowohl Webmail, als auch die Synchronisation aufs Handy und die Joomla Homepage sind dann "tot"). Ich muss dann Zarafa neu starten, damit wieder alles läuft. Ich glaube, das Problem existiert seit dem DSM Update 4 (5.2-5592), bin mir aber nicht sicher. Bisher konnte ich den Fehler nicht finden, hab sogar schon downgrade des DSM auf die ältere Version versucht - ohne Erfolg. Nun bin ich am Testen und am Fehler-Eingrenzen. Möglicherweise auch ein Datenbankproblem, weil ich sehr viele E-Mails mit großem Anhang habe. Hab schon ein paar 100 MB E-Mails gelöscht.
Jens
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat