Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ asciidoc:
# this is the first part of the name for envvars between major versions that will be added or removed
# example for full name: 7.0.0-7.1.0-added.adoc or 7.0.0-7.1.0-removed.adoc
# note that the name must be exactly how it is defined in the ocis repo to access the source files!
env_var_delta_name: '7.1.0-7.2.0'
env_var_delta_name: '7.2.0-7.3.0'

# set attributes defining path components which will be assembled in the document
compose_url: 'https://github.com/owncloud/ocis/tree/'
Expand All @@ -66,5 +66,9 @@ asciidoc:
ocis_services_raw_url: 'https://raw.githubusercontent.com/owncloud/ocis/'
ocis_services_final_path: '/services/_includes/'

# only used in deployment/services/env-var-changes.adoc
# static path component, used to assemble the final path
ocis_services_env_var_deltas_path: '/services/general-info/envvars/env-var-deltas/'

# used in depl-examples
download-gh-directory-url: https://download-directory.github.io
13 changes: 7 additions & 6 deletions modules/ROOT/pages/deployment/services/env-var-changes.adoc
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Changed Environment Variables in Versions
:toc: right
:description: This page contains tables with added and removed environment variables between Infinite Scale version 7.1.0 and 7.2.0.
:description: This page contains tables with added and removed environment variables between Infinite Scale version 7.2.0 and 7.3.0.

:source_path: {ocis_services_raw_url}{service_url_component}{ocis_services_env_var_deltas_path}

:source_path: {ocis_services_raw_url}{service_url_component}{ocis_services_final_path}adoc/env-var-deltas/
////
ocis_services_raw_url: https://raw.githubusercontent.com/owncloud/ocis/
service_url_component: docs || docs-stable-7.2
ocis_services_final_path: /services/_includes/
env_var_delta_name: 7.1.0-7.2.0
ocis_services_raw_url: https://raw.githubusercontent.com/owncloud/ocis/
service_url_component: docs || docs-stable-7.3
ocis_services_env_var_deltas_path: /services/general-info/envvars/env-var-deltas/
env_var_delta_name: 7.2.0-7.3.0
////

== Introduction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ ocis storage-users uploads sessions \

==== Remove Stale Uploads

Unlike the xref:sessions-command[Sessions Command] set above, this command deletes all nodes that are in processing state and not referenced by an upload session. Although this is a very rare occurrence, a command has been added to identify and remove these stale uploads, if they exist.
Unlike the xref:sessions-command[Sessions Command] set above, this command deletes (or reverts) all nodes that are in processing state and not referenced by an upload session. Although this is a very rare occurrence, a command has been added to identify and remove these stale uploads, if they exist.

This command can be used to run on a specific Space, on all Spaces, and with a dry-run option to print only stale uploads as they are found.

Expand All @@ -220,7 +220,7 @@ ocis storage-users uploads delete-stale-nodes help
[source,plaintext]
----
NAME:
ocis storage-users uploads delete-stale-nodes - Delete all nodes in processing state that are not referenced by any upload session
ocis storage-users uploads delete-stale-nodes - Delete (or revert) all nodes in processing state that are not referenced by any upload session

USAGE:
ocis storage-users uploads delete-stale-nodes [command options]
Expand Down
6 changes: 4 additions & 2 deletions modules/ROOT/pages/maintenance/commands/changed-cli.adoc
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
= Changed or Added CLI Commands
:toc: right
:description: This page contains a list with added, changed or removed CLI commands between Infinite Scale version 7.1.0 and 7.2.0.
:description: This page contains a list with added, changed or removed CLI commands between Infinite Scale version 7.2.0 and 7.3.0.

== Introduction

{description}

== Affected CLI Commands

// None of the admin-related commands have changed.

See the link for a detailed description of the respective CLI command if available.

* xref:maintenance/commands/commands.adoc#manage-expired-or-stale-uploads[Manage Expired or Stale Uploads] +
The `ocis storage-users uploads delete-stale-nodes` command deletes all nodes that are in processing state and not referenced by an upload session.
The `ocis storage-users uploads delete-stale-nodes` command has been updated. Previously, only faulty nodes were deleted, which could cause issues when file versions were present. Now, after deleting faulty nodes, nodes are rolled back to the latest functional version if file versions are present.
14 changes: 14 additions & 0 deletions modules/ROOT/pages/migration/upgrading-ocis.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ IMPORTANT: When upgrading from an older release to the desired one, *ALL* upgrad

IMPORTANT: When upgrading from an older release to the desired one, mandatory configuration settings may have been added or removed. To see the changes required, you can run `ocis init --diff` after upgrading but before finally starting. For more details, see the xref:deployment/general/ocis-init.adoc[ocis init command] description.

== Version 7.2.0 to 7.3.0

