-
-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redmine app can't create new issues when installed with default settings #15079
Comments
Set user/group to ❯ docker run -it --entrypoint /bin/bash redmine
Unable to find image 'redmine:latest' locally
latest: Pulling from library/redmine
578acb154839: Already exists
2cc5014ccca9: Pull complete
d407303216eb: Pull complete
b01a22b77a10: Pull complete
006dd831e3a8: Pull complete
cb711b545c1a: Pull complete
778a22c94f7f: Pull complete
a6bbc83a927b: Pull complete
f4b19b5b7e99: Pull complete
a36d0ad32f98: Pull complete
8bc3710686bf: Pull complete
3b801817d9f5: Pull complete
Digest: sha256:a1b33b13e73d3308f748bfdb8bc639f472c6467cf2a855cdd1b187d8dab58ba1
Status: Downloaded newer image for redmine:latest
root@73a7a48eb6b9:/usr/src/redmine# whoami
root
root@73a7a48eb6b9:/usr/src/redmine# id
uid=0(root) gid=0(root) groups=0(root)
root@73a7a48eb6b9:/usr/src/redmine# id redmine
uid=999(redmine) gid=999(redmine) groups=999(redmine) |
@all-contributors please add @Plinsboorg for bug |
I've put up a pull request to add @Plinsboorg! 🎉 |
Adds @Plinsboorg as a contributor for bug. This was requested by stavros-k [in this comment](#15079 (comment)) [skip ci] --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
User and group 999 fsgroup 568 - works |
fsgroup should sync with group tbh |
You mean, I should test |
**Description** Changes the user and group to match upstream to fix #15079 ⚒️ Fixes #15079 **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ]⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ]⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists |
App Name
Redmine
Operating System
TrueNAS SCALE 22.12.4.2
App Version
5.0.6_8.0.17
Application Events
Application Logs
Application Configuration
Describe the bug
I just installed the latest Redmine app from Stable Train. All settings are default. Storage is PVC
![image](https://private-user-images.githubusercontent.com/42300339/284017019-f1018046-c471-463a-aa6a-3b829cc622cc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1OTI4MjYsIm5iZiI6MTcyMTU5MjUyNiwicGF0aCI6Ii80MjMwMDMzOS8yODQwMTcwMTktZjEwMTgwNDYtYzQ3MS00NjNhLWFhNmEtM2I4MjljYzYyMmNjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjElMkZ1c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fudaI4Cqrti9sMfAIE9WVECHnL4KYNg)
I can open the app and everything seems to work at first
But creating new issue is not working
as soon as I click on create a new issue I get a blank page
logs are captured on the left side of the screen
To Reproduce
Install the Redmine app with default settings.
Open it. Login as admin. You will be prompt to change the admin password ->change it
Go to administration (top left menu) -> Settings. You will be prompted to Apply the default configuration (yellow banner).
go to projects. Create new project with any name
Open the project. Go to issues. Create new issue
You will get blank screen.
Expected Behavior
Issue should be created normally.
Screenshots
Additional Context
With the help of TrueChart support team in Discord we figured out that changing the app configuration (during install) from default to
RunAsUser 0
RunAsGroup 0
fixes the issue
I've read and agree with the following
The text was updated successfully, but these errors were encountered: