Add additional apps directory #5
Open
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.
This is work in progress and tries to address #4.
I added the
OWNCLOUD_APPS_DIRvar, which defaults to/var/lib/owncloud/appsand gets symlinked to/var/www/owncloud/apps2.In addition
owncloud_configure_apps_pathsinassets/runtime/functionsshould change the owncloud config (config based on https://doc.owncloud.org/server/8.2/admin_manual/installation/apps_management_installation.html#using-custom-app-directories). However despite the container starting up correctly and displaying the following log theapp_pathsvar is not added to theconfig.php.@sameersbn Can you imagine why
owncloud_set_paramechoes the correct values but they dont appear in the config file?Container log, fetched with
docker logs owncloud-fpm:config/config.php(masked some information with capital letters):Also code to backup installed apps was added, but could not be tested till now.
@sameersbn Are the changes in
backup_create()andbackup_restore()really all it needs to add installed apps to the backup?