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
info on how to run console in docker setups
Markus Kahlf0374d5f5c49
diff --git a/docs/enterprise-guide/enterprise-on-premises-guide/enterprise-on-premises-faq/README.md b/docs/enterprise-guide/enterprise-on-premises-guide/enterprise-on-premises-faq/README.mdindex e8b19cbf3bb..074b797f986 100644--- a/docs/enterprise-guide/enterprise-on-premises-guide/enterprise-on-premises-faq/README.md+++ b/docs/enterprise-guide/enterprise-on-premises-guide/enterprise-on-premises-faq/README.md@@ -56,7 +56,12 @@ You don't have to do anything. Just don't renew your subscription. As soon as yo## I can't login via SSO to update my Enterprise on-premises token. What do I do?Until this issue is fixed you can set the token manually via the console. Copy the new token and then do the following.-`sudo openproject run console`++```+sudo openproject run console+# if user the docker all-in-one container: docker exec -it openproject bundle exec rails console+# if using docker-compose: docker-compose run --rm web bundle exec rails console+```Once in the console update the token like this:`EnterpriseToken.first.update encoded_token: "..."`Where `...` is the token you have copied earlier.diff --git a/docs/installation-and-operations/misc/custom-openid-connect-providers/README.md b/docs/installation-and-operations/misc/custom-openid-connect-providers/README.mdindex d93aa0c31e2..7fdd69e64d0 100644--- a/docs/installation-and-operations/misc/custom-openid-connect-providers/README.md+++ b/docs/installation-and-operations/misc/custom-openid-connect-providers/README.md@@ -16,6 +16,8 @@ First start the console.```sudo openproject run console+# if user the docker all-in-one container: docker exec -it openproject bundle exec rails console+# if using docker-compose: docker-compose run --rm web bundle exec rails console```Once in the console you can change the `plugin_openproject_openid_connect` settingdiff --git a/docs/installation-and-operations/operation/control/README.md b/docs/installation-and-operations/operation/control/README.mdindex dc93011e1a6..5f26c1d562d 100644--- a/docs/installation-and-operations/operation/control/README.md+++ b/docs/installation-and-operations/operation/control/README.md@@ -34,18 +34,24 @@ Launch an interactive console to directly interact with the underlying Ruby on R```bashsudo openproject run console+# if user the docker all-in-one container: docker exec -it openproject bundle exec rails console+# if using docker-compose: docker-compose run --rm web bundle exec rails console```Manually launch the database migrations:```bashsudo openproject run rake db:migrate+# if user the docker all-in-one container: docker exec -it openproject bundle exec rake db:migrate+# if using docker-compose: docker-compose run --rm web bundle exec rake db:migrate```Check the version of Ruby used by OpenProject:```bashsudo openproject run ruby -v+# if user the docker all-in-one container: docker exec -it openproject ruby -v+# if using docker-compose: docker-compose run --rm web ruby -v```diff --git a/docs/system-admin-guide/authentication/openid-providers/README.md b/docs/system-admin-guide/authentication/openid-providers/README.mdindex 3256e0bef15..1d21e32f9e1 100644--- a/docs/system-admin-guide/authentication/openid-providers/README.md+++ b/docs/system-admin-guide/authentication/openid-providers/README.md@@ -106,8 +106,15 @@ See [our process control guide](../../../installation-and-operations/operation/c```sudo openproject run console-> Setting.oauth_allow_remapping_of_existing_users = true-> exit+# or if using docker:+# docker-compose run --rm web bundle exec rails console+```++Once in the console you can then enter the following to enable the setting and leave the console.++```+Setting.oauth_allow_remapping_of_existing_users = true+exit```Then, existing users should be able to log in using their Azure identity. Note that this works only if the user is using password-based authentication, and is not linked to any other authentication source (e.g. LDAP) or OpenID provider.diff --git a/docs/system-admin-guide/authentication/saml/README.md b/docs/system-admin-guide/authentication/saml/README.mdindex 9dac035640a..6a0a92b105a 100644--- a/docs/system-admin-guide/authentication/saml/README.md+++ b/docs/system-admin-guide/authentication/saml/README.md@@ -110,8 +110,10 @@ That means it's best to set them using the console.> sudo openproject run console# docker-based installation:-> docker exec -it openproject bash->> bundle exec rails console+> docker exec -it openproject bundle exec rails console++# docker-compose-based installation:+> docker-compose run --rm web bundle exec rails console```Once on the console you can set the same values as named in the `configuration.yml` file.