[FEAT] Add excimer to enable profiling

Open Beginner friendly
#544 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
docker, php
Domain
devops

Research direction

Start by locating where PHP packages are installed in the Nextcloud container image, then check how the existing image build handles PECL packages. Add the php84-pecl-excimer package and verify that the resulting image provides Excimer for Nextcloud's built-in request profiler.

Written by the indexing model from the issue text.

Description

enhancement
Is this a new feature request?
  • I have searched the existing issues
Wanted change

Excimer is required for using the built-in request profiler as described here: https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/config_sample_php_parameters.html#profiling-request

It would be great if it was installed per default in your nextcloud container image.

Reason for change

I use this image since the official nextcloud image is not usable for me on k8s.
This is because the official image uses rsync to copy the nextcloud code which doesn't work well with network storages.
The install process has improved, but my nextcloud is still slow...

I now want to use the built-in profiler to find out why, but excimer is not installed.

Proposed code change

Install the php84-pecl-excimer package to allow profiling nextcloud.

Dominant language
Dockerfile
Stars
888
Forks
139
PR merge metrics
No merged PRs in 30d

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.

More from linuxserver/docker-nextcloud

All issues in linuxserver/docker-nextcloud

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.