Problem with instalation

Hello!
We are try to test your solution.
But can’t install server.
firstly i try to use ready to use OVA file but when i import it to vmware vsphere it show the error with MD5 sum.
After that i try to install it on debian 11 with docker using this documentation: GitHub - nextcloud/all-in-one: Nextcloud AIO stands for Nextcloud All In One and provides easy deployment and maintenance with most features included in this one Nextcloud instance..
after installation i went to 8080 port
After some steps i see what services:

  • Apache
  • nextcloud
  • clamav
  • fulltext search
    not started, there are screen shoot: AIO

On the Logs:
Apache errors:
Waiting for Nextcloud to start…
nc: getaddrinfo for host “nextcloud-aio-nextcloud” port 9000: Name or service not known
Waiting for Nextcloud to start…
Waiting for Nextcloud to start…
Waiting for Nextcloud to start…
nextcloud errors:
waiting for clamav to become available…
waiting for clamav to become available…
waiting for clamav to become available…
Clamav error:
or clamd not found yet, retrying (35/1800) …Database test passed.
daily.cld updated (version: 26749, sigs: 2013718, f-level: 90, builder: raynman)
main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
bytecode.cvd database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2)
WARNING: Clamd was NOT notified: Can’t connect to clamd through /tmp/clamd.sock: No such file or directory

or clamd not found yet, retrying (36/1800) …
or clamd not found yet, retrying (37/1800) …
or clamd not found yet, retrying (38/1800) …
or clamd not found yet, retrying (39/1800) …
or clamd not found yet, retrying (40/1800) …
or clamd not found yet, retrying (41/1800) …
or clamd not found yet, retrying (42/1800) …
or clamd not found yet, retrying (43/1800) …

Fulltext search:
type": “server”, “timestamp”: “2022-12-14T04:28:29,918Z”, “level”: “INFO”, “component”: “o.e.g.GatewayService”, “cluster.name”: “docker-cluster”, “node.name”: “c99f2a183c80”, “message”: “recovered [3] indices into cluster_state”, “cluster.uuid”: “NkExJ_5qRcSsazSpMv6rzQ”, “node.id”: “QLFhT197R8KRCibPK7mtUg” }
{“type”: “server”, “timestamp”: “2022-12-14T04:28:30,601Z”, “level”: “ERROR”, “component”: “o.e.i.g.GeoIpDownloader”, “cluster.name”: “docker-cluster”, “node.name”: “c99f2a183c80”, “message”: “exception during geoip databases update”, “cluster.uuid”: “NkExJ_5qRcSsazSpMv6rzQ”, “node.id”: “QLFhT197R8KRCibPK7mtUg” ,
“stacktrace”: [“org.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active”,
“at org.elasticsearch.ingest.geoip.GeoIpDownloader.updateDatabases(GeoIpDownloader.java:137) ~[ingest-geoip-7.17.7.jar:7.17.7]”,
“at org.elasticsearch.ingest.geoip.GeoIpDownloader.runDownloader(GeoIpDownloader.java:284) [ingest-geoip-7.17.7.jar:7.17.7]”,
“at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:100) [ingest-geoip-7.17.7.jar:7.17.7]”,
“at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:46) [ingest-geoip-7.17.7.jar:7.17.7]”,
“at org.elasticsearch.persistent.NodePersistentTasksExecutor$1.doRun(NodePersistentTasksExecutor.java:42) [elasticsearch-7.17.7.jar:7.17.7]”,
“at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:777) [elasticsearch-7.17.7.jar:7.17.7]”,
“at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) [elasticsearch-7.17.7.jar:7.17.7]”,
“at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) [?:?]”,
“at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) [?:?]”,
“at java.lang.Thread.run(Thread.java:1589) [?:?]”] }
{“type”: “server”, “timestamp”: “2022-12-14T04:28:30,804Z”, “level”: “INFO”, “component”: “o.e.c.r.a.AllocationService”, “cluster.name”: “docker-cluster”, “node.name”: “c99f2a183c80”, “message”: “Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.geoip_databases][0]]]).”, “cluster.uuid”: “NkExJ_5qRcSsazSpMv6rzQ”, “node.id”: “QLFhT197R8KRCibPK7mtUg” }
{“type”: “server”, “timestamp”: “2022-12-14T04:28:30,835Z”, “level”: “INFO”, “component”: “o.e.i.g.DatabaseNodeService”, “cluster.name”: “docker-cluster”, “node.name”: “c99f2a183c80”, “message”: “retrieve geoip database [GeoLite2-Country.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-207938627936206560/geoip-databases/QLFhT197R8KRCibPK7mtUg/GeoLite2-Country.mmdb.tmp.gz]”, “cluster.uuid”: “NkExJ_5qRcSsazSpMv6rzQ”, “node.id”: “QLFhT197R8KRCibPK7mtUg” }
{“type”: “server”, “timestamp”: “2022-12-14T04:28:30,846Z”, “level”: “INFO”, “component”: “o.e.i.g.DatabaseNodeService”, “cluster.name”: “docker-cluster”, “node.name”: “c99f2a183c80”, “message”: “retrieve geoip database [GeoLite2-City.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-207938627936206560/geoip-databases/QLFhT197R8KRCibPK7mtUg/GeoLite2-City.mmdb.tmp.gz]”, “cluster.uuid”: “NkExJ_5qRcSsazSpMv6rzQ”, “node.id”: “QLFhT197R8KRCibPK7mtUg” }
{“type”: “server”, “timestamp”: “2022-12-14T04:28:30,847Z”, “level”: “INFO”, “component”: “o.e.i.g.DatabaseNodeService”, “cluster.name”: “docker-cluster”, “node.name”: “c99f2a183c80”, “message”: “retrieve geoip database [GeoLite2-ASN.mmdb] from [.geoip_databases] to [/tmp/elasticsearch-207938627936206560/geoip-databases/QLFhT197R8KRCibPK7mtUg/GeoLite2-ASN.mmdb.tmp.gz]”, “cluster.uuid”: “NkExJ_5qRcSsazSpMv6rzQ”, “node.id”: “QLFhT197R8KRCibPK7mtUg” }
{“type”: “server”, “timestamp”: “2022-12-14T04:28:31,703Z”, “level”: “INFO”, “component”: “o.e.i.g.DatabaseNodeService”, “cluster.name”: “docker-cluster”, “node.name”: “c99f2a183c80”, “message”: “successfully reloaded changed geoip database file [/tmp/elasticsearch-207938627936206560/geoip-databases/QLFhT197R8KRCibPK7mtUg/GeoLite2-Country.mmdb]”, “cluster.uuid”: “NkExJ_5qRcSsazSpMv6rzQ”, “node.id”: “QLFhT197R8KRCibPK7mtUg” }
{“type”: “server”, “timestamp”: “2022-12-14T04:28:32,088Z”, “level”: “INFO”, “component”: “o.e.i.g.DatabaseNodeService”, “cluster.name”: “docker-cluster”, “node.name”: “c99f2a183c80”, “message”: “successfully reloaded changed geoip database file [/tmp/elasticsearch-207938627936206560/geoip-databases/QLFhT197R8KRCibPK7mtUg/GeoLite2-ASN.mmdb]”, “cluster.uuid”: “NkExJ_5qRcSsazSpMv6rzQ”, “node.id”: “QLFhT197R8KRCibPK7mtUg” }
{“type”: “server”, “timestamp”: “2022-12-14T04:28:33,534Z”, “level”: “INFO”, “component”: “o.e.i.g.DatabaseNodeService”, “cluster.name”: “docker-cluster”, “node.name”: “c99f2a183c80”, “message”: “successfully reloaded changed geoip database file [/tmp/elasticsearch-207938627936206560/geoip-databases/QLFhT197R8KRCibPK7mtUg/GeoLite2-City.mmdb]”, “cluster.uuid”: “NkExJ_5qRcSsazSpMv6rzQ”, “node.id”: “QLFhT197R8KRCibPK7mtUg” }

