[App Server] Google cloud platform

I tested my app which has user management on google cloud platform. Got this error when trying to sign in:

“TableError: This table cannot be written or searched by this app”

Any help is appreciated!

Hi @mesnavunawa,

Are you running the App in the Anvil Editor or using the App Server?

If you’re in the Anvil Editor, does the Users table display correctly when you open the Users Service configuration page?

If you’re using the App Server, could you send over a copy of the anvil.yaml file from your repository so I can take a look? (make sure you remove any sensitive information / API keys)

Hi @bridget. Yes it displays fine on the anvil editor. I fixed the problem. It seems that I had to include the “–automigrate” command when running the app server. I had another problem though. Will I have to manually set up the smtp server ?

Hi @mesnavunawa,

Glad you got that sorted! You can read about SMTP configuration for the App Server in the docs here:

GitHub - anvil-works/anvil-runtime: The runtime engine for hosting Anvil web apps

1 Like