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

Error: App version outdated #588

Closed
Nickwasused opened this issue Feb 28, 2023 · 59 comments
Closed

Error: App version outdated #588

Nickwasused opened this issue Feb 28, 2023 · 59 comments

Comments

@Nickwasused
Copy link

Nickwasused commented Feb 28, 2023

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
Copy link

jleonar commented Feb 28, 2023

Same issue for me on ElectronMail v5.1.3

@distrair
Copy link

Same issue, same version

@PegHorse
Copy link

Same issue, same version, Windows.

@mh4ckt3mh4ckt1c4s
Copy link

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

@FalxDraco
Copy link

Same issue. Windows 10, v5.1.3.

@imjustleaving
Copy link

imjustleaving commented Feb 28, 2023

same issue/version - Fedora 37 flatpak install

@Thouareg
Copy link

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

@BobWs
Copy link

BobWs commented Feb 28, 2023

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

@a-lameira
Copy link

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

@jfalava
Copy link

jfalava commented Feb 28, 2023

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

@BaronvonLederhosen
Copy link

Same here on Ubuntu 22.10

@serovar
Copy link

serovar commented Feb 28, 2023

Same on macOS 13.2.1

@k3n51mm
Copy link

k3n51mm commented Feb 28, 2023

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

@ghost
Copy link

ghost commented Feb 28, 2023

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

@YoungIndiana
Copy link

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

@ask2018
Copy link

ask2018 commented Feb 28, 2023

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

@t3dium
Copy link

t3dium commented Feb 28, 2023

same, fedora - flatpak

@veprk130
Copy link

veprk130 commented Feb 28, 2023 via email

@GoldenGlimpse
Copy link

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

@trymeouteh
Copy link

same, linux mint 21.1 flatpak

@gucio321

This comment was marked as off-topic.

@vladimiry
Copy link
Owner

vladimiry commented Feb 28, 2023

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 vladimiry pinned this issue Feb 28, 2023
@vladimiry
Copy link
Owner

vladimiry commented Feb 28, 2023

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
Copy link
Owner

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
Copy link

ask2018 commented Feb 28, 2023

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
Copy link
Owner

vladimiry commented Feb 28, 2023

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

Can you point me to the related info?

@ask2018
Copy link

ask2018 commented Feb 28, 2023

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
vxiiduu/VxKex#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
Copy link
Owner

@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.

@benbois
Copy link

benbois commented Mar 1, 2023

Thanks @vladimiry, issue fixed on last Ubuntu!

@PegHorse
Copy link

PegHorse commented Mar 1, 2023

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

@fosko
Copy link

fosko commented Mar 1, 2023

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
Copy link
Owner

@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
Copy link

PegHorse commented Mar 1, 2023

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
Copy link

fosko commented Mar 1, 2023

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

@fosko
Copy link

fosko commented Mar 1, 2023

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

@jleonar
Copy link

jleonar commented Mar 1, 2023

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

@PegHorse
Copy link

PegHorse commented Mar 1, 2023

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

@PegHorse
Copy link

PegHorse commented Mar 1, 2023

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

@vladimiry
Copy link
Owner

vladimiry commented Mar 1, 2023

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
Copy link

fosko commented Mar 1, 2023

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
Copy link
Owner

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
Copy link

fosko commented Mar 1, 2023

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
Copy link

ask2018 commented Mar 1, 2023

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

@ghost
Copy link

ghost commented Mar 1, 2023

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.

@PegHorse
Copy link

PegHorse commented Mar 1, 2023

Yes i use Chocolatey and i programmed a task in my task scheduler so each time i boot my computer, Chocolatey check my packages and update them.
This is a nice way when your software doesn't include self autoupdate.
I'm doing that for most useful app like 7-Zip, WinRAR, Electronmail etc...

@vladimiry
Copy link
Owner

@gene-fls, there are Choco/Winget/Scoop repositories (I maintain Choco repo, but not the Winget/Scoop). The app was able to update itself before, but I cut that feature out after it started demonstrating some issues and I didn't get it back since then, and not planing to. The only thing the app does regarding updating is checking new version and showing related message (opt-out feature, see the respective toggle in the "General" settings section).

@rauldipeas
Copy link

I'm still getting some errors and no tray icon.
Screenshot_20230301_142427
Screenshot_20230301_142457

@vladimiry
Copy link
Owner

vladimiry commented Mar 1, 2023

@rauldipeas this should be placed as a separate issue. Looks like an issue caused with pureimage dependency update (used for tray icon rendering).

@perfectpassage
Copy link

perfectpassage commented Apr 4, 2023

I'm getting the same issue on 5.1.6, Debian 11.
The problem started when the app was giving a notification that it was out of date (5.1.6). I re-installed the latest. The notification is gone, but the error persists.
Deleting the config folder and starting from scratch with new configs didn't seem to fix it.

Any other solutions?

@PegHorse
Copy link

PegHorse commented Apr 4, 2023

Same error on Windows since today... version 5.1.6
image

@PegHorse
Copy link

PegHorse commented Apr 5, 2023

On Windows it's fixed since 5.1.7

@Zan1456
Copy link

Zan1456 commented Nov 16, 2023

image
Again broken

@vladimiry
Copy link
Owner

Again broken

See pinned issue ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests