0
Не ошибка

CLI wbesite Import - 500 Error

TheTechnoMan 10 лет назад обновлен Eugene Pankov (Project coordinator) 10 лет назад 3
I always get an:

500 Error
Config does not exist
when trying to import a previosly exported JSON file.

Ответ

Ответ
Не ошибка
You need to use an absolute path to the file.
Ответ
Не ошибка
You need to use an absolute path to the file.
Is the generated JSON code even valid? I mean it ends with:

200 OK
}

What does the 200 OK here? If i try to import that file i will get:

Expecting , delimiter: line 64 column 1


# If i remove that 200 OK it works fine.
Status code is being output on stderr, while actual JSON code is on stdout. You can do following:

ajenti-ipc v export Website > website.json

Сервис поддержки клиентов работает на платформе UserEcho