Mailspring icon indicating copy to clipboard operation
Mailspring copied to clipboard

Add account successfully but not showing in the list ubuntu 18.10

Open wuyuanyi135 opened this issue 8 years ago • 52 comments

Hello, I am new to mailspring. I have two email account (gmail and office 365). Mailspring only displays the one I added in the starting up wizard. The account I added afterwards will not be in the account list, even though the dialog showed "successfully added the account".

I tried to uninstall mailspring and start with another email. The issue persists. The second account did not show up.

Are there any related issues?

Not found

What operating system are you using?
$ uname -a
Linux wuyuanyi-workstation 4.18.0-11-generic #12-Ubuntu SMP Tue Oct 23 19:22:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.10
Release:	18.10
Codename:	cosmic
What version of Mailspring are you using?

mailspring-1.5.3

Bug? Yes

Is this an email sync or connection issue?

No

Is the issue related to a specific email provider (Gmail, Exchange, etc.)?

It occurs to all providers

Is the issue reproducible with a particular attachment, message, signature, etc?

N/A

wuyuanyi135 avatar Nov 27 '18 16:11 wuyuanyi135

Hey! Thanks for reporting this - if you go to the Preferences > Accounts screen in Mailspring, do you see your second account? It sounds like Mailspring may not be able to connect to your mailbox and is still trying to fetch the list of folders. (Once it has the folders, the account will appear throughout the app.)

bengotow avatar Dec 19 '18 07:12 bengotow

@bengotow Hi. Thanks for your response. No, I tried all the versions I could get (apt, snap, release from gh, build from source) none of them have the second account.

I checked the log but it seems adding account was not recorded. Was this intended behavior?

21024 [2018-12-19 14:50:06.613] [main] [info] Identity created at 1543350298 - using ID Schema 1
21024 [2018-12-19 14:50:06.616] [main] [info] ------------- Starting Sync (***HIDDEN***) ---------------
21024 [2018-12-19 14:50:06.620] [metadata] [info] Metadata delta stream starting...
21024 [2018-12-19 14:50:06.620] [background] [info] Marking all folders as `busy`
21024 [2018-12-19 14:50:06.630] [background] [info] Syncing folder list...
21024 [2018-12-19 14:50:07.107] [background] [info] Syncing folder list...
21024 [2018-12-19 14:50:07.568] [foreground] [info] syncFolderUIDRange for INBOX, UIDs: 47039 - 47324, Heavy: false
21024 [2018-12-19 14:50:07.796] [foreground] [info] - remote=101, local=101
21024 [2018-12-19 14:50:07.821] [foreground] [info] Idling on folder INBOX
21024 [2018-12-19 14:50:08.180] [background] [info] Sync loop deleting unlinked messages with phase 2.
21024 [2018-12-19 14:50:08.186] [background] [info] Sync loop complete.
21024 [2018-12-19 14:50:21.619] [metadataExpiration] [info] Scanning for expired metadata
21024 [2018-12-19 14:50:21.619] [metadataExpiration] [info] -- Will wake for next expiration in 7200sec

wuyuanyi135 avatar Dec 19 '18 19:12 wuyuanyi135

@bengotow I did not go through the source code. Could you give me some idea which logging file should I look into or is there any file/db that holds the added account for me to check into?

wuyuanyi135 avatar Dec 19 '18 19:12 wuyuanyi135

In windows works perfectly, in Linux Mint 19 or 19.1 never works. I know that when I was using deepin these months I had managed to add a second account, using the same home folder in the second account is still accessible (only if i install in deepin appstore), but the third account is not going here in the mint.

JumperLuko avatar Jan 15 '19 18:01 JumperLuko

Is this issue reproducible? @bengotow

wuyuanyi135 avatar Jan 15 '19 20:01 wuyuanyi135

It's even worse for me on Linux Mint 18.3 and Mailspring 1.5.6 as you can add the first account but then when you click to add any others it launches a window but it doesn't actually render anything so you can't even start the flow of adding a second account

StevenMapes avatar Feb 22 '19 09:02 StevenMapes

I can confirm this bug on Ubuntu 19.04 with Mailspring 1.6.3. I can only ever setup one account. The second one gets forgotten immediately, no matter which account I add first, the second one never turns up anywhere.

