LeonardoRM / owncloud-roundcube

OwnCloud app to integrate RoundCube Webmail
GNU Affero General Public License v3.0
5 stars 14 forks source link

Doesn't work? #15

Closed hdijkema closed 1 year ago

hdijkema commented 1 year ago

I tried to install the roundcube app, but it doesn't show in my owncloud admin. I also have got onlyoffice installed, which is configured via "... Extra".

What I did:

I cloned the repository to ~/tmp. Results in '~/tmp/owncloud-roundcube/roundcube'. I moved '~/tmp/owncloud-roundcube/roundcube' to ~/cloud/apps-external.

I refreshed my browser. It shows warnings about files not to be trusted (which is to be expected I guess).

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- roundcube
    - EXCEPTION
        - OC\IntegrityCheck\Exceptions\MissingSignatureException
        - Signature data not found.

Raw output
==========
Array
(
    [roundcube] => Array
        (
            [EXCEPTION] => Array
                (
                    [class] => OC\IntegrityCheck\Exceptions\MissingSignatureException
                    [message] => Signature data not found.
                )

        )

)

However, no configuration can be set.

I tried installing by moving the entire clone to ~/cloud/apps-external, but that also does not help.

What should I do?

hdijkema commented 1 year ago

Ok, I've got it working.

I installed the roundcube folder into ~/<owncloud>/apss-external. Somehow it started working. I had to add 'integrity.check.disabled' => true to config.php, because owncloud has problems with the integrity check of the files.

Added a webmail under '/rc' in the configuration:

afbeelding

Moved the roundcube installation to the '/rc' folder in my roundcube mail location, because somehow the links of roundcube must be equal to the '/rc' owncloud folder.

Added an index.php in the root folder of the mail location, with:

<?php
header("Location: https://<mail host url>/rc", true, 301);
?>

Added proxy settings to the apache configuration of the owncloud site:

    SSLProxyEngine on
    ProxyPass /rc/ https://<mail host url>/rc/
    ProxyPassReverse /rc/ https://<mail host url>/rc/

And it started working.