[SOLVED] Database not updated after extension update from 1.4.0 to 1.5.0

How to reproduce

Use my library/sqlite database :wink:
then update to 1.5.0
restart Firefox

That’s it. New pages, new notes, … – not being added to main database.

Interestingly, new notes are still shown on those pages – but in the Memex dashboard. New pages are not saved anymore, thus also not shown in Memx dashboard.

Questions?

Hey Martin,

that is odd, for me all works on Firefox. What does your console say when you open the dashboard, or visit a new page? You reach this by going to about:addons > settings icon > debug addons > inspect Memex > console. Leave this open while you open the dashboard and when you visit a page.

If that does not yield results we could jump on a video call so I can walk through some bughunting steps with you?

I too am seeing this issue. Here is my console output:

14:07:37.196 onmozfullscreenchange is deprecated. popup.js:1:1800174
14:07:37.196 onmozfullscreenerror is deprecated. popup.js:1:1800174
14:07:38.814 Error: Could not establish connection. Receiving end does not exist. 4 Browser.js:3:1949
14:07:38.966 onmozfullscreenchange is deprecated. options.js:1:1854347
14:07:38.966 onmozfullscreenerror is deprecated. options.js:1:1854347
14:07:39.423 Error: Could not establish connection. Receiving end does not exist. 2 Browser.js:3:1949
14:07:50.473 Error: Did not auto-fill. 8 background.js:19012:23
14:07:54.991 Unhandled rejection: create@moz-extension://85afe721-3e20-4fc8-b6c1-873e627f5ee1/background.js:1:1238994
o/<@moz-extension://85afe721-3e20-4fc8-b6c1-873e627f5ee1/background.js:1:1230229
at/<@moz-extension://85afe721-3e20-4fc8-b6c1-873e627f5ee1/background.js:1:1215830
Be@moz-extension://85afe721-3e20-4fc8-b6c1-873e627f5ee1/background.js:1:1211083
qe@moz-extension://85afe721-3e20-4fc8-b6c1-873e627f5ee1/background.js:1:1211567
ze@moz-extension://85afe721-3e20-4fc8-b6c1-873e627f5ee1/background.js:1:1211418
background.js:1:729705
14:07:54.992 uncaught exception: Object
14:08:02.649 Error: Could not establish connection. Receiving end does not exist. 2 Browser.js:3:1949
14:08:05.956 onmozfullscreenchange is deprecated. options.js:1:1854347
14:08:05.956 onmozfullscreenerror is deprecated. options.js:1:1854347
14:08:06.408 Error: Could not establish connection. Receiving end does not exist. 4 Browser.js:3:1949
14:09:50.279 unreachable code after return statement injected.js:7:2
14:09:50.398 Source map error: Error: NetworkError when attempting to fetch resource.
Resource URL: moz-extension://85afe721-3e20-4fc8-b6c1-873e627f5ee1/lib/browser-polyfill.js
Source Map URL: browser-polyfill.js.map
14:09:50.414 Error: Could not establish connection. Receiving end does not exist. 4 Browser.js:3:1949
14:09:50.459 Promise resolved after context unloaded
settings.js:32
14:09:50.555 Error: Could not establish connection. Receiving end does not exist. 3 Browser.js:3:1949

I also have this when I go to inspect the extension.

Screenshot%20from%202020-01-08%2014-12-50

hey folks!

We can reproduce the error and are working on a fix.

Sorry for the troubles.

2 Likes

We just rolled out a fix for this. Can you folks verify that everything works again?

2 Likes

Nope, fix doesn’t work for me.

@rubbs, for you?

@BlackForestBoi, what line of the console do you need?

Still having some issues.

13:12:31.199 Error: Could not establish connection. Receiving end does not exist. Browser.js:3:1949
13:12:32.572 Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. main.js:129
    onURLChange moz-extension://7858d97c-ecd8-4449-8b28-766adadda96a/background_scripts/main.js:129
13:12:32.589 Error: Could not establish connection. Receiving end does not exist. 9 Browser.js:3:1949
13:13:56.100 onmozfullscreenchange is deprecated. options.js:1:1854347
13:13:56.100 onmozfullscreenerror is deprecated. options.js:1:1854347
13:13:56.529 Error: Could not establish connection. Receiving end does not exist. 2 Browser.js:3:1949
13:14:08.626 Error: Did not auto-fill. background.js:19120:23
13:14:20.442 Error: Could not establish connection. Receiving end does not exist. 3 Browser.js:3:1949
13:14:22.188 Error: Did not auto-fill. 2 background.js:19120:23
13:14:26.754 Error: Message manager disconnected Browser.js:3:1949
13:14:30.327 Error: Could not establish connection. Receiving end does not exist. Browser.js:3:1949
13:14:31.833 Error: Did not auto-fill. 4 background.js:19120:23
13:14:35.785 Error: Message manager disconnected 4 Browser.js:3:1949
13:14:36.299 Error: Did not auto-fill. 22 background.js:19120:23
13:18:05.754 Error: Could not establish connection. Receiving end does not exist. 3 Browser.js:3:1949
13:18:19.327 Error: Did not auto-fill. 2 background.js:19120:23
13:18:35.591 Error: Could not establish connection. Receiving end does not exist. 2 Browser.js:3:1949

Screenshot%20from%202020-01-13%2013-13-36

We found the cause for that bug today and want to implement a sustainable solution tomorrow. If all goes well we can update the extension tomorrow and you’ll have a working Memex again. Sorry for the troubles.

I’ll keep you posted!

Ok folks, we released another update 1.5.2. Can you try again if things work?

oooh, it works for me!

@rubbs, for you, too?

1 Like

Sorry guys, had to be away from my computer for a few days.

I also can confirm this is fixed! Thank you!

1 Like

@rubbs

glad it works, but more so actually that you found a few days off, rare thing these days :heart_eyes:

Paid Parental Leave is a beautiful thing in many ways!

1 Like

Congrats to both the kid and the chance to be there for it :heart:

1 Like

do u use external database?how?
thanks

Memex uses the browser’s internal database “indexedDB”.
We are already working on putting Memex storage in an application that runs on your local device, outside of the browser.