After an unsuccessfull attempt to get it working through nginx I’ve now gotten to the point where I directly access strapi via the ip adress of my server. Now I have a new error at least but nothing appears in the strapi logs, nginx doesent log anything either obviously because its turned off. Through my browser I can access strapi as usual, just the transfer doesent work.
The command I’m using is this:
yarn strapi transfer --to http://IP_ADDRESS:1337/admin --to-token
My .env file looks like this (its a test system):
NODE_ENV: "development",
HOST: "0.0.0.0",
PORT: "1337",
DATABASE_TYPE: "postgres",
DATABASE_PORT: "5432",
DATABASE_NAME: "deploy",
DATABASE_USERNAME: "deploy",
DATABASE_PASSWORD: "deploy",
APP_KEYS: "toBeModified1,toBeModified2",
API_TOKEN_SALT: "tobemodified",
TRANSFER_TOKEN_SALT: "tobemodified",
ADMIN_JWT_SECRET: "tobemodified",
JWT_SECRET: "tobemodified",
And this is the log I’m getting when trying to run the command
{
method: 'select',
options: {},
timeout: false,
cancelOnTimeout: false,
bindings: [],
__knexQueryUid: 'euYgfA9N_KXt1ZU0m63y3',
sql: 'select "t0".* from "strapi_api_token_permissions" as "t0"'
}
[2024-06-25 10:43:30.154] error: [FATAL] socket hang up
Transfer process failed.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
This topic has been created from a Discord post (1255086863228862584) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord