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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...