nextcloud / nextcloud/nextcloud-docker-dev

Install and enable a shipped app in Docker container

Open
#402 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
PHP
Stars
190
Forks
103
Avg merge
4h 36m
Merged PRs (30d)
1

Description

I want to install logreader so I can view logs more easily.

Since this app is not from the app store but comes included with Nextcloud, I don't know how to install and enable it:

https://github.com/nextcloud/server/blob/894f96380486fac55a34fd11268a7f176085d29b/core/shipped.json#L25

https://github.com/nextcloud/logreader

Setting it to NEXTCLOUD_AUTOINSTALL_APPS=logreader does not work.

I see that viewer a`` is installed from bootstrap.sh, so there should be a way to install the apps we want:

https://github.com/juliusknorr/nextcloud-docker-dev/blob/165e7e39ce340f92ebd62565f09a0b46be488249/docker/bin/bootstrap.sh#L417

Instead of hardcoding that viewer app cloning, wouldn't it be better to have an ENV where the default value is viewer but allows you to add more shipped apps?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with docker/bin/bootstrap.sh around line 417, where the viewer app is cloned, and compare that flow with NEXTCLOUD_AUTOINSTALL_APPS. Check how shipped apps such as logreader are installed and enabled in the container. Done means an environment setting can retain viewer by default while allowing additional shipped apps.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.