From 41afc0ab7cfdc068dfbc0f7b0ba7851d2b0b6aa4 Mon Sep 17 00:00:00 2001 From: Carla Schroder Date: Wed, 1 Jun 2016 09:51:44 -0700 Subject: [PATCH] add some clarification how integrity check works, and rescans --- admin_manual/configuration_server/occ_command.rst | 4 +++- admin_manual/issues/code_signing.rst | 14 +++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index 57dcf365e..7731fdd76 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -682,7 +682,7 @@ Apps which have an official tag MUST be code signed starting with ownCloud 9.0. integrity:check-core Check core integrity using a signature. integrity:sign-app Signs an app using a private key. integrity:sign-core Sign core using a private key - + After creating your signing key, sign your app like this example:: sudo -u www-data php occ integrity:sign-app --privateKey=/Users/lukasreschke/contacts.key --certificate=/Users/lukasreschke/CA/contacts.crt --path=/Users/lukasreschke/Programming/contacts @@ -695,6 +695,8 @@ When it returns nothing, your app is signed correctly. When it returns a message `_ in the Developer manual for more detailed information. ``integrity:check-core`` and ``integrity:sign-core`` are for ownCloud core developers only. + +See :doc:`../issues/code_signing` to learn more. Added in 9.0. diff --git a/admin_manual/issues/code_signing.rst b/admin_manual/issues/code_signing.rst index 7e6982bf1..6e439227a 100644 --- a/admin_manual/issues/code_signing.rst +++ b/admin_manual/issues/code_signing.rst @@ -74,7 +74,7 @@ the following options: :alt: Links for resolving code integrity warnings. To debug issues caused by the code integrity check click on "List of invalid -files…", and you will be shown a text document listing the different issues. The +files...", and you will be shown a text document listing the different issues. The content of the file will look similar to the following example: :: @@ -175,6 +175,18 @@ https://owncloud.org/support/. After fixing these problems verify by clicking .. note:: When using a FTP client to upload those files make sure it is using the ``Binary`` transfer mode instead of the ``ASCII`` transfer mode. + +.. _rescans_label: + +Rescans +------- + +Rescans are triggered at installation, and by updates. You may run scans manually with the ``occ`` command. The first command scans the ownCloud core files, and the second command scans the named app. There is not yet a command to manually scan all apps:: + + occ integrity:check-core + occ integrity:check-app $appid + +See :doc:`../configuration_server/occ_command` to learn more about using ``occ``. Errors ------