add support for custom data directory#407
Open
oiseauroch wants to merge 52 commits intoYunoHost-Apps:testingfrom
Open
add support for custom data directory#407oiseauroch wants to merge 52 commits intoYunoHost-Apps:testingfrom
oiseauroch wants to merge 52 commits intoYunoHost-Apps:testingfrom
Conversation
Author
|
!testme |
Contributor
Contributor
|
Probably fixes the issue I had: #485 👍 |
Member
|
!testme |
Contributor
|
Hello. Any news on this PR? |
Member
|
!testme |
Contributor
Member
|
!testme |
Contributor
alexAubin
reviewed
Jun 11, 2023
Member
alexAubin
left a comment
There was a problem hiding this comment.
Hmmm we gotta be careful with this, this is gonna create weird behavior in packaging v2 context. For example the behavior of the --purge option of yunohost app remove is coupled to the data_dir setting. So one way or another, the value of the setting should be synced with the value of the conf file
It's still not clear to me what's the recommended way of having a custom data location (for this app or others) between changing the app's data_dir setting, or using mount bind, or other things. I would tend to think that a mount bind is a far better option though
Fix fail2ban failregex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Problem
I configured my nextcloud with custom data directory and upgrade failed due to hardcoded data directory.
Solution
Instead of using hardcoded path, I look for the data directory in the config file of nextcloud.
PR Status
Validation
Minor decision
Package_check results