After deploy, I can't access and run localhost strapi

Hello @nicooh,

For the app keys error, check the following:

  1. config/server.js file to see if there is the following code inside the file:
// previous code
app: {
    keys: env.array('APP_KEYS'),
  },
// more code
  1. And the .env file should contain the app keys. You can create a few random keys (this is probably missing)

APP_KEYS=abcdefghijklmn==,abcdefghijklmn==

If you do not have a .env, use the .env.example to see how to create one.

As for the migration of data from sqlite to postgresql, you have to use some tool/plugin.