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
- after using the coding agents its code b...
can anybody suggest me an ai tool that i can use to create the system desgins without the suggestion things because it at last create a mess
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support π I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...