Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    New install, webapp just showing php code

    Kopano WebApp
    2
    7
    389
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nickh
      nickh last edited by

      I’ve just installed Kopano into ClearOS7 (like centos7) and when I go to the Webapp all I get is a php page like:

      <?php
      	/**
      	 * This is the entry point for every request that should return HTML
      	 * (one exception is that it also returns translated text for javascript)
      	 */
      
      	// Bootstrap the script
      	require_once('server/includes/bootstrap.php');
      
      	// Added in 3.4.0, remove check in 3.5.0
      	if (!function_exists('gitversion')) {
      		/**
      		 * Obtain the current Git working branch
      		 * @return string the current git working branch
      		 */
      <snip>
      

      If I upgrade from a working 3.5.2 it works. Just the fresh install is failing.

      It must be something basic that I’m missing. Pointers would be appreciated.

      nickh 1 Reply Last reply Reply Quote 0
      • nickh
        nickh @nickh last edited by nickh

        Answering my own question, somewhere in the updates the requirement for php in Kopano and/or Webapp has been dropped. If I install php it all works. I am surprised.

        Is this a bug or intentional?

        nickh 1 Reply Last reply Reply Quote 0
        • nickh
          nickh @nickh last edited by

          And adding a bit more info, the requirement used to be in z-push-common but is no longer. Shouldn’t the requirement also be somewhere in the Kopano suite?

          fbartels 1 Reply Last reply Reply Quote 0
          • fbartels
            fbartels Kopano @nickh last edited by

            @nickh which versions are you currently using? And which repo did you configure for Z-Push?

            Regards Felix

            Resources:
            https://kopano.com/blog/how-to-get-kopano/
            https://documentation.kopano.io/
            https://kb.kopano.io/

            Support overview:
            https://kopano.com/support/

            1 Reply Last reply Reply Quote 0
            • nickh
              nickh last edited by nickh

              I am using Kopano 8.7.20, webapp-3.5.14 and z-push-common 2.6.2 from the new kopano repo.

              I am really surprised that the Kopano suite does not have a requires of php somewhere - and not in z-push as that is an extra.

              [edit]
              I got away with it before because z-push-common used to require php but it does not any more.
              [/edit]

              fbartels 1 Reply Last reply Reply Quote 0
              • fbartels
                fbartels Kopano @nickh last edited by

                @nickh said in New install, webapp just showing php code:

                from the new kopano repo.

                What do you mean with “new kopano repo”? Can you post the exact url you have configured?

                @nickh said in New install, webapp just showing php code:

                I got away with it before

                Which has been the version that you have used before? Its been quite a while since the z-push packaging has changed -> https://github.com/Z-Hub/Z-Push/commits/master/build/rpm/z-push.spec

                @nickh said in New install, webapp just showing php code:

                webapp-3.5.14

                That version is from december 2019, current final for customers is 5.1.0.

                Regards Felix

                Resources:
                https://kopano.com/blog/how-to-get-kopano/
                https://documentation.kopano.io/
                https://kb.kopano.io/

                Support overview:
                https://kopano.com/support/

                1 Reply Last reply Reply Quote 0
                • nickh
                  nickh last edited by nickh

                  My bad. Webapp is 5.1.0.

                  The last version of z-push we used is 2.5.2. It looks like the last commit changed the requirement away from php. Perhaps el7 should also be included in the “%if 0%{?suse_version}” line.

                  [edit]
                  But having said that, z-push is not a requirement of Kopano so it can’t be relied on.
                  [/edit]

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post