Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Deploy - ExApp failed to register #446

Open
AndreaFiocchi opened this issue Nov 13, 2024 · 0 comments
Open

Test Deploy - ExApp failed to register #446

AndreaFiocchi opened this issue Nov 13, 2024 · 0 comments

Comments

@AndreaFiocchi
Copy link

AndreaFiocchi commented Nov 13, 2024

Describe the bug

I'm running on-premise Nextcloud 30.0.2 instance on Ubuntu/Apache2

I've deployed the hardened docker daemon according to instructions. When i hit "Verify Connection" everything runs fine.
www-data is in the docker group, the container is started with --privileged

The "Test Deploy" fails with: ExApp failed to register, check the NC logs

Here part of the nextcloud.log file, i have plenty of POST request and two DELETE, all failing due to ExApp "test-deploy" not found

{"reqId":"tZcr9KqUT1bJwGOt3ou5","level":0,"time":"2024-11-13T15:20:05+00:00","remoteAddr":"xx.xx.105.95","user":"andreafiocchi","app":"app_api","method":"POST","url":"/apps/app_api/daemons/docker_socket_proxy/test_deploy","message":"ExApp \"test-deploy\" not found.","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","version":"30.0.2.2","data":{"app":"app_api"}}
{"reqId":"LmGOSxrODgZeyJ28A7vo","level":0,"time":"2024-11-13T15:20:05+00:00","remoteAddr":"xx.xx.105.95","user":"andreafiocchi","app":"app_api","method":"DELETE","url":"/apps/app_api/daemons/docker_socket_proxy/test_deploy","message":"ExApp \"test-deploy\" not found.","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","version":"30.0.2.2","data":{"app":"app_api"}}

Additionally, I can't find "External Apps" anywhere

ADDITIONAL INFO:
I've tried to install test-deploy and test_deploy with occ: not found.

I've then tried to install context_chat_backed and it seems to be "working"

sudo -u www-data php --define apc.enable_cli=1 /var/www/nextcloud/occ app_api:app:list -vvv
ExApps:
context_chat_backend (Context Chat Backend): 3.1.0 [disabled]

However, i get one of these every 10 attemps unstill i (successfully) removed it via occ.

{"reqId":"CCizUlL7K4q62mgpfr7L","level":2,"time":"2024-11-13T15:59:16+00:00","remoteAddr":"","user":"--","app":"app_api","method":"","url":"--","message":"Failed heartbeat on http://context_chat_backend:23000 for 10 times. Most recent status=0, error: cURL error 6: Could not resolve host: context_chat_backend (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://context_chat_backend:23000/heartbeat","userAgent":"--","version":"30.0.2.2","data":{"app":"app_api"}}

Steps/Code to Reproduce

Wish i knew.

Expected Results

Test Deploy successful, External App store available.

Actual Results

Neither of the above

Setup configuration

Nextcloud 30.0.2 Hub9
Ubuntu 23.04
Apache2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant