vladimiry / ElectronMail

Unofficial ProtonMail Desktop App
GNU General Public License v3.0
1.51k stars 99 forks source link

Error: App version outdated #588

Closed Nickwasused closed 1 year ago

Nickwasused commented 1 year ago

Info

Version: Electronmail v5.1.3 OS: Windows 10

I am getting the following error since today:

ElectronMail_ikEHKAqVab

Log

[2023-02-28 12:51:12.359] [error] src\electron-main\web-contents.ts {"level":3,"message":"Uncaught (in promise) AppVersionBadError: App version outdated","line":32831,"sourceId":"webclient://mail.proton.me/index.0ea7be75.js"}
[2023-02-28 12:51:12.360] [error] src\web\browser-window\app\_accounts\account-view.component.ts AccountViewComponent webview event {"type":"console-message","level":3,"message":"Uncaught (in promise) AppVersionBadError: App version outdated","line":32831,"sourceId":"webclient://mail.proton.me/index.0ea7be75.js"}
[2023-02-28 12:51:12.362] [error] src\electron-main\web-contents.ts {"level":3,"message":"Uncaught (in promise) AppVersionBadError: App version outdated","line":32831,"sourceId":"webclient://mail.proton.me/index.0ea7be75.js"}
[2023-02-28 12:51:12.362] [error] src\electron-main\web-contents.ts {"level":3,"message":"Uncaught (in promise) AppVersionBadError: App version outdated","line":32831,"sourceId":"webclient://mail.proton.me/index.0ea7be75.js"}
[2023-02-28 12:51:12.363] [error] src\web\browser-window\app\_accounts\account-view.component.ts AccountViewComponent webview event {"type":"console-message","level":3,"message":"Uncaught (in promise) AppVersionBadError: App version outdated","line":32831,"sourceId":"webclient://mail.proton.me/index.0ea7be75.js"}
[2023-02-28 12:51:12.363] [error] src\web\browser-window\app\_accounts\account-view.component.ts AccountViewComponent webview event {"type":"console-message","level":3,"message":"Uncaught (in promise) AppVersionBadError: App version outdated","line":32831,"sourceId":"webclient://mail.proton.me/index.0ea7be75.js"}
jleonar commented 1 year ago

Same issue for me on ElectronMail v5.1.3

distrair commented 1 year ago

Same issue, same version

PegHorse commented 1 year ago

Same issue, same version, Windows.

mh4ckt3mh4ckt1c4s commented 1 year ago

Same issue, same version, installed on Arch with the AUR package.

FalxDraco commented 1 year ago

Same issue. Windows 10, v5.1.3.

imjustleaving commented 1 year ago

same issue/version - Fedora 37 flatpak install

Thouareg commented 1 year ago

Same, Electronmail v5.1.3 Linux Debian Sid, deb version.

BobWs commented 1 year ago

same problem! This morning everything was working fine, but now I'm having the same problem as described above

a-lameira commented 1 year ago

Same problem, Electronmail v5.1.2 Linux Debian Sid, Flatpak version.

jfalava commented 1 year ago

Got the same error message, Microsoft Windows 11 Pro, 10.0.22621 N/D Comp 22621 Electronmail 5.1.3

BaronvonLederhosen commented 1 year ago

Same here on Ubuntu 22.10

serovar commented 1 year ago

Same on macOS 13.2.1

k3n51mm commented 1 year ago

I'll report another Windows installation with the same problem. Note: it also happened in v5.1.2.

ghost commented 1 year ago

Same issue for me, Zorin OS 16.2. ElectronMail 5.1.2, Flatpak version.

YoungIndiana commented 1 year ago

Same issue.. Microsoft Windows 11 Pro build 22623.1325 Electronmail 5.1.3

ask2018 commented 1 year ago

Same problem here on Windows 7 x64 SP1 with latest ESU Electronmail 5.1.3

t3dium commented 1 year ago

same, fedora - flatpak

veprk130 commented 1 year ago

Does anyone know what happened?

Regards, Ruben H. Padilla Jr. 480.217.1007

------- Original Message ------- On Tuesday, February 28th, 2023 at 10:20, Faraz Ahary @.***> wrote:

same

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

GoldenGlimpse commented 1 year ago

same here. 5.1.3-linux-amd64.deb on linux mint 20.3

trymeouteh commented 1 year ago

same, linux mint 21.1 flatpak

gucio321 commented 1 year ago

Hi everyone! Could you not write-to-write? Everyone already knows about the issue so you don't need to confirm it. You can always express your confirmation by reacting on the Description post, since it does not generate an email notification to everyone subscribed. Thanks!

vladimiry commented 1 year ago

Confirmed. Have not yet looked into it, but clearly the packaged into the app web clients stack needs to be updated. So new app release expected to happen.

vladimiry commented 1 year ago

Does anyone know what happened?

They/proton made breaking changes somewhere at their stack. So the packaged into the app web clients stack got outdated, ie got incompatible with Proton's backend. Proton have already made such kind of breaking changes before, but generally it's a rare case. The fix is releasing new app version with updated web clients stack.

vladimiry commented 1 year ago

If the web clients stack updating procedure goes as usual, without surprises, then I should be able to publish a new version in a day or so.

ask2018 commented 1 year ago

vladimiry. Great and please consider recent electron/chromium updates breaking Win7 and Win8/8.1 support. So please provide binaries also with older electron/chromium on the fixed version.

vladimiry commented 1 year ago

recent electron/chromium updates breaking Win7 and Win8/8.1 support

Can you point me to the related info?

ask2018 commented 1 year ago

https://github.com/electron/electron/releases/tag/v23.0.0 Release Notes for v23.0.0 Windows 7, Windows 8, and Windows 8.1 are not supported anymore, as Chromium 110 dropped support. #

edit: this might be solution for the future, but for now it doesn't work yet https://github.com/vxiiduu/VxKex/issues/43 more info about attempts to fix that on Win7/8 etc you can find here: https://msfn.org/board/topic/184046-future-of-chrome-on-windows-7/

vladimiry commented 1 year ago

@ask2018, I think I might maintain it on a separate branch and update the latest release with a one more Windows build when it's ready. But supporting outdated @electron versions here will have to end at some point.

ask2018 commented 1 year ago

@vladimiry Great and thank you. Yeah I know it must end at some point, but hopefully there will be solution to run updated electron soon on those systems and using outdated one will be not needed anymore.

OmrShlby commented 1 year ago

Same issue for me on ElectronMail v5.1.3 linux, pop os

vladimiry commented 1 year ago

I'm already running updated app locally, so new release coming soon.

pongsoft commented 1 year ago

According to comments, it looks like something in the authentication mechanism has changed on Protonmail side. Nothing is wrong with ElectronMail. An ElectronMail update should fix this issue once released.

veprk130 commented 1 year ago

Thank you!!

Regards,

Ruben H Padilla Jr

On Tue, Feb 28, 2023 at 17:20, Vladimir Yakovlev @.***> wrote:

I'm already running updated app locally, so new release coming soon.

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

vladimiry commented 1 year ago

v5.1.4 got released.

benbois commented 1 year ago

Thanks @vladimiry, issue fixed on last Ubuntu!

PegHorse commented 1 year ago

Thanks @vladimiry it's working now perfectly, on Windows 10 :)

fosko commented 1 year ago

Hi there, thanks @vladimiry for solving the issue that quick. I've installed v5.1.4 but it seems like a new fresh installation: none of my accounts is there. Even v5.1.3 is still here. Is that normal or is it me? I hoped to open electronmail and find my accounts with their email messages: i.e: an update/upgrade not to start afresh.

vladimiry commented 1 year ago

@fosko this is certainly not normal, but I can't say anything specific not knowing the context. The app doesn't remove its config files. What is the way you installed the app?

PegHorse commented 1 year ago

I know only one reason for this issue, if you didn't install the software as the first time, then the settings will be different. For example if the first time, you chosen to install in System wide and the 2nd time, you chosen user share accounts, the installation will be different. But in order to prevent ça, the setup should detect the previous installation and repeating the same process when updating.

I was specifically carefull when i have updated and i have updated without uninstalling previous version so everythings is fine, i've lost nothing. But indeed the setup didn't detect the previous installation.

fosko commented 1 year ago

I downloaded electron-mail-5.1.4-linux-amd64.deb and installed it with Software Install on my Ubuntu 22.04.2 LTS

fosko commented 1 year ago

Could it be I had the SNAP version installed? (sorry if I ask nonsense)

jleonar commented 1 year ago

I can confirm that I have it installed via snap. The update works just fine for me.

PegHorse commented 1 year ago

I don't know what is the SNAP version but yes of course, it makes sense as it's different installation process ^^

PegHorse commented 1 year ago

Well @fosko i guess you won the right to make another issue for your case 🤣

vladimiry commented 1 year ago

the setup should detect the previous installation and repeating the same process when updating.

I'm not going to spend time on such kind of improvement.

For example if the first time, you chosen to install in System wide and the 2nd time, you chosen user share accounts, the installation will be different.

You should be able to find an existing configs files somewhere in your folders and copy/move them to the actual config folder used by a current app installation.

@fosko, let's not spam a similar message in this issue. First try to locate the previously used config files and then copy/move them where required depending on the installation type. I'm repeating that the app doesn't remove the config files. If you keep spamming in this issue, you will be banned. So at least create a new issue.

Could it be I had the SNAP version installed? (sorry if I ask nonsense)

I don't remember where Snap package keeps the config files, but for example, flatpak keeps it in /home/<user>/.var/app/com.github.vladimiry.ElectronMail/config/electron-mail/ which is different to a regular location /home/<user>/.config/electron-mail/ (used by Deb/Pacman/etc packages).

fosko commented 1 year ago

Beg you pardon if I did something forbidden. Glad to tell you I've reopened Eletronmail v5.1.4 and it works just like it did on monday. Kinda magic. Thank you all.

vladimiry commented 1 year ago

Great and please consider recent electron/chromium updates breaking Win7 and Win8/8.1 support. So please provide binaries also with older electron/chromium on the fixed version.

I might maintain it on a separate branch and update the latest release with a one more Windows build when it's ready

@ask2018, the electron-mail-5.1.4-windows78-x64-nsis-installer.exe installation package has been attached to the v5.1.4 release.

fosko commented 1 year ago

Thank you all, especially @vladimiry for being so quick in solving the issue and so kind in helping noobs like me. I assume my Ubuntu fooled me when it said "failed to install snap" as it had already installed the v5.1.4.snap over the old v5.1.3 as usual. I've removed the .deb installation via package manager. Everything works fine unless the pink error message when opening Electronmail (Imma post it in a new issue).

ask2018 commented 1 year ago

@vladimiry Thank you very much. Everything is now working fine with electron-mail-5.1.4-windows78-x64-nsis-installer.exe on Win7.

ghost commented 1 year ago

Is there a way to update ElectronMail from within the app? I have it deployed large scale and updating each machine via .exe would be time consuming.