Navigation menu

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Prerequesites

Note

You need access to the server running ownCloud in order to install the e2ee plugin.

...

  1. Find you apps folder within your ownCloud installation (Linux: /var/www/oc/apps )
  2. Unzip the e2eeShare zip package into this folder:

    Code Block
    cd /var/www/oc/apps
    unzip ~/Downloads/e2eeshare-1.0.zip
  3. Verify that the zip is successfully extracted:

    Code Block
    owncloud
    ├── apps
    ...
    │   ├── e2eeshare
    │   │   ├── appinfo
    │   │   ├── controller
    │   │   ├── css
    │   │   ├── db
    │   │   ├── img
    │   │   ├── js
    │   │   ├── l10n
    │   │   ├── lib
    │   │   └── templates
    ...
  4. Patch the guest plugin by editing app/guest/settings/admin.php (line ~46) and replace 'guest' with 'sharing' so it looks like:

    Code Block
    ....
            public function getSectionID() {
                    return 'sharing';
            }
    ....
    Warning

    You MUST patch the guest plugin 0.4.1 , otherwise you will not be able to enable e2ee for guests!

     

     

  5. Login to ownCloud with the admin user and finish installation by running the database upgrade

  6. Enter your license key in the configuration under 
     
  7. Add E2ee to allowed apps for guest access (foudn in ):
     
  8. Create a group for all e2ee users and add it within the group setup:
     

FAQ

I got a valid license, but when installing it, I still get a message that the system is unlicensed.

This normally happens, when you did not specify the right "url" for your license keys. Make sure to send us the url the system will be visible from (i.e. https://domain.tld/owncloud) -> basically everything before the index.php. If you plan to use different urls for the same installation makes ure to send us all

 

The installation did not create the correct tables.

The E2ee plugin uses 3 tables. On some system configurations the update system seems to fail. Please notify us of your configuration so we can fix the issue.

If you want to manually add the tables here is the current schema:

Code Block
languagesql
titleE2ee Schema
CREATE TABLE `oc_e2eeshare_filekeys` (
  `parent_id` bigint(20) NOT NULL DEFAULT '0',
  `path` varchar(4000) DEFAULT NULL,
  `key_id` varchar(32) NOT NULL,
  `filekey` varchar(2048) NOT NULL,
  `created` bigint(20) unsigned DEFAULT NULL,
  KEY `e2ee_parent_id_index` (`parent_id`)
);
CREATE TABLE `oc_e2eeshare_keys` (
  `user_uid` varchar(254) NOT NULL,
  `public_key` varchar(2048) NOT NULL,
  `ip` varchar(45) DEFAULT NULL,
  `key_id` varchar(32) NOT NULL,
  `created` bigint(20) unsigned DEFAULT NULL,
  `description` varchar(2048) DEFAULT NULL,
  `user_agent` varchar(512) DEFAULT NULL,
  UNIQUE KEY `e2ee_key_id_index` (`key_id`),
  KEY `e2ee_user_uid_index` (`user_uid`),
  KEY `e2ee_user_key_index` (`user_uid`,`key_id`)
);
CREATE TABLE `oc_e2eeshare_shares` (
  `fileid` bigint(20) NOT NULL DEFAULT '0',
  UNIQUE KEY `e2ee_fileid_index` (`fileid`)
);