frischnetz avatar Sep 05 '19 16:09 frischnetz

Has this ever been resolved? I was able to add 2 gmail accounts, but NOTHING else. Shows the "Adding account", then nada. Running Ubuntu 19.1 and latest version of mailspring.

rcozzolino avatar Feb 28 '20 15:02 rcozzolino

I have seven working on Kubuntu 18.04 with the snapd package so 1..7.4

StevenMapes avatar Feb 28 '20 15:02 StevenMapes

I have a feeling it is totally on my end regarding keys, but not 100% sure. Office365 hits, finds account, says its adding ... then nothing. Basic mail accounts set up manually do the same.

rcozzolino avatar Feb 28 '20 16:02 rcozzolino

I'm on Zorin OS 15.2 with version 1.7.4 installed from .deb download, and I have the same issue have added my first account, but any others I try to add say successfully setup but don't show in the main interface or the accounts section in settings.

lukewarlow avatar Feb 29 '20 16:02 lukewarlow

Just like @lukewarlow I'm on Zorin 15.2 (fresh install), tried .deb and snap and I was only able to add one account and for the others Mailspring says they were added successfully without showing them.

ghost avatar Mar 02 '20 02:03 ghost

Hi, On elementary OS Hera and issue the is same here.I couldn't add secondary account.

protopoloji avatar Mar 02 '20 08:03 protopoloji

Linux Mint 19.3
Mailspring 1.7.4 from snap package.. Same behavior using deb file

Having the same problem.. I tried to add an IMAP account.. once I click the connect account button.. the frame goes all white and hangs.. I figured out I could add a gmail account successfully .. and if I do that first, when I add my IMAP account, it continues and says it is added successfully. but the account never shows up anywhere.

I also discovered it will show 'account added' only if I do ssl/tls for outbound smtp (port 465).. If I do STARTTLS it spins and I never get the account added message..

I started mailspring in the terminal window and it is logging this -

mailspring Running database migrations App load time: 213ms

