Forums

Resolved
0 votes
I've recently just installed WebApp 2.2 RC onto a clients server on ClearOS they had issues going to the settings then I remembered it was due to the plugins needing to be updated. When I wanted to remove some of the entire catalogue of plugins that were installed via yum I couldn't due to it wanting to remove app-zarafa core and other clearos apps.

I eventually resolved this by doing rpm -e nameofplugin.rpm --nodeps to resolve the issue but my question is this:

1) Why are all plugins for zarafa-webapp installed by default onto clearos installs?
2) Why does removing ones you don't actually want to keep require you to remove app-zarafa as a dependency?

Even when not enabled it will still slow things down and also plug names change from time to time and also as recently happened with 2.2 they've changed the authentication so you had to re-install all the plugins you had to the latest versions. I can see this being a pain for other clients if I want to install COS 7 in the future so I'm wondering if someone could explain the reasoning behind question 1) or at the very least question 2).
Tuesday, April 26 2016, 02:21 PM
Share this post:
Responses (9)
  • Accepted Answer

    Monday, May 16 2016, 05:46 PM - #Permalink
    Resolved
    0 votes
    James Joseph wrote:

    You using clearos 6 or 7? If it's missing packages ask in zarafa forum they should sort it out .


    I'm running with COS 7.
    But i've found the problem.

    /var/log/httpd/error_log

    [Mon May 16 16:27:09.335159 2016] [core:alert] [pid 19724] [client 192.168.1.254:4887] /usr/share/zarafa-webapp/.htaccess: <RequireAll not allowed here


    The problem was in /usr/share/zarafa-webapp/.htaccess


    # Deny access to config.php, config.php.dist, debug.php, debug.php.dist, defaults.php
    # because they could become a security vulnerability when accessible
    # Better safe then sorry
    <IfVersion < 2.4>
    <FilesMatch "^(config|debug|defaults|init)\.php">
    Deny from all
    </FilesMatch>
    </IfVersion>

    <IfVersion >= 2.4>
    <FilesMatch "^(config|debug|defaults|init)\.php">
    <RequireAll>
    Require all denied
    </RequireAll>
    </FilesMatch>
    </IfVersion>


    After removing this, webapp starts. :)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 16 2016, 04:49 PM - #Permalink
    Resolved
    0 votes
    Patrick de Brabander wrote:

    James Joseph wrote:

    Patrick, the wa2.2 works on cos without issues just download rhel7 packages. Regarding clearos 6 there is a way of doing it using rhel7 Oct or something like that it let's you have a send boxed version of pop 5.6 on your server look it up on zarafa forums on the released version of webapp 2.2


    Updated my webapp b2 to final, but unfortunately webapp did not work any more.
    Restored to the b2 version and it is working again.

    probably the php-mapi, which is needed with the final version is not working with COS.


    You using clearos 6 or 7? If it's missing packages ask in zarafa forum they should sort it out .
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 16 2016, 02:46 PM - #Permalink
    Resolved
    0 votes
    James Joseph wrote:

    Patrick, the wa2.2 works on cos without issues just download rhel7 packages. Regarding clearos 6 there is a way of doing it using rhel7 Oct or something like that it let's you have a send boxed version of pop 5.6 on your server look it up on zarafa forums on the released version of webapp 2.2


    Updated my webapp b2 to final, but unfortunately webapp did not work any more.
    Restored to the b2 version and it is working again.

    probably the php-mapi, which is needed with the final version is not working with COS.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 16 2016, 07:07 AM - #Permalink
    Resolved
    0 votes
    Patrick de Brabander wrote:

    Ben Chambers wrote:

    Where are you getting WebApp 2.2 RC from? It's not in ClearOS repos...if coming direct from Zarafa, you should post in their forums since this is not related to anything specific to ClearOS at this time, no?

    B.


    Hi Ben,

    It was my question on the post of James. Since he installed the RC1 which not worked on my ClearOS system because of the mapi rpm which is only needed on RHEL7 versions.
    The Webapp upgrade is coming from Zarafa, but is not completly isolated from the ClearOS system to my opion.
    Especiallly due the MAPI rpm, which maybe can break the ClearOS system.

    I agree with James about he plugins. This is definetly a ClearOS issue.
    You can not normaly remove the plugins. It's all or nothing.


    Patrick, the wa2.2 works on cos without issues just download rhel7 packages. Regarding clearos 6 there is a way of doing it using rhel7 Oct or something like that it let's you have a send boxed version of pop 5.6 on your server look it up on zarafa forums on the released version of webapp 2.2
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 16 2016, 06:41 AM - #Permalink
    Resolved
    0 votes
    Ben Chambers wrote:

    Where are you getting WebApp 2.2 RC from? It's not in ClearOS repos...if coming direct from Zarafa, you should post in their forums since this is not related to anything specific to ClearOS at this time, no?

    B.


    Hi Ben,

    It was my question on the post of James. Since he installed the RC1 which not worked on my ClearOS system because of the mapi rpm which is only needed on RHEL7 versions.
    The Webapp upgrade is coming from Zarafa, but is not completly isolated from the ClearOS system to my opion.
    Especiallly due the MAPI rpm, which maybe can break the ClearOS system.

    I agree with James about he plugins. This is definetly a ClearOS issue.
    You can not normaly remove the plugins. It's all or nothing.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 16 2016, 04:36 AM - #Permalink
    Resolved
    0 votes
    Ben Chambers wrote:

    Where are you getting WebApp 2.2 RC from? It's not in ClearOS repos...if coming direct from Zarafa, you should post in their forums since this is not related to anything specific to ClearOS at this time, no?

    B.


    @ben this is a problem with clearos as I stated in my op when you install zarafa on clearos 7 it comes pre installed with every single plugin from wa 2.1 . I personally think that should not be the case but if you try and remove any of the plugins via yum it wants to remove zarafa app as it's a dependency . you then have to manually remove the plugins via rpm . that makes it a clearos question. I'm simply trying to get an answer as to why every plugin is installed by default and removing via yum will make you remove app zarafa.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 16 2016, 12:34 AM - #Permalink
    Resolved
    0 votes
    Where are you getting WebApp 2.2 RC from? It's not in ClearOS repos...if coming direct from Zarafa, you should post in their forums since this is not related to anything specific to ClearOS at this time, no?

    B.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, May 15 2016, 11:02 AM - #Permalink
    Resolved
    0 votes
    Patrick de Brabander wrote:

    James,

    I had the same problems when I installed Webapp 2.2b2.
    The only solution was to remove the plugins manually, by deleting the directory of the old plugins.

    How did you installed the RC release of now the final release ?
    Did you installed php-mapi-webapp which is in the package of webapp ?


    I don't remember seeing that package bring in the rhel 7 packages but if it is you should install it for the final release. You need to remove some of the packages clearos has installed as they have changed names or are obsolete .
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, May 15 2016, 10:35 AM - #Permalink
    Resolved
    0 votes
    James,

    I had the same problems when I installed Webapp 2.2b2.
    The only solution was to remove the plugins manually, by deleting the directory of the old plugins.

    How did you installed the RC release of now the final release ?
    Did you installed php-mapi-webapp which is in the package of webapp ?
    The reply is currently minimized Show
Your Reply