nextcloud / nextcloud/HaRP

Multitenancy - Same ExApp Runtime environment for several Nextcloud instances

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

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
54
Forks
10
Avg merge
40m
Merged PRs (30d)
3

Description

Hello,

For resources efficient consumption and simplified operations it would be desirable to have an ExApp runtime environment that can be used for more than one Nextcloud instances. Mainly thinking here about AI ExApps where the CPU, GPU and memory needs can be quite high.

So I did several attempts to make it work, and of course there are many aspects to discuss / take into account but the question is whether from a software point of view if this is supported? This is what happens also for example Talk HPB and Recording Server.

So I'd like to have instance1.cloud.example and instance2.cloud.example using the same, say, translate2 docker container. With some port tweaking and assigning each HaRP a different bind address, I'm able to test the HaRP connection successfully in both instances, but inference fails on the second instance.

I can provide more details if needed. Thanks!

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

No files or tests are named. Start by reproducing the two-Nextcloud-instance setup with one translate2 Docker container and separate HaRP bind addresses, then trace why inference fails for the second instance. Done means establishing whether shared ExApp runtimes are supported and defining the required behavior or implementation scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
backend, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.