Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unhealthy container upon repeated attempts to create proxy #23

@corsairius

Description

@corsairius

Numerous attempts to set up External Apps. It keeps failing after Registration of the ExApp Docker Socket Proxy.

REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/cloud-py-api/test-deploy-cuda release de9e2833403e 10 days ago 8.3GB
ghcr.io/cloud-py-api/test-deploy-cpu release 1e7a4086903a 10 days ago 1.33GB
ghcr.io/cloud-py-api/nextcloud-appapi-dsp release b18e1d6b9640 2 weeks ago 74.3MB
ghcr.io/nextcloud/llm2 1.1.0 295cf9be1b09 6 weeks ago 14GB

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b054776bce8b ghcr.io/cloud-py-api/test-deploy-cpu:release "python3 main.py" 8 minutes ago Up 8 minutes (healthy) nc_app_test-deploy
75cf509b3043 ghcr.io/cloud-py-api/nextcloud-appapi-dsp:release "/bin/bash start.sh" 17 hours ago Up 17 hours (unhealthy) nextcloud-appapi-dsp

Any ideas on how to correct an unhealthy container status?

docker run -e NC_HAPROXY_PASSWORD="somePass"
-v /var/run/docker.sock:/var/run/docker.sock
--name docker_socket_proxy -h docker_socket_proxy
--restart unless-stopped --privileged -d ghcr.io/cloud-py-api/nextcloud-appapi-dsp:release

Nextcloud Hub 7 (28.0.5) ----------------------------

Computer: ----------------------------
Operating System: Linux 5.15.0-105-generic x86_64
CPU: Intel(R) Xeon(R) CPU E5649 @ 2.53GHz (24 cores)
Memory: 125.78 GB
Server time: Tue May 7 10:10:20 CDT 2024

Docker ----------------------------
docker0
Status: up

Database ----------------------------
Type: pgsql
Version: PostgreSQL 16.2 (Ubuntu 16.2-1.pgdg20.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, 64-bit
Size: 2.1 GB

PHP ----------------------------
Version: 8.1.28
Memory limit: 10 GB
Max execution time: 10000
Upload max size: 20 GB
OPcache Revalidate Frequency: 60
Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, cgi-fcgi, bz2, intl, pdlib, mysqlnd, PDO, xml, apcu, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, exif, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache

I was hopeful that it was a healthy container issue in this error message:

cURL error 6: Could not resolve host: nextcloud-appapi-dsp (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-appapi-dsp:2375/v1.41/_ping

My Nextcloud instance is solely https, however. So perhaps opening http back up may help?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions