incubator-answer icon indicating copy to clipboard operation
incubator-answer copied to clipboard

User profile error: `Table 'answer-1.user_notification_config' doesn't exist`

Open huasio opened this issue 3 years ago • 5 comments

image

用户个人中心,通知报错。

huasio avatar Aug 25 '23 03:08 huasio

@huasio I'm guessing that you may be using the new version but not executed the upgrade operation, try using the following command to upgrade first before starting.

./answer upgrade -C ./answer-data/

FYI: https://answer.dev/docs/upgrade/

LinkinStars avatar Aug 25 '23 04:08 LinkinStars

@huasio I'm guessing that you may be using the new version but not executed the upgrade operation, try using the following command to upgrade first before starting.

./answer upgrade -C ./answer-data/

FYI: https://answer.dev/docs/upgrade/

The docker compose deployment I use, do I need to use the command from the container?

huasio avatar Aug 25 '23 09:08 huasio

@huasio You can use the exec command to enter the container and execute the command.

docker exec -it answer bash
answer upgrade -f v1.1.2

LinkinStars avatar Aug 25 '23 09:08 LinkinStars

@huasio You can use the exec command to enter the container and execute the command.

docker exec -it answer bash
answer upgrade -f v1.1.2

It already works, please update the docs, as this is not mentioned in the documentation update command.

huasio avatar Aug 25 '23 09:08 huasio

@huasio Thanks for the feedback, we'll add the documentation ASAP.

LinkinStars avatar Aug 25 '23 09:08 LinkinStars