{"error":null} Manual update check (updates.getmailspring.com/check/linux/x64/1.7.4-d54ff730/f94f3510-4fb8-4fdf-a93e-e57c98f6039a/stable) returned 204 { TypeError: Cannot read property 'emailAddress' of undefined at _AccountStore.addAccount (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/flux/stores/account-store.ts:223:18) at OnboardingStore._onFinishAndAddAccount (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/internal_packages/onboarding/lib/onboarding-store.ts:129:20) at EventEmitter.eventHandler (/usr/share/mailspring/resources/app.asar/node_modules/reflux/src/PublisherMethods.js:36:22) at EventEmitter.emit (/usr/share/mailspring/resources/app.asar/node_modules/eventemitter3/index.js:72:35) at Function.trigger (/usr/share/mailspring/resources/app.asar/node_modules/reflux/src/PublisherMethods.js:52:26) at Object.functor [as finishAndAddAccount] (/usr/share/mailspring/resources/app.asar/node_modules/reflux/src/createAction.js:32:56) at onboarding_helpers_1.finalizeAndValidateAccount.then.validated (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/internal_packages/onboarding/lib/decorators/create-page-for-form.tsx:170:29)

mscroggi avatar Mar 02 '20 13:03 mscroggi

Quick workaround: I uninstalled Mailspring and removed any configuration files either from ~/.config or ~/.local. Then I downloaded a .deb containing the release 1.7.2 from here. I was able to add all my accounts without any problem and then upgraded to 1.7.4

ghost avatar Mar 03 '20 03:03 ghost

I did the same thing and all worked well. 1.74 is a terribly broken version.

Sent from Mailspring (https://link.getmailspring.com/link/[email protected]/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=cmVwbHkrQU9WV09XRkVJRUVHNjJDM0k3WUNWRzU0TkdYRDNFVkJOSEhCTjRGRElJQHJlcGx5LmdpdGh1Yi5jb20%3D), the best free email app for work On Mar 2 2020, at 10:21 pm, Fabricio [email protected] wrote:

Quick workaround: I uninstalled Mailspring and removed any configuration files either from ~/.config or ~/.local. Then I downloaded a .deb containing the release 1.7.2 from here (https://link.getmailspring.com/link/[email protected]/1?redirect=https%3A%2F%2Fgithub.com%2FFoundry376%2FMailspring%2Freleases&recipient=cmVwbHkrQU9WV09XRkVJRUVHNjJDM0k3WUNWRzU0TkdYRDNFVkJOSEhCTjRGRElJQHJlcGx5LmdpdGh1Yi5jb20%3D). I was able to add all my accounts without any problem and then upgraded to 1.7.4

— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/[email protected]/2?redirect=https%3A%2F%2Fgithub.com%2FFoundry376%2FMailspring%2Fissues%2F1248%3Femail_source%3Dnotifications%26email_token%3DAOVWOWDBWRHD7PKQKD3ZJPTRFRZT3A5CNFSM4GGXIXE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENR5YDA%23issuecomment-593746956&recipient=cmVwbHkrQU9WV09XRkVJRUVHNjJDM0k3WUNWRzU0TkdYRDNFVkJOSEhCTjRGRElJQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/[email protected]/3?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOVWOWBQ5HNF72ZPMZTBMRLRFRZT3ANCNFSM4GGXIXEQ&recipient=cmVwbHkrQU9WV09XRkVJRUVHNjJDM0k3WUNWRzU0TkdYRDNFVkJOSEhCTjRGRElJQHJlcGx5LmdpdGh1Yi5jb20%3D).

rcozzolino avatar Mar 03 '20 03:03 rcozzolino

Doesn't work on Ubuntu 18.04 - 1.7.4

saravanabalagi avatar Mar 03 '20 18:03 saravanabalagi

Linux Mint 19.3 Mailspring 1.7.4 from snap package.. Same behavior using deb file

Having the same problem.. I tried to add an IMAP account.. once I click the connect account button.. the frame goes all white and hangs.. I figured out I could add a gmail account successfully .. and if I do that first, when I add my IMAP account, it continues and says it is added successfully. but the account never shows up anywhere.

Exactly the same thing happens to me. However, installing 1.7.2 as described above works.

sofritto avatar Mar 06 '20 13:03 sofritto

Has anyone tried to upgrade after accounts are set? I am officially afraid to, but curious.

Sent from Mailspring (https://link.getmailspring.com/link/[email protected]/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=cmVwbHkrQU9WV09XQzRCTTNaSFlFRkpDTVY3VjU0TlkzNVhFVkJOSEhCTjRGRElJQHJlcGx5LmdpdGh1Yi5jb20%3D), the best free email app for work On Mar 6 2020, at 8:57 am, Petter [email protected] wrote:

Linux Mint 19.3 Mailspring 1.7.4 from snap package.. Same behavior using deb file

Having the same problem.. I tried to add an IMAP account.. once I click the connect account button.. the frame goes all white and hangs.. I figured out I could add a gmail account successfully .. and if I do that first, when I add my IMAP account, it continues and says it is added successfully. but the account never shows up anywhere. Exactly the same thing happens to me. However, installing 1.7.2 as described above works.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/[email protected]/1?redirect=https%3A%2F%2Fgithub.com%2FFoundry376%2FMailspring%2Fissues%2F1248%3Femail_source%3Dnotifications%26email_token%3DAOVWOWD4DK7CRRWMBOLDXMDRGD6NXA5CNFSM4GGXIXE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOBN3EI%23issuecomment-595778961&recipient=cmVwbHkrQU9WV09XQzRCTTNaSFlFRkpDTVY3VjU0TlkzNVhFVkJOSEhCTjRGRElJQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/[email protected]/2?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOVWOWD3VEE6MPBN2XIIML3RGD6NXANCNFSM4GGXIXEQ&recipient=cmVwbHkrQU9WV09XQzRCTTNaSFlFRkpDTVY3VjU0TlkzNVhFVkJOSEhCTjRGRElJQHJlcGx5LmdpdGh1Yi5jb20%3D).

rcozzolino avatar Mar 06 '20 14:03 rcozzolino

I had the problem on Mint and Kubuntu but I fixed the kubuntu version by removing the apt version and installing the snapd package and since then it's been working fine with multiple accounts whilst staying up to date

StevenMapes avatar Mar 06 '20 14:03 StevenMapes