Back

Warning: Undefined array key 1 in /usr/src/code/vendor/utopia-php/cli/src/CLI/CLI.php on line 179

  • 1
  • Web
010
20 Jul, 2023, 09:06

admin@sup:~/appwrite$ docker compose exec appwrite ssl domain="domain.com" -v

Warning: Undefined array key 1 in /usr/src/code/vendor/utopia-php/cli/src/CLI/CLI.php on line 179 Scheduling a job to issue a TLS certificate for domain: domain.com

am having issue while updating ssl cert

TL;DR
Issue: Undefined array key 1 in /usr/src/code/vendor/utopia-php/cli/src/CLI/CLI.php on line 179. Solution: The issue seems to be with the domain provider, specifically with freenom.com. It is recommended to check if the domain is correctly set in the .env file for the DOMAIN environment variable. Additionally, ensure that the DNS records for the domain are properly configured. If using Certbot, make sure that the listed domains serve their content from the provided --webroot-path. The error message related to "Not Found" in the App.php file could indicate a different issue unrelated to the
010
20 Jul, 2023, 09:10

admin@sup:/appwrite$ docker compose logs appwrite appwrite | [Setup] - Creating database: appwrite... appwrite | [Setup] - Server database init completed... appwrite | Server started successfully (max payload is 6,291,456 bytes) appwrite | Master pid 1, manager pid 8 appwrite | 93.92.112.*** is not a publicly accessible domain. Skipping SSL certificate generation. appwrite | [Error] Timestamp: 2023-07-20T09:03:03+00:00 appwrite | [Error] Type: Utopia\Exception appwrite | [Error] Message: Not Found appwrite | [Error] File: /usr/src/code/vendor/utopia-php/framework/src/App.php appwrite | [Error] Line: 763 appwrite | [Error] Timestamp: 2023-07-20T09:03:03+00:00 appwrite | [Error] Type: Utopia\Exception appwrite | [Error] Message: Not Found appwrite | [Error] File: /usr/src/code/vendor/utopia-php/framework/src/App.php appwrite | [Error] Line: 763 appwrite | [Error] Timestamp: 2023-07-20T09:03:04+00:00 appwrite | [Error] Type: Utopia\Exception appwrite | [Error] Message: Not Found appwrite | [Error] File: /usr/src/code/vendor/utopia-php/framework/src/App.php appwrite | [Error] Line: 763 appwrite | [Error] Timestamp: 2023-07-20T09:03:04+00:00 appwrite | [Error] Type: Utopia\Exception appwrite | [Error] Message: Not Found appwrite | [Error] File: /usr/src/code/vendor/utopia-php/framework/src/App.php appwrite | [Error] Line: 763 admin@sup:/appwrite$

010
20 Jul, 2023, 11:56

{ "identifier": { "type": "dns", "value": "***.ml" }, "status": "invalid", "expires": "2023-07-27T11:50:56Z", "challenges": [ { "type": "http-01", "status": "invalid", "error": { "type": "urn:ietf:params:acme:error:dns", "detail": "DNS problem: NXDOMAIN looking up A for ***.ml - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for ***.ml - check tha> "status": 400 }, "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/247307986227/t-A8LQ", "token": "cnVsd-VE8sRDzgrGiD4ldXJbzzd_G23FknNxyE9klRk", "validated": "2023-07-20T11:50:56Z" } ] } 2023-07-20 11:50:58,062:DEBUG:acme.client:Storing nonce: 327CiuFZHY_ssDe5Qg5uANn96hgczhtqGll1Ox7leyPXaRY 2023-07-20 11:50:58,063:INFO:certbot._internal.auth_handler:Challenge failed for domain ***.ml 2023-07-20 11:50:58,063:INFO:certbot._internal.auth_handler:http-01 challenge for ***.ml 2023-07-20 11:50:58,064:DEBUG:certbot._internal.display.obj:Notifying user: Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems: Domain: ***.ml Type: dns Detail: DNS problem: NXDOMAIN looking up A for ***.ml - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for ***.ml - check that a DNS r>

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-pat>

Drake
20 Jul, 2023, 17:17

are you trying to setup the main domain for your appwrite instance? or a project domain?

010
20 Jul, 2023, 18:25

yes main domain

010
20 Jul, 2023, 18:26

i guess it's with freenom

010
20 Jul, 2023, 18:37

domain provider

Drake
20 Jul, 2023, 19:23

do you have the domain in your .env file for the DOMAIN env vars?

010
20 Jul, 2023, 19:26

i found out it's with freenom.com having issue

010
20 Jul, 2023, 19:27

when i used different domain it's worked

010
20 Jul, 2023, 19:27

thanksyou sir

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more