Şafak
Is there a problem,
docker compose exec appwrite ssl
My server cannot generate an SSL certificate. The logs are below. I tried zero installation, same again. What could be the cause?
LOGS:
TypeScript
Worker certificates started
[Job] Received Job (66d300cabe0868.40864478).
Cannot renew domain (www.domain.name) on attempt no. 2 certificate: Failed to rename certificate cert.pem. Let's Encrypt log: Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Performing the following challenges:
http-01 challenge for www.domain.name
Using the webroot path /storage/certificates for all unmatched domains.
Waiting for verification...
Cleaning up challenges
; Account registered.
Simulating a certificate request for www.domain.name
The dry run was successful.
[Job] (66d300cabe0868.40864478) failed to run.
[Job] (66d300cabe0868.40864478) Failed to rename certificate cert.pem. Let's Encrypt log: Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Performing the following challenges:
http-01 challenge for www.domain.name
Using the webroot path /storage/certificates for all unmatched domains.
Waiting for verification...
Cleaning up challenges
; Account registered.
Simulating a certificate request for www.domain.name
The dry run was successful.
[Error] Type: Exception
[Error] Message: Failed to rename certificate cert.pem. Let's Encrypt log: Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Performing the following challenges:
http-01 challenge for www.domain.name
Using the webroot path /storage/certificates for all unmatched domains.
Waiting for verification...
Cleaning up challenges
; Account registered.
Simulating a certificate request for www.domain.name
The dry run was successful.
[Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Certificates.php
[Error] Line: 397
TL;DR
Developer having trouble creating SSL certificate for their server. Attempted using docker compose with no success. Logs show failed attempts to renew domain certificate due to error renaming cert.pem. The issue seems related to Let's Encrypt plugin.
Solution: Check Let's Encrypt log for detailed error info, ensure proper permissions for certificate generation, and retry SSL creation process with careful attention to domain configuration. Recommended threads
- Can send phone authentication requests f...
I am running phone authentication on my website and when I try to Send OTP it is going fine when I do it on any browser on PC but when I do it on phone it's giv...
- Docker appwrite not working with domain ...
docker ps -a attached [root@vps1 appwrite]# docker logs appwrite-traefik time="2024-09-16T15:53:21Z" level=info msg="Configuration loaded from flags."
- Can't access files in bucket
Unable to access the files in the bucket even if the proper permissions are set for the user. Only when I set the permissions open for 'Any', the web app can ac...