Closed anolting closed 1 month ago
Hello,
Context Chat PHP Version <<unknown, version bundled in container>>
you need to install this app: https://apps.nextcloud.com/apps/context_chat
No such image: ghcr.io/nextcloud/context_chat_backend:2.0.1
Can you post the output to: docker images | grep context_chat_backend
?
If it's not present, it may be a cache issue or a network issue. Can you try pulling the image manually?
docker pull ghcr.io/nextcloud/context_chat_backend:2.0.1
Then try to install it again from the External Apps page.
HI context chat app is installed using NC Apps page. For you information this is a dockerized AIO installation. Which container is it that wants to download the context chat backend? In our setup none of the containers is allowed to get access and initiate a route to the internet -except the ones who need to be routed. I will try to pull the container at the host and see if it is found by the installer on External Apps page. Best Alex
Which container is it that wants to download the context chat backend?
The main nextcloud container. Precisely the app_api
app.
In our setup none of the containers is allowed to get access and initiate a route to the internet -except the ones who need to be routed.
This might be the issue.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Hello @kyteinsky I've setup the installation using another VM again. On this installation I'm able to disable the firewall and noticing the same issue. I will update this issue later with more details about the setup, running containers and error messages, Best Alex
Hello @kyteinsky as promised here my running containers. The nextcloud/aio-docker-socket-proxy has been successfully installed by installing the context_chat application.
IMAGE STATUS PORTS NAMES nextcloud/aio-apache:latest Up 6 minutes (healthy) 80/tcp, 0.0.0.0:11000->11000/tcp, :::11000->11000/tcp nextcloud-aio-apache nextcloud/aio-notify-push:latest Up 6 minutes (healthy) nextcloud-aio-notify-push nextcloud/aio-nextcloud:latest Up 6 minutes (healthy) 9000/tcp nextcloud-aio-nextcloud nextcloud/aio-docker-socket-proxy:latest Up 7 minutes (healthy) nextcloud-aio-docker-socket-proxy nextcloud/aio-imaginary:latest Up 7 minutes (healthy) nextcloud-aio-imaginary nextcloud/aio-fulltextsearch:latest Up 7 minutes (healthy) 9200/tcp, 9300/tcp nextcloud-aio-fulltextsearch nextcloud/aio-clamav:latest Up 8 minutes (healthy) 3310/tcp, 7357/tcp nextcloud-aio-clamav nextcloud/aio-redis:latest Up 8 minutes (healthy) 6379/tcp nextcloud-aio-redis nextcloud/aio-postgresql:latest Up 8 minutes (healthy) 5432/tcp nextcloud-aio-database nextcloud/aio-talk:latest Up 8 minutes (healthy) 0.0.0.0:3478->3478/tcp, 0.0.0.0:3478->3478/udp, :::3478->3478/tcp, :::3478->3478/udp nextcloud-aio-talk nextcloud/aio-collabora:latest Up 9 minutes (healthy) 9980/tcp nextcloud-aio-collabora nextcloud-aio-collabora
But when it comes to install the context_chat_backend from external apps, the installation fails with this messages:
`
Warnung | context_chat | RuntimeException Error during request to ExApp (context_chat_backend): Server error: PUT http://context_chat_backend:23000/loadSources resulted in a 503 Service Unavailable response: {"error":"Context Chat is disabled, enable it from AppAPI to use it."} Temporary problem with indexing, trying again soon |
---|
Fehler | context_chat | Error during request to ExApp (context_chat_backend): Server error: PUT http://context_chat_backend:23000/loadSources resulted in a 503 Service Unavailable response: {"error":"Context Chat is disabled, enable it from AppAPI to use it."} |
---|
Fehler | app_api | ServerException Server error: PUT http://context_chat_backend:23000/loadSources resulted in a 503 Service Unavailable response: {"error":"Context Chat is disabled, enable it from AppAPI to use it."} Error during request to ExApp context_chat_backend: Server error: PUT http://context_chat_backend:23000/loadSources resulted in a 503 Service Unavailable response: {"error":"Context Chat is disabled, enable it from AppAPI to use it."} |
---|
`
This bold http endpoint seem not to be created compared to the endpoint of app_api whose were created automatically by the installer of app_api itself.
As I don't know if the marked (bold) http endpoint should be there already or not this information may help you to get an idea whats going wrong here. Best Alex
Hello, thanks for updating the issue with new info. I am not sure about the error from the server logs alone though, it seems something went wrong in the context_chat_backend's container that prevented it from being enabled and available to use. If this is the same issue as before, the backend may have failed to download the model files download.nextcloud.com due to network restrictions. The exact issue can be found only after looking at the logs from the backend's docker container.
Hi @kyteinsky I will update the issue. Best Alex
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Describe the bug I tried to installed the context-chat-backend from External Apps - Office and Text section. During the installation process the Nextcloud interface throws popup messages that there are eexceptions occured during the intall process.
To Reproduce Steps to reproduce the behavior:
POST http://nextcloud-aio-docker-socket-proxy:2375/v1.41/containers/create?name=nc_app_context_chat_backend
resulted in a404 Not Found
response:\n{\"message\":\"No such image: ghcr.io/nextcloud/context_chat_backend:2.0.1\"Expected behavior Backend installation should be finish without any exception and allow usage afterwards.
Server logs (if applicable)
Setup Details (please complete the following information):
Additional context There is the local firewall up and running and managed using ufw. Communication is blocked execpt for traefik proxy and some service ports. For Docker, Containers and local services addtionally protection by using crowdsec has been added.