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

[BUG] 升级到0.8.8版本docker部署报错 #27

Closed
yalidabuda opened this issue Sep 3, 2024 · 4 comments
Closed

[BUG] 升级到0.8.8版本docker部署报错 #27

yalidabuda opened this issue Sep 3, 2024 · 4 comments

Comments

@yalidabuda
Copy link

Environments

  • Version: 0.8.8
  • OS: docker
  • Device & Browser:

The Current Behavior

升级到0.8.8版本docker部署报错如下:

cannot find .env, skip

2024/09/03 00:58:34 /src/repo/repo.go:92 record not found
[1.196ms] [rows:0] SELECT * FROM feeds WHERE id = 1 AND feeds.deleted_at = 0 ORDER BY feeds.id LIMIT 1
panic: record not found

goroutine 1 [running]:
github.com/0x2e/fusion/repo.tableExist({0xc819e0, 0xc0001646c0})
/src/repo/repo.go:97 +0x107
github.com/0x2e/fusion/repo.migrage.func1(0xc0002cc2d0)
/src/repo/repo.go:37 +0x45
gorm.io/gorm.(*DB).Transaction(0xc0002cc0f0, 0xe94160, {0x0?, 0x0?, 0x0?})
/go/pkg/mod/gorm.io/[email protected]/finisher_api.go:651 +0x262
github.com/0x2e/fusion/repo.migrage()
/src/repo/repo.go:35 +0x2c
github.com/0x2e/fusion/repo.Init()
/src/repo/repo.go:27 +0xff
main.main()

Repository owner deleted a comment Sep 3, 2024
@0x2E
Copy link
Owner

0x2E commented Sep 3, 2024

Will fix it soon.

0x2E added a commit that referenced this issue Sep 3, 2024
@0x2E
Copy link
Owner

0x2E commented Sep 3, 2024

Hi. v0.8.9 fixed it.

@yalidabuda
Copy link
Author

Hi. v0.8.9 fixed it.

好的,v0.8.9确实可以正常使用了😁

@0x2E
Copy link
Owner

0x2E commented Sep 3, 2024

Thanks for the feedback!

@0x2E 0x2E closed this as completed Sep 3, 2024
@github-staff github-staff deleted a comment from 0x2E Sep 4, 2024
@github-staff github-staff deleted a comment from yalidabuda Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants