- Which browser, operating system and versions of those are you using?
Firefox 79.0, macOS 10.15.6
- What are the steps you took that lead to the bug?
Recently I wanted to access my database and noticed that it is stuck on loading. Last successful backup went through 5 days ago, currently it gets stuck on âPreparing uploadsâ and even cancelling gets stuck on âFinishing current batchâŚâ Also I donât see my phone in sync
Debugging the extension yields some information, the console is full of errors "UpgradeError Not yet support for changing primary key"
:
Uncaught (in promise)
_e: Error
columnNumber: 1183152
fileName: "moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js"
lineNumber: 1
stack: "Y@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1183152\nr@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1184712\nQt</e.prototype.create@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1218849\ne@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1196970\ne/<@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1197312\ndt/<@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1195302\nWe@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1189718\nXe@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1190202\n$e/<@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1190569\n"
<prototype>: Object { ⌠}
_stack: "OpenFailedError: UpgradeError Not yet support for changing primary key\nQt</e.prototype.create@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1218849\ne@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1196970\ne/<@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1197312\ndt/<@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1195302\nWe@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1189718\nXe@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1190202\n$e/<@moz-extension://911f7c5a-0426-8040-a89b-1a9d88cd1043/background.js:1:1190569\n"
inner: {âŚ}
_e: Error:
inner: null
message: "Not yet support for changing primary key"
name: "UpgradeError"
stack: ""
<prototype>: Object { stack: "", ⌠}
message: "UpgradeError Not yet support for changing primary key"
name: "OpenFailedError"
stack: ""
<prototype>: Object { stack: "", ⌠}
It looks like this error is probably related to Dexie.js which, I assume, is a backend you use for Storex. I havenât found this error in relation to Memex hence I report this bug (sorry if itâs a duplicate).
Also given the last time of successful backup, I suspect this issue appeared after upgrade to Firefox 79. In the release notes there is a mention of storage.sync
changes but I donât think it is related to this issue.