Giter Club home page Giter Club logo

Comments (6)

bigcat88 avatar bigcat88 commented on August 23, 2024 1

Unfortunately this type of installation is supported either with the workaround that you described, or you will have to use HTTPS and in that case HaProxy(nextcloud-appapi-dsp) will forward requests to LXD localhost and ExApp will listen to that interface(LXD localhost)

Another solution will be to create docker bridge network and make containers in it visible by DNS names from LXC container

from app_api.

bigcat88 avatar bigcat88 commented on August 23, 2024

Can you describe your setup config a little bit more? Cause it should connect to localhost by design in some situations

Are you using VPN?

from app_api.

scpcom avatar scpcom commented on August 23, 2024

Nextcloud is running inside a LXC container with with Apache on Debian 12.
Docker is running on the LXD host on Debian 12 (amd64).

from app_api.

scpcom avatar scpcom commented on August 23, 2024

OK, thanks. Sounds both like a useful solution, I will try this on a second system that is setup the same way.
On my current setup I will keep the WA until the other one is working.

from app_api.

Hyp3rSoniX avatar Hyp3rSoniX commented on August 23, 2024

Oh... well in the meantime I managed to create a huge mess on my system...

I ran:

occ app_api:app:register context_chat_backend manual_install --json-info \
"{\"appid\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"docker_install\",\"version\":\"2.0.1\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system_app\":0}" \
--force-scopes --wait-finish

In my wisdom... I though it would help to rename manual_install to docker_install.

And now I can't unregister it anymore... Even deleting App Api and reinstalling it doesn't help.

I'm currently at work, so I can't access the system to show the stacktrace, but on the top of your head... is there anything I can do to at least fix the registered value docker_install so I can unregister it again?

from app_api.

bigcat88 avatar bigcat88 commented on August 23, 2024

no, worry.
you can always just manually remove containers and clean oc_ex_apps/oc_ex_apps_daemons table(after cleaning tables reset Redis cache if you have one)

or you can use occ app_api:app:unregister "appid" --force

from app_api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.