Tab-Session-Manager
Tab-Session-Manager copied to clipboard
Autosave stopped working
Short description
The autosave functionality stopped working without any apparent errors.
Steps to reproduce
Install add-on. Enable autosave and set schedule+retention, or set window close/browser exit saves.
Expected result
Sessions saved as configured.
Actual result
Autosaves visible up to about two weeks ago. No new saves are created, either scheduled of window event triggered. Manual saves work as expected.
Platform information
- Platform (OS): Windos 10
- Version of browser: Firefox 100.0 64 bit
- Version of Tab Session Manager: 6.12.0
Additional context
No errors visible during usage.
Enabling debugging, I caught these as possibly related error messages:
[error] background/sessions: getAll()
error { target: IDBRequest, isTrusted: true, srcElement: IDBRequest, currentTarget: IDBRequest, eventPhase: 2, bubbles: true, cancelable: true, returnValue: true, defaultPrevented: false, composed: false, … }
background.js:2:60700
[error] background/autoSave: updateTemp() TypeError: n is undefined
ve moz-extension://fa9cc7a0-c24b-4ac9-8475-27f6ca812964/background/background.js:2
et moz-extension://fa9cc7a0-c24b-4ac9-8475-27f6ca812964/background/background.js:2
nt moz-extension://fa9cc7a0-c24b-4ac9-8475-27f6ca812964/background/background.js:2
rt moz-extension://fa9cc7a0-c24b-4ac9-8475-27f6ca812964/background/background.js:2
background.js:2:60700
[error] background/sessions: getAll()
error { target: IDBRequest, isTrusted: true, srcElement: IDBRequest, currentTarget: IDBRequest, eventPhase: 2, bubbles: true, cancelable: true, returnValue: true, defaultPrevented: false, composed: false, … }
bubbles: true
cancelBubble: false
cancelable: true
composed: false
currentTarget: null
defaultPrevented: false
eventPhase: 0
explicitOriginalTarget: IDBRequest { error: DOMException, source: IDBObjectStore, readyState: "done", … }
error: DOMException: The operation failed for reasons unrelated to the database itself and not covered by any other error code.
onerror: function onerror(e)
onsuccess: function onsuccess(a)
readyState: "done"
source: IDBObjectStore { name: "sessions", keyPath: "id", autoIncrement: false, … }
transaction: IDBTransaction { mode: "readonly", db: IDBDatabase, error: DOMException, … }
The last one has several layers in depth. I have not copied it all here.
Perhaps the IndexedDB is corrupted. You need to fix the corruption. https://github.com/sienori/Tab-Session-Manager/wiki/IndexedDB-Error
You were quick to mark it as invalid.
- There are no indexdb errors or warnings.
- Firefox's session db works fine without errors.
- Manual saves still work with TSM.
- All manual sessions, and the automated sessions saved before it stopped working work fine.
- None of the sqlite files are corrupted.
Plus, from the debug output that I sent a few months ago:
error: DOMException: The operation failed for reasons unrelated to the database itself and not covered by any other error code.
Please export all sessions and settings, then try deleting all sessions and reinstalling extensions. Does auto save work after reinstallation?
I've actually done those shortly after my previous comments. It created a single regular auto-save, then stopped again.