[GH-ISSUE #80] Account and bookmark disappearance #52

Closed
opened 2026-02-25 23:33:21 +03:00 by kerem · 3 comments
Owner

Originally created by @dxwc on GitHub (Mar 17, 2018).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/80

I was trying out the released binary yesterday, it seems to have been working fine. After restarting the computer today, the account to login to the shiori serve is gone. All but one bookmark I created yesterday is gone as well.

shiori print seems to be working a bit unpredictably as well, one time it prints this :

panic: unable to open database file

goroutine 1 [running]:
github.com/jmoiron/sqlx.MustConnect(0x9fcc1e, 0x7, 0x9fedc6, 0x9, 0xc4201ddf28)
	/home/radhi/GoProjects/src/github.com/jmoiron/sqlx/sqlx.go:640 +0x83
github.com/RadhiFadlillah/shiori/database.OpenSQLiteDatabase(0x0, 0x0, 0x0)
	/home/radhi/GoProjects/src/github.com/RadhiFadlillah/shiori/database/sqlite.go:24 +0x82
main.main()
	/home/radhi/GoProjects/src/github.com/RadhiFadlillah/shiori/main.go:11 +0x26

Other time, it's working fine (but still prints one of the bookmarks instead of all that I created yesterday).

/home/radhi/GoProjects/src/github.com/jmoiron/sqlx/sqlx.go isn't any matching directory in my computer. Maybe some debugging settings made into the release ?


  • Gnome: 3.26.2
  • Solus: 3.99
  • To run, I placed the binary in /usr/local/bin/ and did a sudo chmod +x shiori
Originally created by @dxwc on GitHub (Mar 17, 2018). Original GitHub issue: https://github.com/go-shiori/shiori/issues/80 I was trying out the [released binary](https://github.com/RadhiFadlillah/shiori/releases/download/v1.0/shiori) yesterday, it seems to have been working fine. After restarting the computer today, the account to login to the `shiori serve` is gone. All but one bookmark I created yesterday is gone as well. `shiori print` seems to be working a bit unpredictably as well, one time it prints this : ``` panic: unable to open database file goroutine 1 [running]: github.com/jmoiron/sqlx.MustConnect(0x9fcc1e, 0x7, 0x9fedc6, 0x9, 0xc4201ddf28) /home/radhi/GoProjects/src/github.com/jmoiron/sqlx/sqlx.go:640 +0x83 github.com/RadhiFadlillah/shiori/database.OpenSQLiteDatabase(0x0, 0x0, 0x0) /home/radhi/GoProjects/src/github.com/RadhiFadlillah/shiori/database/sqlite.go:24 +0x82 main.main() /home/radhi/GoProjects/src/github.com/RadhiFadlillah/shiori/main.go:11 +0x26 ``` Other time, it's working fine (but still prints one of the bookmarks instead of all that I created yesterday). `/home/radhi/GoProjects/src/github.com/jmoiron/sqlx/sqlx.go` isn't any matching directory in my computer. Maybe some debugging settings made into the release ? ----- + Gnome: 3.26.2 + Solus: 3.99 + To run, I placed the binary in `/usr/local/bin/` and did a `sudo chmod +x shiori`
kerem closed this issue 2026-02-25 23:33:21 +03:00
Author
Owner

@sascha-andres commented on GitHub (Apr 4, 2018):

@dxwc /home/radhi/GoProjects/src/github.com/jmoiron/sqlx/sqlx.go is the place where the SQL drivers were installed at compile time. They do not have to be located there when running

<!-- gh-comment-id:378493141 --> @sascha-andres commented on GitHub (Apr 4, 2018): @dxwc `/home/radhi/GoProjects/src/github.com/jmoiron/sqlx/sqlx.go` is the place where the SQL drivers were installed at compile time. They do not have to be located there when running
Author
Owner

@RadhiFadlillah commented on GitHub (May 29, 2018):

@dxwc sorry for late reply. Could you try to update to latest version ? It should be fixed by now.

<!-- gh-comment-id:392647613 --> @RadhiFadlillah commented on GitHub (May 29, 2018): @dxwc sorry for late reply. Could you try to update to latest version ? It should be fixed by now.
Author
Owner

@dxwc commented on GitHub (Jun 1, 2018):

@RadhiFadlillah I have been using it for last two days. No such problems so far. Thanks

<!-- gh-comment-id:394014387 --> @dxwc commented on GitHub (Jun 1, 2018): @RadhiFadlillah I have been using it for last two days. No such problems so far. Thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#52
No description provided.