Page 58 of 106 FirstFirst ... 848565758596068 ... LastLast
Results 571 to 580 of 1052

Thread: Z-Push Zimbra Backend (Push Email, Contacts, Appointments & Tasks)

  1. #571
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    710
    Rep Power
    6

    Default

    Quote Originally Posted by riggs View Post
    I'm running ubuntu 32bit with virtualmin as my web server on it's own vm with it's on ip
    I have never seen the lines <app:skinAndRedirect /> anywhere before which leads me to think it is somehow related to your web server setup.

    Can you try running it in a regular Apache web server to see if it the problem goes away? At least then you will know where to focus your troubleshooting efforts.

    Is there a chance that there are further issues with your DNS? Did it revert the mail. subdomain ? If you are logged into that box, can you successfully
    Code:
    wget https://mail.yourdomain.nn
    - replace server name with yours. It should give you the standard zimbra login page.

    (Note: I use CentOS 5.5 with out of the box apache/php running on a separate box from zimbra)
    Last edited by liverpoolfcfan; 07-21-2011 at 03:34 AM.

  2. #572
    riggs is offline Member
    Join Date
    Jun 2011
    Location
    USA
    Posts
    13
    Rep Power
    4

    Default

    well i did wget and got index.html opened it in nano and the title was zimbra web client login.

  3. #573
    rfr
    rfr is offline Member
    Join Date
    Feb 2011
    Location
    Belgium
    Posts
    12
    Rep Power
    4

    Default

    I think i discovered a bug in rel 50.

    At one point, the synchronization failed and I saw messages regarding a missing ScrubHtmlText function.

    At line 3702, one must change the line to

    $partText = $this->ScrubHtmlText($partText);

    $this-> was missing.

    I didn't try to understand why it happened suddently but the fix solved my problem.

  4. #574
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    710
    Rep Power
    6

    Default

    Quote Originally Posted by rfr View Post
    I think i discovered a bug in rel 50.

    At one point, the synchronization failed and I saw messages regarding a missing ScrubHtmlText function.

    At line 3702, one must change the line to

    $partText = $this->ScrubHtmlText($partText);

    $this-> was missing.

    I didn't try to understand why it happened suddently but the fix solved my problem.
    Yes you are correct. Thanks.

    Someone else found it a couple of days ago and reported it on the sourceforge site.

    It will be fixed in the next release. But it is good to let people know about it here so they can fix it for themselves in the meantime.

  5. #575
    rfr
    rfr is offline Member
    Join Date
    Feb 2011
    Location
    Belgium
    Posts
    12
    Rep Power
    4

    Default

    Seems I should go on sourceforge more often

  6. #576
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    710
    Rep Power
    6

    Default

    Quote Originally Posted by riggs View Post
    Were would i look for the code snippet
    Here is some of the log.

    Code:
    06/30/11 21:10:47 [6394] [riggs] SOAP response: 
    <app:skinAndRedirect />
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    
    <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
        <title>404 - Not Found</title>
        <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=8.0; user-scalable=1;">
        <meta name="description" content="Zimbra provides open source server and client software for messaging and collaboration. To find out more visit http://www.zimbra.com.">
        <link  rel="stylesheet" type="text/css" href="/zimbra/css/common,login,zhtml,skin.css?skin=&v=110527013141">
    	
        <link rel="SHORTCUT ICON" href="/zimbra/img/logo/favicon.ico">
    </head>
    
    <body>
    <p><br><br></p><p><br><br></p>
    <table width="100%"><tr><td align="center">
    <div id="ZLoginPanel">
    <table width="500" cellpadding="5" cellspacing="5" border="0" align="center" id="ZLoginBodyContainer">
     <tr>
    	<td><img src="/zimbra/img/dwt/ImgWarning_32.png" width="32" height="32" border="0"></td>
        <td vlaign="middle"><h2 style="margin: 0px;">Not Found</h2></td>
     </tr>
     <tr>
     	<td></td>
     	<td><hr style="margin: 0px;"><p>The requested URL was not found on this server.</p><p>Please try again later. </p><br>
     	<a href="/"><b>&laquo; Go back</b></a><br><br>
        <p>ERROR: 404</p></td>
     </tr>
    </table>
    </div>
    </td></tr></table>
    </body>
    </html>
    So - just in case anyone else runs into the situation where they get this weird SOAP Response - it is actually an indication that there is a problem with the

    define('ZIMBRA_URL', 'https://mail.**********.com');

    setting in the config.php

    In this case - as is the most likely problem - riggs had a trailing "/" character - so when z-push appended "/service/soap" to the URL it ended up with
    Code:
    https://mail.**********.com//service/soap
    wich does not exist.

    Removing the trailing "/" allowed the SOAP commands to process correctly.

  7. #577
    riggs is offline Member
    Join Date
    Jun 2011
    Location
    USA
    Posts
    13
    Rep Power
    4

    Default Virtualmin (SOLVED)

    So yesterday night I got my setup working

    Here is my setup.

    Web server Ubuntu 32bit running Virtualmin with a public Static IP
    Email Server Ubuntu 64bit running Zimbra open source edition with a public static IP

    assuming you have that basics installed we will start by configuring Virtualmin

    Code:
    1. On the Virtualmin tab click "Server Configuration"
    	a. Look for "PHP script execution mode"
    	b. check "Apache mod_php (run as Apache's user)"
    
    2. On the Virtualmin tab click "Server Configuration"
    	a. Click "Website Redirects"
    	b. Click "Add new website redirect"
    	c. In "Source URL path" enter "/Microsoft-Server-ActiveSync"
    	d. Check "Directory on this system" and enter "/home/NameOfYourSite/public_html/z-push/index.php"
    
    3. Install php CURL
    
    4. You need to edit a file on the webserver i used ssh and nano
    	a. Navigate to /home/NameOFYourSite/etc
    	b. Edit the file "php.ini"
    	c. insert 
    			max_execution_time = 120      
                       		memory_limit = 128M
    			php_flag magic_quotes_gpc off
    			php_flag register_globals off
    			php_flag magic_quotes_runtime off
    			php_flag short_open_tag on
    
    5. Restart apache
    
    the next steps i did on my desktop and used a terminal and scp from MAC OSX to transfer the folder to my server
    
    6. Download z-push to /home/NameOfYourSite/public_html
    	a. Tar zxvf ZpushFile.tgz
    	b. Rename the ZpushFolder to z-push
    
    7. Change the folder permissions on "state" i used a terminal and typed chmod 777 state
    
    8. Edit your config.php file
    	a. Replace Backend_provider with 	$BACKEND_PROVIDER = "BackendZimbra";
    	b. Set provisioning to false 		define('PROVISIONING', false);
    	c. insert
    			// ************************
        	 		//  BackendZimbra settings
       		 	// ************************
        			define('ZIMBRA_URL', 'https://NameOfYourDoman.com');	//Please do not put a trailing forward slash at the end of the url
        			define('ZIMBRA_USER_DIR', 'zimbra');
        			define('ZIMBRA_SYNC_CONTACT_PICTURES', true);
        			define('ZIMBRA_VIRTUAL_CONTACTS',true);
        			define('ZIMBRA_VIRTUAL_APPOINTMENTS',true);
        			define('ZIMBRA_VIRTUAL_TASKS',true);
        			define('ZIMBRA_IGNORE_EMAILED_CONTACTS',true);
        			define('ZIMBRA_HTML',false);
        			define('ZIMBRA_ENFORCE_VALID_EMAIL',true);
    
    9. Download z-RTF.php to /home/NameOfYourSite/z-push/include/ 	http://svn.berlios.de/viewvc/z-push/...p?revision=249
    
    10 Download ZimbraBackend to /home/NameOfYourSite/z-push/backend/
              a. tar zxvf zimbrabackend
    
    11. Cross your fingers and give it a try
    That should be it, I don't think i left anything out...

    A big thanks to liverpoolfcfan for his time and efforts.
    Last edited by riggs; 07-22-2011 at 07:28 AM.

  8. #578
    bofh is offline Elite Member
    Join Date
    May 2010
    Posts
    272
    Rep Power
    5

    Default

    yes you missed something but its not your fault

    Thers a bug in the newest backend - the provision option is always on
    so if you try to set it up wihtout provision and mysql backend it wont work


    @liverpoolfan
    a few questions

    1. do you think you can get it ever to work to sync fully with the new android app from zimbra?
    special those folder and notes would be nice but i know this might not be possible ever

    2. instead of xml and smartfolder isnt it possible to use mysql for this?
    my idea would be
    mysql - optin optout
    standard settings like the xml stored in mysql
    personal settings stored there too - in case no personal found standard aplies

    if you can do this we may be able to - make an admin zimlet as an replacement for the current php admin backend

    and a a zimlet for users to make their mobile settings

    only downside : the mysqlport has to be reachable form the zimbraserver but its very lickly both servers a logical and psyicall very close this shouldn be an security issue for most user - and for few exceptions those can always do a vpn solution for that problem


    also during the installation i found a few things leads to missconfiguration
    so if you want i could do a simple install bash script which coulds check the most important things and download all nessesary files

  9. #579
    liverpoolfcfan's Avatar
    liverpoolfcfan is offline Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    710
    Rep Power
    6

    Default

    Quote Originally Posted by bofh View Post

    Thers a bug in the newest backend - the provision option is always on
    so if you try to set it up wihtout provision and mysql backend it wont work
    Actually I believe this issue is caused by change in z-push behaviour. Please run a test for me to move the zimbradb.php file into the include folder instead of the backend folder and see if it still happens. Report back.

    1. do you think you can get it ever to work to sync fully with the new android app from zimbra?
    special those folder and notes would be nice but i know this might not be possible ever
    I am not familiar with that app. If and when z-push adds support for additional activesync features, I will look into adding support for them.

    2. instead of xml and smartfolder isnt it possible to use mysql for this?
    I want to keep it simple right now, but still allow non admin users to exclude folders, etc.

  10. #580
    bofh is offline Elite Member
    Join Date
    May 2010
    Posts
    272
    Rep Power
    5

    Default

    OK again

    if you dont wanna install provisions you dont have the zimbradb.php

    That what riggs did too. He never downloaded anything more than backend and z-push

    In that case it wont work - no matter what you set in the configuration he always needs the zimbradb.php.

    After installing provision everything works fine

Page 58 of 106 FirstFirst ... 848565758596068 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Similar Threads

  1. z-push and zimbra backend problem
    By ben1967 in forum Mobility
    Replies: 9
    Last Post: 11-14-2012, 11:29 PM
  2. z-push and zimbra backend problem
    By ben1967 in forum Administrators
    Replies: 0
    Last Post: 11-11-2012, 02:11 PM
  3. [SOLVED] Z-push Zimbra backend workaround
    By Inchoate in forum Mobility
    Replies: 6
    Last Post: 01-19-2012, 04:22 AM
  4. [SOLVED] Z-push Zimbra backend workaround
    By Inchoate in forum Administrators
    Replies: 0
    Last Post: 10-31-2010, 07:06 AM
  5. Replies: 348
    Last Post: 10-11-2010, 05:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •