marius-wieschollek / passwords-webextension

The official browser extension for the Passwords app for Nextcloud.
GNU General Public License v3.0
103 stars 31 forks source link

[BUG]: Could not open database error #278

Open Maddiehn22 opened 5 months ago

Maddiehn22 commented 5 months ago

⚠️ This issue respects the following points: ⚠️

Server Information

No acces to cli

Client Information

Browser and Version:115.7.0 est Client OS and Version: WIN7 Extension Version: 2.6 & 2.5

Bug description

Extension reports : Could not open database

Steps to reproduce

Open a password protected website No password and usser will be inserted

Expected behavior

No automatic password insert works No search works

Extension Logs

Error log from FF extension:
{"details":{"data":{"event":{"isTrusted":true}},"message":"Could not open database","file":"moz-extension://17469bde-5a99-4bef-8b77-246e6b54f101/js/background.js","line":2,"stack":"7588/load/e.onerror@moz-extension://17469bde-5a99-4bef-8b77-246e6b54f101/js/background.js:2:827708\n","time":1706807661652},"error":{"name":"Error","stack":["7588/load/e.onerror@moz-extension://17469bde-5a99-4bef-8b77-246e6b54f101/js/background.js:2:827708",""],"string":"Error: Could not open database","fileName":"moz-extension://17469bde-5a99-4bef-8b77-246e6b54f101/js/background.js","lineNumber":2,"columnNumber":827708,"message":"Could not open database"}}

GET /index.php/apps/dashboard/
from 80.128.242.138 by admin at 2024-02-02T09:43:40+00:00
{"reqId":"RNEi5DhMfMXcVYkttbTk","level":3,"time":"2024-02-02T09:22:10+00:00","remoteAddr":"80.128.242.138","user":"User","app":"no app in context","method":"GET","url":"/index.php/apps/dashboard/","message":"Dashboard widget passwords-widget took 2.9 seconds to load.","userAgent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"26.0.10.1","data":[],"id":"65bcb97cbae54"}
Maddiehn22 commented 5 months ago

apache_access.log nextcloud.log

marius-wieschollek commented 5 months ago

What browser is this? Are you using any specific settings that could impact the extensions ability to use the IndexedDB browser functionality?

Maddiehn22 commented 5 months ago

Hallo Herr Wieschollek,Nein, keine „Sonderlocken“. Bis gestern hat’s funktioniert. In Chrome tuts weiterhin. FF aufMAC OS tut auch nicht. Viele Grüße Martin Wetterau Am 02.02.2024 um 12:36 schrieb M. Wieschollek @.***>: What browser is this? Are you using any specific settings that could impact the extensions ability to use the IndexedDB browser functionality?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

marius-wieschollek commented 3 months ago

In the telegram channel, a user reported that the extension will not work if the "always browse in private mode" setting is enabled. This could also happen if the "create history" settings is set to never.

I have added a workaround to the nightly release that will just fall back to an in-memory database if it's unable to use the browser database feature. In that case you will now see the warning "Persistent database not available. Maybe always private browsing is enabled?" in the extension logs. And suggested passwords will not be as good as there is no recommendation data.

Maddiehn22 commented 3 months ago

Dear Mr. Wieschollek, i made a FireFox "factory reset" in the meantime and everythings is working fine since then. Thank you! Kind regards, Martin

---------- Forwarded message --------- Von: M. Wieschollek @.> Date: Mi., 27. März 2024 um 14:59 Uhr Subject: Re: [marius-wieschollek/passwords-webextension] [BUG]: Could not open database error (Issue #278) To: marius-wieschollek/passwords-webextension < @.> Cc: Maddiehn22 @.>, Author < @.>

In the telegram channel, a user reported that the extension will not work if the "always browse in private mode" setting is enabled. This could also happen if the "create history" settings is set to never.

I have added a workaround to the nightly release that will just fall back to an in-memory database if it's unable to use the browser database feature. In that case you will now see the warning "Persistent database not available. Maybe always private browsing is enabled?" in the extension logs. And suggested passwords will not be as good as there is no recommendation data.

— Reply to this email directly, view it on GitHub https://github.com/marius-wieschollek/passwords-webextension/issues/278#issuecomment-2022845734, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6XPA22EXRE7TMALUC6FX5TY2K7EXAVCNFSM6AAAAABCWMPTZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRSHA2DKNZTGQ . You are receiving this because you authored the thread.Message ID: @.***>