Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EROR] [keep/edge/pkg/edgetwin/sqlite/sqlite.go:154 ] no such table: logedgeagent #1

Open
EthanAlban opened this issue Dec 11, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@EthanAlban
Copy link
Member

EthanAlban commented Dec 11, 2021

image
在非开发的机器上运行之后 ctrl+c 产生该问题
应该是没有先生成数据库文件

@EthanAlban EthanAlban assigned EthanAlban and Toskies and unassigned EthanAlban Dec 11, 2021
@EthanAlban EthanAlban changed the title 非开发机器运行edgeagent未发现表 [EROR] [keep/edge/pkg/edgetwin/sqlite/sqlite.go:154 ] no such table: logedgeagent Dec 11, 2021
@EthanAlban EthanAlban pinned this issue Dec 11, 2021
@EthanAlban EthanAlban unpinned this issue Dec 11, 2021
@EthanAlban EthanAlban added the bug Something isn't working label Dec 13, 2021
@Toskies
Copy link
Contributor

Toskies commented Dec 13, 2021

conn.Exec("CREATE TABLE IF NOT EXISTS logedgeagent(time TEXT ,content TEXT)")
已解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants