I installed docker and had it running. I ran the appwrite install commands from the official appwrite website. I got this error towards the end of the process.
Failed to save Docker Compose file
Did you run the command as super user or with su?
I ran the command in powershell as admin
Interesting. Can you try to run the command again in different folder?
I can also see the image in docker but they are so many vulnerabilities.
ok
same error on a different PowerShell folder.
Warning: file_put_contents(/usr/src/code/appwrite/docker-compose.yml.1679626762.backup): Failed to open stream: Permission denied in /usr/src/code/app/tasks/install.php on line 72
Env file found, creating backup: .env.1679626762.backup
Warning: file_put_contents(/usr/src/code/appwrite/.env.1679626762.backup): Failed to open stream: Permission denied in /usr/src/code/app/tasks/install.php on line 110
Choose your server HTTP port: (default: c)
Choose your server HTTPS port: (default: 443)
Choose a secret API key, make sure to make a backup of your key in a secure location (default: 'your-secret-key')
Enter your Appwrite hostname (default: 'localhost')
Enter a DNS A record hostname to serve as a CNAME for your custom domains.
You can use the same value as used for the Appwrite hostname. (default: 'localhost')
Warning: file_put_contents(/usr/src/code/appwrite/docker-compose.yml): Failed to open stream: Permission denied in /usr/src/code/app/tasks/install.php on line 203
Failed to save Docker Compose file
PS C:\WINDOWS\system32>
I think it because you running it on your system32 folder
Try to cd to a neutral location. For example to your user account folder In c:\users\ user
ok
Lmk
I successfully installed using docker as user. I had issues with port. ended up using gitpod. Thanks
[SOLVED] Failed to save Docker Compose file
Recommended threads
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- My organization's project is blocked
My organization's project is blocked so unblocked my organization then I will this
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...