What I’m trying to do:
I installed a new Ubuntu server 20.04.2 LTS. I followed the steps described in https://github.com/anvil-works/anvil-runtime/blob/master/doc/getting-started.md
when I tried to run anvil-app-server --app MyApp I got:
Failed to start built-in Postgres database: java.io.FileNotFoundException: /home/tulkas/.anvil-data/postgres-embedding.log (Permission denied)
More logs are available in .anvil-data/postgres.log.
Some common causes of this problem:
- Are you launching this server as ‘root’ on a UNIX system?
Postgres will not run as root; try launching the server as an ordinary user. - Are you running this server on an unusual architecture or OS? (Linux/amd64)
I am using the user I add when installed Ubuntu, so I see is not root. Looking to solve this problem in other posts its said you can’t use root as the user to start anvil-app-server because postgres don’t start.
The hardware where is installed ubuntu:
Intel® Celeron® CPU J1900
8Gb Ram
What could be happening?