After successfully installing Answer, enter the 50x page
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
Platform
- Device: Desktop
- OS: macOS
- Browser and version: Chrome
- Version: 1.3.1
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.
Use the ./answer init -C ./data/ && ./answer run -C ./data/ command can avoid this issue.
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