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

After successfully installing Answer, enter the 50x page

Open robinv8 opened this issue 1 year ago • 1 comments

Describe the bug

After successfully installing Answer, enter the 50x page.

To Reproduce

Command line input

 go run cmd/answer/main.go init -C ./answer-data

Go to step 5 and click Done.

Expected behavior

After the installation is complete, go directly to the home page.

Screenshots

MOV to GIF conversion (1)

Platform

  • Device: Desktop
  • OS: macOS
  • Browser and version: Chrome
  • Version: 1.3.1

robinv8 avatar Jun 21 '24 07:06 robinv8

Add a log

[config-file] try to create at  cmd/answer/answer-data/conf/config.yaml
[config-file] create directory success, config file is cmd/answer/answer-data/conf/config.yaml
[config-file] install success
check table not exist

The process has exited.

sy-records avatar Jun 21 '24 09:06 sy-records

Use the ./answer init -C ./data/ && ./answer run -C ./data/ command can avoid this issue.

LinkinStars avatar Jul 25 '24 06:07 LinkinStars

Use the ./answer init -C ./data/ && ./answer run -C ./data/ command can avoid this issue.

` RUN echo '#!/bin/bash' > /entrypoint.sh &&
echo '/usr/bin/answer init -C ./data/ && /usr/bin/answer run -C ./data/ &' >> /entrypoint.sh &&
echo 'tail -f /dev/null' >> /entrypoint.sh &&
chmod +x /entrypoint.sh

VOLUME /data EXPOSE 80 ENTRYPOINT ["/entrypoint.sh"] ` I tried this command still exists the same as 50x, I found that this problem occurs when using mysql, sqlite3 doesn't

overdev-l avatar Sep 03 '24 10:09 overdev-l