Skip to content

Commit

Permalink
Set write permissions for Redmine directories
Browse files Browse the repository at this point in the history
This might be the cause of current failure - Redmine might not be able to write any log files.
  • Loading branch information
aedart committed Feb 20, 2025
1 parent c6d3c6b commit 62b369d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/redmine_api_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,12 @@ jobs:
ruby-version: '3.1'
path: "${{ env.REDMINE_INSTALL_PATH }}"

# - name: "Debug: output redmine config dir"
# run: ls ${{ env.REDMINE_INSTALL_PATH }}/config
# @see https://www.redmine.org/projects/redmine/wiki/RedmineInstall#Step-8-File-system-permissions
- name: "Set file permissions"
run: |
cd ${{ env.REDMINE_INSTALL_PATH }}
mkdir -p tmp tmp/pdf public/assets public/plugin_assets
chmod -R 755 log files tmp public/assets public/plugin_assets
- name: "Enable REST Api"
uses: rmeneely/update-yaml@v1
Expand Down

0 comments on commit 62b369d

Please sign in to comment.