How to solve this problem ?
Thank you

Can you give details on the exact steps you did setting up AIO?

1 Like

hello! i done all how is written in documentation:

curl -fsSL get.docker.com | sh
docker run \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 80:80 \
--publish 8080:8080 \
--publish 8443:8443 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
nextcloud/all-in-one:latest

after that i went to the host on port:8080

After instalation i got this messages:
writing new private key to ‘./ssl.key’

Initial startup of Nextcloud All In One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080

If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443
{“level”:“info”,“ts”:1670982602.1635418,“msg”:“using provided configuration”,“config_file”:“/Caddyfile”,“config_adapter”:“”}
{“level”:“warn”,“ts”:1670982602.166775,“msg”:“Caddyfile input is not formatted; run the ‘caddy fmt’ command to fix inconsistencies”,“adapter”:“caddyfile”,“file”:“/Caddyfile”,“line”:2}
{“level”:“info”,“ts”:1670982602.1688223,“logger”:“admin”,“msg”:“admin endpoint started”,“address”:“localhost:2019”,“enforce_origin”:false,“origins”:[“//localhost:2019”,“//[::1]:2019”,“//127.0.0.1:2019”]}
{“level”:“warn”,“ts”:1670982602.169909,“logger”:“http”,“msg”:“server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server”,“server_name”:“srv0”,“http_port”:80}

That looks good. Can you post the hardware specifications of the PC here where you’ve installed AIO on?

Hi! it’s a hradware specification: vSphere - Nextcloud - Summary

Thanks! It looks like you don’t have enough RAM for all options. I would recommend to disable ClamAV and Fulltextsearch again which should make it work.

2 Likes

Many thanks for your response I added memory and cpu to the server till 6 core and 10 GB momery now all services is loaded

1 Like