=== Notable Changes Requiring Manual Intervention

There are no notable changes requiring manual intervention in Infinite Scale 7.3

=== Breaking Changes Requiring Manual Intervention

There are no breaking changes in Infinite Scale 7.3

=== Upgrade Steps

For a detailed description of the steps to upgrade, see the xref:migration/upgrading_7.2.0_7.3.0.adoc[Upgrading from 7.2.0 to 7.3.0] documentation. Note that this document also contains references to added/changed/removed CLI commands and environment variables.

== Version 7.1.0 to 7.2.0

=== Notable Changes Requiring Manual Intervention
Expand Down
107 changes: 107 additions & 0 deletions modules/ROOT/pages/migration/upgrading_7.2.0_7.3.0.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
= Upgrading from 7.2.0 to 7.3.0
:toc: right
:description: This document describes the necessary steps when upgrading Infinite Scale from release 7.2.0 to 7.3.0.

:actual_seven_version: 7.3.0

include::partial$multi-location/compose-version.adoc[]

== Introduction

{description}

IMPORTANT: Read the important notes in the xref:migration/upgrading-ocis.adoc#introduction[Upgrading Infinite Scale] documentation before you start.

IMPORTANT: Check below, if you are affected by breaking changes and prepare all steps mentioned before you start the upgrade.

== Upgrade Steps

. Download and install Infinite Scale +
*Do not start it after downloading the image*!
. Shut down the Infinite Scale instance
. We strongly recommend doing a backup
. Reconfigure the deployment
. Manage Breaking Changes
. Manage Added/Removed/Deprecated environment variables
. Start Infinite Scale

:sectnums:

== Download and Install Infinite Scale

Download and install Infinite Scale:

* Issue the following command to download the new image:
+
[source,bash,subs="attributes+"]
----
docker pull owncloud/ocis:{actual_seven_version}
----

== Shut Down the Infinite Scale Instance

Depending how you deployed Infinite Scale, you need to shut it down differently.

* *docker compose* +
For deployments using `docker compose` do a graceful shutdown as described in xref:depl-examples/ubuntu-compose/ubuntu-compose-prod.adoc#stop-the-deployment[Stop the Deployment].

* *Any other image based deployment* +
For any other image based deployment, shut down Infinite Scale according the vendors deployment description.

== Backup of Infinite Scale

See the xref:maintenance/b-r/backup_considerations.adoc[Backup Considerations] and the xref:maintenance/b-r/backup.adoc[Backup] documentation for more details.

== Reconfigure the Deployment

Reconfigure the deployment to use the new image:

* For binary, nothing extra needs to be done

* When using `docker compose`
** Update _every_ compose file where the `ocis image` is referenced accordingly.
** If you have used the deployment examples either for xref:depl-examples/ubuntu-compose/ubuntu-compose-prod.adoc[Local Production Setup] or xref:depl-examples/ubuntu-compose/ubuntu-compose-hetzner.adoc[Deployment on Hetzner], read the *Updating and Upgrading* section of those pages carefully.

== Manage Breaking Changes

* There are no breaking changes in Infinite Scale 7.3

== Added-Removed-Deprecated Environment Variables

* See the xref:deployment/services/env-var-changes.adoc[Changed Environment Variables in Versions] for more details.

== Reconfigure Deployment Examples

The following steps are based on the xref:depl-examples/ubuntu-compose/ubuntu-compose-prod.adoc[Local Production Setup] deployment example. The steps are identical for the xref:depl-examples/ubuntu-compose/ubuntu-compose-hetzner.adoc[Deployment on Hetzner].

* Stop the deployment example

* Backup the the base folder containing the existing deployment example by renaming it. +
You will need your configuration details with the new example.

* Follow the xref:depl-examples/ubuntu-compose/ubuntu-compose-prod.adoc#download-and-transfer-the-example[Download and Transfer Example] to get the new deployment and extract it as described in the following section of the guide.

* Reconfigure the new `.env` file based on settings made in the `.env` file of the backup. +
Note that new environment variables have been added:
** Configurable image versions for: `Traefik`, `Collabora` and `OnlyOffice`. +
The provided versions are tested, update on your onw risk, note that this especially applies when using `latest`. If a new deployment example is proveded, you now have to update the image versions manually.

** Pull the new image versions with `docker compose pull`.

* Start the deployment example.

== Start Infinite Scale

When you have finished upgrading, you now can start Infinite Scale as usual.

For any deployment used, you now can delete/remove old binaries or images/containers.

:sectnums!:

== Changed or Added CLI Commands

See the xref:maintenance/commands/changed-cli.adoc[Changed or Added CLI Commands] document for details.

== Changed Environment Variables

See the xref:deployment/services/env-var-changes.adoc[Changed Environment Variables in Versions] document for details.