Skip to content

fix: show error when Nextcloud or OpenProject is unreachable in bashscript#1083

Merged
nabim777 merged 2 commits into
masterfrom
fix-sh/show-error-message
Jul 1, 2026
Merged

fix: show error when Nextcloud or OpenProject is unreachable in bashscript#1083
nabim777 merged 2 commits into
masterfrom
fix-sh/show-error-message

Conversation

@nabim777

@nabim777 nabim777 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Description

This change improves in bash script for error handling when checking the Nextcloud or openproject instance status. If the nextcloud or openproject instance is unreachable or returns an error, the script now logs a error message.

Related Issue or Workpackage

  • Fixes <issue_link>

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Updated CHANGELOG.md file

@nabim777 nabim777 force-pushed the fix-sh/show-error-message branch 3 times, most recently from 0bc1c04 to a519dbe Compare June 29, 2026 07:33
@nabim777 nabim777 changed the title fix: show error when Nextcloud is unreachable in bashscript fix: show error when Nextcloud or OpenProject is unreachable in bashscript Jun 29, 2026
@nabim777 nabim777 self-assigned this Jun 29, 2026
@nabim777 nabim777 marked this pull request as ready for review June 29, 2026 08:21
@nabim777 nabim777 force-pushed the fix-sh/show-error-message branch from a519dbe to 753254c Compare June 29, 2026 08:54
Comment thread integration_setup.sh
@nabim777 nabim777 requested a review from saw-jan June 30, 2026 03:21
Comment thread integration_setup.sh Outdated
Comment thread integration_setup.sh Outdated
Comment thread integration_setup.sh Outdated
@nabim777 nabim777 force-pushed the fix-sh/show-error-message branch from 6586a2c to 3e3b706 Compare June 30, 2026 04:27
Comment thread integration_setup.sh Outdated
Comment thread integration_setup.sh Outdated
Comment thread integration_setup.sh Outdated
@nabim777 nabim777 force-pushed the fix-sh/show-error-message branch from 3e3b706 to ea0c44c Compare June 30, 2026 06:57
@nabim777 nabim777 requested review from Ashim-Stha and saw-jan June 30, 2026 07:23
@nabim777 nabim777 force-pushed the fix-sh/show-error-message branch from ea0c44c to bb2a9f3 Compare June 30, 2026 08:24
nabim777 added 2 commits July 1, 2026 09:25
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
@nabim777 nabim777 force-pushed the fix-sh/show-error-message branch from bb2a9f3 to e947f06 Compare July 1, 2026 03:40
@saw-jan

saw-jan commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Port to other release branches

@nabim777 nabim777 merged commit a09ec09 into master Jul 1, 2026
2 checks passed
@nabim777 nabim777 deleted the fix-sh/show-error-message branch July 1, 2026 04:47
@nabim777

nabim777 commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

/backport to release/2.11

@backportbot

backportbot Bot commented Jul 1, 2026

Copy link
Copy Markdown

The backport to release/2.11 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout release/2.11
git pull origin release/2.11

# Create the new backport branch
git checkout -b backport/1083/release/2.11

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick dee05836 e947f06f

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/1083/release/2.11

Error: Failed to cherry pick commits: error: no cherry-pick or revert in progress
fatal: cherry-pick failed


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@nabim777

nabim777 commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

/backport a09ec09 to release/2.11

@nabim777

nabim777 commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

/backport a09ec09 to release/3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants