Skip to content

[bug] hsts-storage.sqlite on thr wrong folder #13508

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

Open
XurxoMF opened this issue May 25, 2025 · 0 comments
Open

[bug] hsts-storage.sqlite on thr wrong folder #13508

XurxoMF opened this issue May 25, 2025 · 0 comments
Assignees
Labels
platform: Linux status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@XurxoMF
Copy link

XurxoMF commented May 25, 2025

Describe the bug

The issue is simple. All the app data does on the "identifier" folder inside the appData folder. For example at .local/share/com.myapp.app/* on Linux.

I don't know why but there's a file, hsts-storage.sqlite, that's created inside the wrong folder. This one is created on .local/share/myapp/*.

I don't know where it's getting the folder name from as I've change the productName from the tauri.conf.json and folder name remains the same but there it is.

Reproduction

https://github.com/XurxoMF/rustory
Clone that repo and run npm run tauri dev.
If the issue is because of a Tauri related issue the file should show up instantly.

Expected behavior

That file, if needed, should be created on the $APPDATA/{identifier}/* folder not on the $APPDATA/{whatever}/* folder.

Full tauri info output

This command doesn't work. I'm not sure why. If I do cargo tauri info or npm run tauri info it'll load forever and show no output...

If I get it working I'm post the info. I ran it when I installed Tauri and it worked...

After running npm run tauri dev I've to restart the computer to use the tauri info command... idk, don't ask me, I'm lost too xD

[✔] Environment
    - OS: Linux Mint 22.1.0 x86_64 (X64) (cinnamon on x11)
    ✔ webkit2gtk-4.1: 2.48.1
    ✔ rsvg2: 2.58.0
    ✔ rustc: 1.87.0 (17067e9ac 2025-05-09)
    ✔ cargo: 1.87.0 (99624be96 2025-05-06)
    ✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
    - node: 20.18.0
    - npm: 11.4.1
    - bun: 1.2.4

[-] Packages
    - tauri 🦀: 2.5.1
    - tauri-build 🦀: 2.2.0
    - wry 🦀: 0.51.2
    - tao 🦀: 0.33.0
    - tauri-cli 🦀: 2.5.0
    - @tauri-apps/api : 2.5.0
    - @tauri-apps/cli : 2.5.0

[-] Plugins
    - tauri-plugin-single-instance 🦀: 2.2.4
    - @tauri-apps/plugin-single-instance : not installed!
    - tauri-plugin-opener 🦀: 2.2.7
    - @tauri-apps/plugin-opener : 2.2.7
    - tauri-plugin-log 🦀: 2.4.0
    - @tauri-apps/plugin-log : 2.4.0
    - tauri-plugin-updater 🦀: 2.7.1
    - @tauri-apps/plugin-updater : 2.7.1
    - tauri-plugin-notification 🦀: 2.2.2
    - @tauri-apps/plugin-notification : 2.2.2
    - tauri-plugin-window-state 🦀: 2.2.2
    - @tauri-apps/plugin-window-state : 2.2.2

[-] App
    - build-type: bundle
    - CSP: img-src 'self' asset: http://asset.localhost
    - frontendDist: ../build
    - devUrl: http://localhost:1420/
    - framework: Svelte
    - bundler: Vite

Stack trace


Additional context

I think I changed nothing to mess something. I just installed Tauri, installed a few plugins and that's it.

@XurxoMF XurxoMF added type: bug status: needs triage This issue needs to triage, applied to new issues labels May 25, 2025
@FabianLars FabianLars self-assigned this May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: Linux status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants