OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#56859] 14.4 Documentation: Storages changes https://community.openproject.org/work_packages/56859
Maya Berdygylyjova74f1d2496fe2
diff --git a/docs/system-admin-guide/files/external-file-storages/health-status/README.md b/docs/system-admin-guide/files/external-file-storages/health-status/README.mdindex 95ca9b8aebf..681ac951400 100644--- a/docs/system-admin-guide/files/external-file-storages/health-status/README.md+++ b/docs/system-admin-guide/files/external-file-storages/health-status/README.md@@ -35,7 +35,21 @@ There are several possible errors that can occur during the connection test. The### Connection validation for Nextcloud-The connection validation test is currently only available for OneDrive/SharePoint integrations.+Same as OneDrive/SharePoint, every file storage for Nextcloud has the ability to run a connection test. This test is triggered manually by+clicking on **Recheck connection** in the sidebar on the right side of the file storage's details view. This check is available after the file storage is fully configured.++++There are several possible errors that can occur during the connection test. The following table lists the error codes with a description of the possible reasons and suggested solutions.++| Error code | Error description | Possible reasons | Next steps and solutions |+| ------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |+| ERR_HOST_NOT_FOUND | No Nextcloud server was found at the configured host URL. | There might be a typo or the URL has changed. | Please check the configuration. |+| ERR_MISSING_DEPENDENCIES | A required dependency is missing on the file storage. | Either the Integration OpenProject app or the Group Folders app is not enabled in Nextcloud. | Please add the following dependency: %{dependency}. |+| ERR_UNEXPECTED_VERSION | The Integration OpenProject app version or the Group Folders app version is not supported. | Either the Integration OpenProject app or the Group Folders app is outdated or was not updated to the latest version. | Please update your apps to the latest version. It might be necessary to update your Nextcloud server to the latest version in order to be able to install the latest app versions. |+| ERR_UNKNOWN | An unknown error occurred. | There can be multiple reasons and the error source was not foreseen. | Errors of this kind are logged to the server logs. Look for a log entry starting with `Connection validation failed with unknown error:` |++##### Health checks for automatically managed project foldersdiff --git a/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_health_message.png b/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_health_message.pngindex c2a52739ed4..5d48406f708 100644Binary files a/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_health_message.png and b/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_health_message.png differdiff --git a/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_health_message_nextcloud.png b/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_health_message_nextcloud.pngnew file mode 100644index 00000000000..2fbb32d3878Binary files /dev/null and b/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_health_message_nextcloud.png differdiff --git a/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_recheck_connection.png b/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_recheck_connection.pngindex d5a594395bf..6f7cc36b33e 100644Binary files a/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_recheck_connection.png and b/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_recheck_connection.png differdiff --git a/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_recheck_connection_nextcloud.png b/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_recheck_connection_nextcloud.pngnew file mode 100644index 00000000000..66b07a52f3aBinary files /dev/null and b/docs/system-admin-guide/files/external-file-storages/health-status/openproject_file_storages_recheck_connection_nextcloud.png differdiff --git a/docs/system-admin-guide/integrations/nextcloud/README.md b/docs/system-admin-guide/integrations/nextcloud/README.mdindex 81354665d31..006d5675435 100644--- a/docs/system-admin-guide/integrations/nextcloud/README.md+++ b/docs/system-admin-guide/integrations/nextcloud/README.md@@ -25,7 +25,8 @@ OpenProject offers close integration with Nextcloud to allow users to:- View all work packages linked to a file- View OpenProject notifications via the Nextcloud dashboard-> Note: This guide only covers the integration setup. Please go to our [Nextcloud integration user guide](../../../user-guide/file-management/nextcloud-integration/) to learn more about how to work with the Nextcloud integration.+> [!NOTE]+> This guide only covers the integration setup. Please go to our [Nextcloud integration user guide](../../../user-guide/file-management/nextcloud-integration/) to learn more about how to work with the Nextcloud integration.## Required system versions@@ -42,7 +43,8 @@ OpenProject makes significant efforts to ensure that the integration works with## Set up the integration-> **Important**: You need to have administrator privileges in both your Nextcloud and OpenProject instances to set up this integration.+> [!IMPORTANT]+> You need to have administrator privileges in both your Nextcloud and OpenProject instances to set up this integration.Watch this video to find out how to set up the Nextcloud integration as an Administrator and as a user.<video src="https://openproject-docs.s3.eu-central-1.amazonaws.com/videos/OpenProject-Nextcloud-Integration-Setup.mp4" type="video/mp4" controls="" style="width:100%"></video>@@ -69,7 +71,8 @@ In the configuration page that appears, you'll see a blank text field titled **OClick on the **Save** button.-> **Note:** If the OpenProject host cannot be added, you may check the [Troubleshooting](#troubleshooting) section at the bottom of this page.+> [!TIP]+> If the OpenProject host cannot be added, you may check the [Troubleshooting](#troubleshooting) section at the bottom of this page.Please note, when you use the **Terms of Service** app on the Nextcloud side, all terms also need to be accepted for the OpenProject user that gets created during the setup. This is set to happen automatically during the initial set-up. If you see an error message indicating otherwise or the integration does not behave as expected, please refer to the [Troubleshooting](#troubleshooting) section at the bottom of this page.@@ -77,7 +80,7 @@ The next part of the setup will require you to enter OpenProject OAuth values he### 2. Create a Nextcloud file storage in your OpenProject instance-Navigate to your administration settings page by clicking on *your avatar in the top right corner → Administration*. From the side menu on the left, click on **File storages**.+Navigate to your administration settings page by clicking on *your avatar in the top right corner → Administration*. From the side menu on the left, click on **Files -> External file storages**.Click on **+ Storage** to add a new file storage.@@ -101,7 +104,8 @@ At this point, you will see a page titled **OpenProject OAuth application detailNote that OpenProject has automatically generated an OAuth **client ID** and a **client secret**. These values are needed to permit Nextcloud to connect to OpenProject.-> **Important**: These generated values are not accessible again after you close the window. Please do not navigate away from this page before copying them over to Nextcloud, as instructed below. Treat these values with care, as you would an important password. Please do not reveal them to anyone else.+> [!IMPORTANT]+> These generated values are not accessible again after you close the window. Please do not navigate away from this page before copying them over to Nextcloud, as instructed below. Treat these values with care, as you would an important password. Please do not reveal them to anyone else.@@ -141,7 +145,8 @@ In case you want to use this functionality you will be requested to enter a pass-> **Important**: You will need to install the [Group folder](https://apps.nextcloud.com/apps/groupfolders) app in Nextcloud in order to have OpenProject automatically managed your Nextcloud folders. Each storage can only have one group folder with the same name.+> [!IMPORTANT]+> You will need to install the [Group folder](https://apps.nextcloud.com/apps/groupfolders) app in Nextcloud in order to have OpenProject automatically managed your Nextcloud folders. Each storage can only have one group folder with the same name.At this point, you can click on **Done, complete setup** in both applications and your instance configuration will be completed.@@ -164,15 +169,17 @@ Additional settings on this page also allow you, as an administrator, to defineNow that the integration is set up, the next step is to make the Nextcloud file storage you just created available to individual projects.-To do so, navigate to any existing project in your OpenProject instance and click on **Project settings** **→ Modules** and follow the instructions in the [Project settings user guide](../../../user-guide/projects/project-settings/files/).+To do so, navigate to any existing project in your OpenProject instance and click on **Project settings** -> **Files** and follow the instructions in the [Project settings user guide](../../../user-guide/projects/project-settings/files/).-> **Note:** For information on how to use the file storage (link Nextcloud user accounts at a user level, link files to a work package, view and download linked files, unlink files), please read our [Nextcloud integration user guide](../../../user-guide/file-management/nextcloud-integration/).+> [!NOTE]+> For information on how to use the file storage (link Nextcloud user accounts at a user level, link files to a work package, view and download linked files, unlink files), please read our [Nextcloud integration user guide](../../../user-guide/file-management/nextcloud-integration/).## Reset OAuth valuesIf you wish to reset OAuth values for any reason, you can do so on either side by clicking on the **Reset OAuth values** button (in Nextcloud settings) or the **Replace OAuth values** button (in OpenProject admin settings).-> **Important**: When you reset/replace these values, you will need to update the configuration with the new OAuth credentials from the side you are resetting. This will also require all users to re-authorize OpenProject to access their Nextcloud account by logging in again.+> [!IMPORTANT]+> When you reset/replace these values, you will need to update the configuration with the new OAuth credentials from the side you are resetting. This will also require all users to re-authorize OpenProject to access their Nextcloud account by logging in again.@@ -190,7 +197,8 @@ Deleting a file storage at an instance level deletes the Nextcloud integration c-> **Important:** Deleting a file storage as an instance administrator will also delete all settings and links between work packages and Nextcloud files/folders. This means that should you want to reconnect your Nextcloud instance with OpenProject, will need complete the entire setup process once again.+> [!IMPORTANT]+> Deleting a file storage as an instance administrator will also delete all settings and links between work packages and Nextcloud files/folders. This means that should you want to reconnect your Nextcloud instance with OpenProject, will need complete the entire setup process once again.## Using the integration@@ -268,19 +276,23 @@ If you do care about the `OpenProject` user/group/folder data then the condition- Group `OpenProject` doesn't have all the permissions for group folder `OpenProject`. Inside the _Group folders_ App (*Administration settings → Administration → Group folders*) check if the group `OpenProject` has all the permissions for group folder `OpenProject`, if not give group `OpenProject` all the permissions i.e. Write, Share, Delete.- User `OpenProject` doesn't have advanced permissions for group folder `OpenProject`. Inside the _Group folders_ App (*Administration settings → Administration → Group folders*) check if the user `OpenProject` has advanced permissions for group folder `OpenProject`, if not add user `OpenProject` to advanced permissions list.-> Note: The name `OpenProject` is case-sensitive, so should be in exactly that format.+> [!NOTE]+> The name `OpenProject` is case-sensitive, so should be in exactly that format.#### While trying to delete or disable user/group "OpenProject"If you face an error while trying to delete or disable user/group "OpenProject" then that's because user/group is protected by the _OpenProject Integration_ App. If you really need to delete the user or group follow these steps:1. Disable the _OpenProject Integration_ App- **Note**: Disabling and enabling the app is safe. No app data will be deleted.+ > [!NOTE]+ > Disabling and enabling the app is safe. No app data will be deleted.2. Remove user `OpenProject`3. Remove group `OpenProject`4. Inside the _Group folders_ App (*Administration settings → Administration → Group folders*), remove group folder `OpenProject`.- **Caution: this step will delete all files in that folder. Make sure to make a copy if you want to keep these files!**+ [!WARNING]+ This step will delete all files in that folder. Make sure to make a copy if you want to keep these files!**+5. Enable the _OpenProject Integration_ App### Setting up Nextcloud in OpenProject@@ -337,7 +349,7 @@ sudo systemctl restart apache2```If that also not work please check the [instructions for setting up pretty URLs in Nextcloud](https://docs.nextcloud.com/server/22/admin_manual/installation/source_installation.html#pretty-urls). This usually also resolves the issue of stripped `Authorization` headers.-+#### Project folders are not created or you do not have accessYou have setup the *Project folder* in both environments (Nextcloud and OpenProject), but you cannot see any folder named `OpenProject` in the root directory of **Files** app in Nextcloud.diff --git a/docs/system-admin-guide/integrations/nextcloud/admin-file-storages.png b/docs/system-admin-guide/integrations/nextcloud/admin-file-storages.pngindex e235f67be49..e80390efd10 100644Binary files a/docs/system-admin-guide/integrations/nextcloud/admin-file-storages.png and b/docs/system-admin-guide/integrations/nextcloud/admin-file-storages.png differdiff --git a/docs/user-guide/file-management/nextcloud-integration/README.md b/docs/user-guide/file-management/nextcloud-integration/README.mdindex fd9947000c8..29d08632124 100644--- a/docs/user-guide/file-management/nextcloud-integration/README.md+++ b/docs/user-guide/file-management/nextcloud-integration/README.md@@ -26,7 +26,8 @@ Additionally you can:It is also possible to automatically create dedicated [project folders](../../projects/project-settings/files/#project-folders), which makes documentation structure clearer and makes navigation more intuitive.-> **Important note**: To be able to use Nextcloud as a file storage in your project, the administrator of your instance should first have completed the [Nextcloud integration setup](../../../system-admin-guide/integrations/nextcloud). Then a project administrator can activate Nextcloud in the [File storages](../../projects/project-settings/files/) for a project.+> [!NOTE]+> To be able to use Nextcloud as a file storage in your project, the administrator of your instance should first have completed the [Nextcloud integration setup](../../../system-admin-guide/integrations/nextcloud).| Topic | Description ||-----------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------|@@ -66,7 +67,8 @@ To begin using this integration, you will need to first connect your OpenProject5. The one-time process to connect your two accounts is complete. You will now be directed back to the original work package, where you can view and open any Nextcloud files that are already linked, or start linking new ones.-> **Note**: To disconnect the link between your OpenProject and Nextcloud accounts, head on over to Nextcloud and navigate to _Settings → OpenProject_. There, click *Disconnect from OpenProject* button. To re-link the two accounts, simply follow [the above instructions](#connect-your-openproject-and-nextcloud-accounts) again.+> [!NOTE]+> To disconnect the link between your OpenProject and Nextcloud accounts, head on over to Nextcloud and navigate to _Settings → OpenProject_. There, click *Disconnect from OpenProject* button. To re-link the two accounts, simply follow [the above instructions](#connect-your-openproject-and-nextcloud-accounts) again.## Link files and folders to work packages@@ -87,7 +89,8 @@ To link a Nextcloud file to the current work package, you can either:-> **Info**: The default project that opens in the location picker is set by the project administrators in the [File storages settings](../../projects/project-settings/files/).+> [!TIP]+> The default project that opens in the location picker is set by the project administrators in the [File storages settings](../../projects/project-settings/files/).@@ -105,7 +108,8 @@ Alternatively, you can also simply drag a file or folder from your computer to tOnce you have selected or dropped the files you would like to upload, you will need to select a folder on Nextcloud to which they should be stored.-> **Info**: The default project that opens in the location picker is defined by the project administrators in the [File storages settings](../../projects/project-settings/files/).+> [!TIP]+> The default project that opens in the location picker is defined by the project administrators in the [File storages settings](../../projects/project-settings/files/).@@ -113,7 +117,8 @@ You can click on folders you see to navigate to them. A helpful breadcrumb showsTo navigate one level up or to go back to the root, simply click on the relevant parent in the breadcrumb.-> **Info**: If you have navigated particularly deep (over 4 levels), intermediate levels might be collapsed to save space, but you'll always be able to navigate back to the immediate parent or the root to go backwards.+> [!TIP]+> If you have navigated particularly deep (over 4 levels), intermediate levels might be collapsed to save space, but you'll always be able to navigate back to the immediate parent or the root to go backwards.To save the files you uploaded to the currently open folder, click on the **Choose location** button.@@ -185,7 +190,8 @@ Once a work package is linked to a file, you can always unlink it by clicking onYou will be asked to confirm that you want to unlink. Click on **Remove link** to do so.-> **Info**: Unlinking a file or folder simply removes the connection with this work package; the original file or folder will _not_ be deleted or affected in any way. The only change is it will no longer appear in the Files tab on OpenProject, and the work package will no longer be listed in the "OpenProject" tab for that file on Nextcloud.+> [!NOTE]+> Unlinking a file or folder simply removes the connection with this work package; the original file or folder will _not_ be deleted or affected in any way. The only change is it will no longer appear in the Files tab on OpenProject, and the work package will no longer be listed in the "OpenProject" tab for that file on Nextcloud.## Nextcloud dashboard