From 5e37b61633392105d0a58212021e7fb8e0dded6f Mon Sep 17 00:00:00 2001 From: jzdm <2634254+jzdm@users.noreply.github.com> Date: Tue, 22 Jan 2019 10:46:35 +0100 Subject: [PATCH 1/2] Suppress confirmation Shared hostings without shell access make the confirmation step impossible. Therefore you can add named argument and suppress the confirmation message. Then the conversion works even from one time cronjobs. --- admin_manual/configuration_database/bigint_identifiers.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/admin_manual/configuration_database/bigint_identifiers.rst b/admin_manual/configuration_database/bigint_identifiers.rst index 3723e6c4d..b2e43e066 100644 --- a/admin_manual/configuration_database/bigint_identifiers.rst +++ b/admin_manual/configuration_database/bigint_identifiers.rst @@ -20,5 +20,11 @@ or otherwise ask for confirmation, before performing the heavy actions:: This can take up to hours, depending on the number of files in your instance! Continue with the conversion (y/n)? [n] +in a shared hosting environment you can add + + --no-interaction + +as an argument to suppress the confirmation. + .. note:: Similar to a normal update, you should shutdown your apache or nginx server or enable maintenance mode before running the command to avoid issues with your sync clients. From da9ace842b4adf2ba232e85de3c3b0538c7536da Mon Sep 17 00:00:00 2001 From: jzdm <2634254+jzdm@users.noreply.github.com> Date: Tue, 22 Jan 2019 12:56:59 +0100 Subject: [PATCH 2/2] Hint to suppress confirmation message More concise and removed reference to shared hosting as unclear. --- admin_manual/configuration_database/bigint_identifiers.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/admin_manual/configuration_database/bigint_identifiers.rst b/admin_manual/configuration_database/bigint_identifiers.rst index b2e43e066..04a830844 100644 --- a/admin_manual/configuration_database/bigint_identifiers.rst +++ b/admin_manual/configuration_database/bigint_identifiers.rst @@ -20,11 +20,10 @@ or otherwise ask for confirmation, before performing the heavy actions:: This can take up to hours, depending on the number of files in your instance! Continue with the conversion (y/n)? [n] -in a shared hosting environment you can add +to suppress the confirmation message append `--no-interaction` to the argument list: - --no-interaction + sudo -u www-data php occ db:convert-filecache-bigint --no-interaction -as an argument to suppress the confirmation. .. note:: Similar to a normal update, you should shutdown your apache or nginx server or enable maintenance mode before running the command to avoid issues with your sync clients.