tauri-apps / tauri-apps/plugins-workspace
Tauri SQL plugin not working on Debian/Ubuntu/Linux in production
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 602
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 9
Description
Hi, I have a project I am working on which requires tauri-plugin-sql, it works perfectly fine on Windows and Mac, but when I do a production build for Ubuntu, it doesn't want to work work.
It create an empty database file (around 4kb) but wont create any tables, it just just stuck and hangs on ```await db.execute(sqlCommand)```. I have a try/catch around it, but it never gets caught, it just hangs.
What is strange though, if I run it in dev mode ```npm run tauri dev``` it works fine, but if I build it, it hangs ```npm run tauri build -- --debug```.
Keep in mind this works perfectly find for production for both Windows and Mac in both dev and production builds.
```
[dependencies.tauri-plugin-sql]
git = "https://github.com/tauri-apps/plugins-workspace"
branch = "v1"
features = ["sqlite"]
```
_Testing on Ubuntu 23.04_
I am not sure how I can further debug what is going on. Is this a known issue?
Contributor guide
Assessment
This issue has not been assessed yet.