Skip to content
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

autoupdater failing on linux #63

Closed
jackheuberger opened this issue Nov 30, 2021 · 12 comments
Closed

autoupdater failing on linux #63

jackheuberger opened this issue Nov 30, 2021 · 12 comments
Labels
awaiting release This has already been dealt with but is not yet available

Comments

@jackheuberger
Copy link

jackheuberger commented Nov 30, 2021

Tried installing the regular and enhanced versions via the AUR. Getting the following console output upon running notion-app:

(electron) Sending uncompressed crash reports is deprecated and will be removed in a future version of Electron. Set { compress: true } to opt-in to the new behavior. Crash reports will be uploaded gzipped, which most crash reporting servers support.
19:31:20.279 › Checking for update
19:31:20.701 › {
  level: 'info',
  from: 'AssetCache',
  type: 'latestVersionPath',
  data: {
    message: 'latestVersion.json path /home/jackh/.config/notion-app/notionAssetCache-v2/latestVersion.json'
  }
}
19:31:20.705 › {
  level: 'info',
  from: 'AssetCache',
  type: 'errorReadingPath',
  error: {
    name: 'Error',
    message: "ENOENT: no such file or directory, open '/home/jackh/.config/notion-app/notionAssetCache-v2/latestVersion.json'",
    stack: "Error: ENOENT: no such file or directory, open '/home/jackh/.config/notion-app/notionAssetCache-v2/latestVersion.json'"
  },
  data: {
    message: 'Error reading /home/jackh/.config/notion-app/notionAssetCache-v2/latestVersion.json'
  }
}
19:31:20.705 › {
  level: 'info',
  from: 'AssetCache',
  type: 'currentVersionLoaded',
  data: {}
}
19:31:20.706 › {
  level: 'info',
  from: 'AssetCache',
  type: 'syncVersionEmptyLatestVersion'
}
19:31:20.706 › {
  level: 'info',
  from: 'AssetCache',
  type: 'currentSyncedAssetsJson',
  data: {}
}
(node:9982) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
(node:9982) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
19:31:20.774 › Error: TypeError: Cannot read property 'provider' of undefined
    at createClient (/opt/Notion/resources/app.asar/node_modules/electron-updater/out/providerFactory.js:69:25)
    at /opt/Notion/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:479:99
    at async AppImageUpdater.getUpdateInfoAndProvider (/opt/Notion/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:482:20)
    at async AppImageUpdater.doCheckForUpdates (/opt/Notion/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:503:20)
    at async pollForElectronUpdates (/opt/Notion/resources/app.asar/main/autoUpdater.js:147:17)
19:31:20.775 › {
  level: 'error',
  from: 'autoUpdater',
  type: 'unknownAutoUpdaterError',
  error: {
    name: 'TypeError',
    message: "Cannot read property 'provider' of undefined",
    stack: "TypeError: Cannot read property 'provider' of undefined\n" +
      '    at createClient (/opt/Notion/resources/app.asar/node_modules/electron-updater/out/providerFactory.js:69:25)\n' +
      '    at /opt/Notion/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:479:99\n' +
      '    at async AppImageUpdater.getUpdateInfoAndProvider (/opt/Notion/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:482:20)\n' +
      '    at async AppImageUpdater.doCheckForUpdates (/opt/Notion/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:503:20)\n' +
      '    at async pollForElectronUpdates (/opt/Notion/resources/app.asar/main/autoUpdater.js:147:17)'
  }
}
19:31:20.843 › Websocket listening on 43521...
19:31:20.846 › Set up server listeners with auth (a16878de9fa15dc8cf6716544f23aa0ddb00602a)...```
@illuz
Copy link

illuz commented Nov 30, 2021

I have the same problem in Arch.

@luke-wriglesworth
Copy link

Also having the problem

@ZloyPirozhok
Copy link

I also don't start the system after updating.

@zJairO
Copy link

zJairO commented Nov 30, 2021

Same problem here..

@zJairO
Copy link

zJairO commented Nov 30, 2021

Think is a problem with contextIsolation on Electron

@dragonwocky
Copy link
Member

@zJairO it's an autoupdater problem, it will be solved once the enhancer updates to the latest notion version.

@JRDetwiler
Copy link

A reminder for anyone else like me that needs it: Notion has a web client too. https://www.notion.so/

@raquel-dantas
Copy link

Any news?

@dragonwocky dragonwocky changed the title App loads forever on Arch autoupdater failing Dec 4, 2021
@dragonwocky dragonwocky changed the title autoupdater failing autoupdater failing on linux Dec 4, 2021
@LucStr
Copy link

LucStr commented Dec 7, 2021

Would be nice to get an update on this :)

@dragonwocky
Copy link
Member

dragonwocky commented Dec 7, 2021

the news is that I'm working on it, be patient. the fix for this will be released at the same time as the fix for the 100+ other bugs is released.

@jamezrin jamezrin added the awaiting release This has already been dealt with but is not yet available label Dec 12, 2021
@LaurentOngaro
Copy link

LaurentOngaro commented Dec 13, 2021

A good work arround is to create a web app using webapp-manager
juste create a new app pointing to www.notion.so.
Log in and it's done !

Note that this app can already be installed in your Linux system by default. From what I know, that's the case on Manjaro and Garuda gnome systems

@farzadmf
Copy link

I used nativefier to create an app, but I find that the experience with this app (when it works of course) is a bit better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting release This has already been dealt with but is not yet available
Projects
None yet
Development

No branches or pull requests